MPEG 4 is a family of encoding methods, of which H.264 is a video subset, also with a family of encoding methods. The first thing you need to do is determine what profile and level your second multimedia file contains. They you should find out what profile and level can be played by the H.264 codec. You will find your problem there. You certainly exceed the level that can be handled by the codec, and likely you exceed the encoding complexity as well.
Mobile devices generally only handle baseline profiles at low levels with data rates limited by the EDGE class supported by the device radio and the carrier network. Exceed any one of these, and it is not going to work. Formats and data rates that you can play on your computer will NOT work on a mobile device. On Mar 6, 1:42 am, manoj <manojkumar.m...@gmail.com> wrote: > Hi, > > I have created a small application which plays video file. > > I am using .mp4 files to play. > > Its working for only some files, but for some files, I am getting only > audio there is no video at all. > > When I observed the properties of the media files, > > 1. Format: MPEG-4 Video, 320*240, AAC Movie FPS:29.97, Data size: > 3.76, Data Rate:316.03 kbps, noram size:320*240, current size:320*240 > -----> PLAYING PERFECTLY > > 2. Format:h.264, 640*480, AAC Movie FPS: 29.97 data size:25.76 MB > noramal size : 640*480, current size:640*480 > -------------------------------------> NO VIDEO, ONLY AUDIO. > > can any one please suggest me, how to solve this issue. > > Thanks, > Manoj. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---