Example app that use ffmpeg library to play video.
- Installed Android NDK,
- Builded project https://github.com/HausnerR/ffmpeg-android-build.
- Make sure paths to SDK and NDK in local.properties are valid,
- Make sure paths to pre-builded ffmpeg in Android.mk are valid,
- Push test.mp4 to your phone internal storage root folder,
- Build and run app.
Remember that supported formats depends on ffmpeg compile params. If you compile this example with not modified ffmpeg-android-build script, you only get support for playing local mp4 files.
This example by default use h264_mediacodec ffmpeg decoder. If it failed to initialize, you got error (no fallback written).
All errors are outputted to logcat. No popups or something. It's just example app.