Thanks Mark ... After hinting the MP4 files using the MP4BOX and hosting at some remote location (like say hosting at dropbox) works fine. But still some of the files doesn't work. (in particular length more than 2mins track) So, my question is there any limit on the size/length of the video file like say it works for length 1min or 2mins tracks and those of greater than this length doesn't work.
what is the MOOV and mdat atoms ?? what is the difference ?? how to recognize it ?? If someone has some good site links please share. On Oct 18, 5:22 pm, Mark Murphy <[email protected]> wrote: > On Tue, Oct 18, 2011 at 7:39 AM, Shajahan <[email protected]> wrote: > > Everywhere in the blog/group I read about the hinting the MP4 file with > > MP4Box. But I dint get it about how to go for it. (People who have worked > > with hinting please post the code) > > There is no code. You download MP4Box. You run it at the command line > of your development machine, using the --hint switch, to fix up a > video file. > > If you do not own the video file, and it does not play in Android, > contact the publisher of that video file and ask them to do the > hinting for you. Tell them that it will also speed up playback of > their videos on iPhone, as iOS will not have to buffer atoms waiting > for the MOOV atom to know what to do with the data. > > BTW, Dave Sparks indicated to me at Google I|O 2011 that this is less > of an issue with Stagefright, so Android 2.3+ might have better luck > playing your videos. Conversely, it is also possible that the MP4Box > --hint trick will no longer fix problematic videos on Android 2.3+. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.6 Available! -- 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

