We convert videos using ffmpeg to downsize mp4 videos. The result is a h264 encoded video that can be played on the iPhone, in Quicktime and other media players but the Android. If i simply convert the source video file via Quicktime the video can be played but i can't see any reasons why the video converted via ffmpeg is not playing on android devices.
To show the videos i use the standard media player library from android (android.media.MediaPlayer) which works mostly fine but not here. As the converted video works on other (non-android) devices i assume that this is an Android/Java problem. Does anyone know what settings I have to use or what i have to change to make it work with android handsets? The converted video got the following media information : Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 11.2 MiB Duration : 2mn 33s Overall bit rate : 611 Kbps Encoded date : UTC 1970-01-01 00:00:00 Tagged date : UTC 1970-01-01 00:00:00 Writing application : Lavf52.34.1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : [email protected] Format settings, CABAC : No Format settings, ReFrames : 5 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 2mn 33s Bit rate mode : Variable Bit rate : 511 Kbps Width : 320 pixels Height : 240 pixels Display aspect ratio : 1.422 Original display aspect ratio : 1.423 Frame rate mode : Constant Frame rate : 25.000 fps Resolution : 24 bits Colorimetry : 4:2:0 Scan type : Progressive Bits/(Pixel*Frame) : 0.266 Stream size : 9.35 MiB (84%) Language : English Encoded date : UTC 1970-01-01 00:00:00 Tagged date : UTC 1970-01-01 00:00:00 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format version : Version 4 Format profile : LC Format settings, SBR : No Codec ID : 40 Duration : 2mn 33s Bit rate mode : Variable Bit rate : 96.0 Kbps Channel(s) : 2 channels Channel positions : L R Sampling rate : 44.1 KHz Resolution : 16 bits Stream size : 1.75 MiB (16%) Language : English ----------- Please let me know if more information are needed. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

