I'm planning to make a video-based splash screen for the simple game app for Android under client's cigarette brand project. I was thinking if can this video file type, AVI, run on Android or not? Please suggest me.
1 Answer
\$\begingroup\$
\$\endgroup\$
2
If you just want to use the built in Media Player in Android, you can't play AVI files. See the list of all supported formats.
If for some reason you can't convert the video to any of the supported formats, you will have to implement your own media player which has codecs etc. You can take a look at FFmpeg. It is possible to compile for Android.
-
\$\begingroup\$ How does FFmpeg works? \$\endgroup\$ Commented Jun 4, 2013 at 5:18
-
\$\begingroup\$ Just google for some samples, first link on google when looking for
ffmpeg android example
: github.com/churnlabs/android-ffmpeg-sample \$\endgroup\$ Commented Jun 4, 2013 at 5:25