PDA

View Full Version : MP4 Meta Data (for seeking h.264 in Flash)


Mug Funky
16th June 2008, 15:08
hey all. i'm posting this on behalf of my friend who's waiting for his 5 days. don't worry - i can vouch for his character :) i hope that's all good. he's looked everywhere he can and exhausted his options (bearing in mind not all of us have time to pore through and test every x264 setting, or read everything out there within the constraints of other work that might be on).

thanks for your help.


Hi,

I've searched everywhere for this information (including these forums) and I can't find what I need.

I've got three questions, the first two are not specific to Flash, the third one is (sorry, might be the wrong place to ask).

1. How do you get meta data into an MP4. I don't just need specific meta data which some programs do help me with (MeGUI I think) which is mostly for audio. I need to put a collection of "seekpoints" in, to be read by Flash player. I know that some compressors do add them, at least some vids @ http://elecard.com/download/clips.php have this information in them.

I know that Mp4Box can do insertion of metadata but can't for the life of me work out how to do it? Any suggestions?

Also, is there any suggestions / examples of how to get Mp4Box to display all metadata from file?

2. Does anyone know if it is possible to encode an I-frame only H264 MP4? I think may an IDR (Instantaneous Decoder Refreshes) only frame one, as this might mean that it can be eassily seeked (is that a verb?).

3. Now the Flash question. If I manage to encode an H264 MP4, all I frame, and manage to get all the seekpoint data in (every frame should be marked in the seekpoint list as all will be I or IDR frames), do you know if it would be able to seek frame by frame as if it was playing.

Some references for people if they want to read about Flash H264 suppert: http://www.kaourantin.net/2007/08/what-just-happened-to-video-on-web_20.html

Lamb
16th June 2008, 18:15
With MP4Box, use the "inter" option to prepare your files for Php Streaming (note that the "hint" option also exists, but i'ts for RTSP Streaming). Example: MP4Box -inter 500 /path-to-your-mp4/video-name.mp4 (seekpoint every 500ms)

You can change the inter value to anything you want, if you need a more accurate seeking.

Finally, I don’t really get why you want to have an I-Frame only video? How are you going to stream your videos? With a streaming server like red5 or lighttpd h264 streaming mod?