No description
Find a file
Oliver Woodman b8e7e1077e Fix bad pixel w:h ratio calculation in H262 reader.
It appears the spec calculation gives the h:w pixel ratio, where-as
we want w:h. It's pretty easy to convince oneself that this way round
is correct. Consider a video that's 100px by 100px, and setting
aspectRatioCode=3 to achieve this. The pixelWidthHeightRatio needs to
be 16/9 and not 9/16 :).

Issue: #965
2015-11-25 16:42:12 +00:00
demo Don't re-buffer when AudioTrack underruns occur. 2015-11-17 16:27:53 +00:00
demo_misc Bump version to 1.5.2 2015-10-27 20:15:37 +00:00
extensions Clean up AudioTrack. 2015-11-17 16:29:42 +00:00
gradle/wrapper Include gradle plugin 1.0.0 2014-12-22 10:34:46 +08:00
library Fix bad pixel w:h ratio calculation in H262 reader. 2015-11-25 16:42:12 +00:00
playbacktests Don't re-buffer when AudioTrack underruns occur. 2015-11-17 16:27:53 +00:00
third_party Push tests. 2015-03-06 16:39:00 +00:00
.gitignore Update .gitignore to ignore VP9/Opus specific files. 2015-02-02 14:43:55 -08:00
build.gradle Bump bintray release version. 2015-10-12 17:58:01 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2015-02-18 23:42:42 +00:00
gradle.properties Initial drop. 1.0.10. 2014-06-16 12:56:04 +01:00
gradlew Initial drop. 1.0.10. 2014-06-16 12:56:04 +01:00
gradlew.bat Cleanup following #884 2015-10-27 21:03:16 +00:00
LICENSE Initial drop. 1.0.10. 2014-06-16 12:56:04 +01:00
README.md Update README 2015-05-22 20:47:49 +01:00
RELEASENOTES.md Update release notes. 2015-11-17 16:35:17 +00:00
settings.gradle Package restructuring 2015-09-29 21:51:45 +01:00

ExoPlayer Readme

Description

ExoPlayer is an application level media player for Android. It provides an alternative to Androids MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports features not currently supported by Androids MediaPlayer API, including DASH and SmoothStreaming adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can be updated through Play Store application updates.

News

Read news, hints and tips on the news page.

Documentation

Project branches

  • The master branch holds the most recent minor release.
  • Most development work happens on the dev branch.
  • Additional development branches may be established for major features.

Using Eclipse

The repository includes Eclipse projects for both the ExoPlayer library and its accompanying demo application. To get started:

  1. Install Eclipse and setup the Android SDK.

  2. Open Eclipse and navigate to File->Import->General->Existing Projects into Workspace.

  3. Select the root directory of the repository.

  4. Import the ExoPlayerDemo and ExoPlayerLib projects.

Using Gradle

ExoPlayer can also be built using Gradle. You can include it as a dependent project and build from source:

// settings.gradle
include ':app', ':..:ExoPlayer:library'

// app/build.gradle
dependencies {
    compile project(':..:ExoPlayer:library')
}

If you want to use ExoPlayer as a jar, run:

./gradlew jarRelease

and copy library.jar to the libs-folder of your new project.

The project is also available on jCenter:

compile 'com.google.android.exoplayer:exoplayer:rX.X.X'

Where rX.X.X should be replaced with the desired version.