the moov and mdat atoms should already be there, (IIRC) they are required for a well-formed movie file.
the moov atom provides metadata for the movie, and the mdat atom provides the actual content. however, if the file is being streamed, the client needs to know the metadata before the actual content arrives, therefore the moov atom must be ahead of the mdat atom. can't stream the stuff in the mdat if you don't know what format it is. there are some tools around to swap the atom order so that a file is streamable, but doing it yourself is reasonably straightforward. one way is to go through the file remembering the positions and sizes of the atoms, then reorder the list, and write out a new copy of the file with everything in the right place. check the Qt file format docs. i will have to do this too at some point but i don't know whether "at some point" is good enough for your schedule. hth j >Hi Dave... > > I tried to add mdat atom using Hex editor...Bur When i >play the video its give >error... Please Can you tell me how can i do the video streaming... > >Thank You >N N -- jason.software.particle --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---