prrt
18th April 2012, 15:04
Hi,
In mp4 file header there is an information about sizes of all the video frames in file and offsets of these frames ('moov' atom). But when I prepare live streams (not pseudo live streams!), I don't know sizes of all the frames beforehand. I found information how to prepare mp4 for rtp streaming, but is it possible to stream mp4 with h264 over http?
If it is possible, how I must specify each frame in mp4? In my case 1 frame = 1 NAL Unit. Is it possible to locate the whole h264 stream in 'mdat' atom including NAL Unit start codes (0x00000001) and not specify 'stsz' atom with frame sizes? That streams must be played by flash players.
And are there any simplest mp4 streams with h264 available - as an axample, for live streaming over http? Without scenes and other features - only h264 (and maybe AAC). I found some streams at http://gpac.wp.mines-telecom.fr/authoring/content-links/ but they are too complicated and consists too many additional information.
Thanks.
In mp4 file header there is an information about sizes of all the video frames in file and offsets of these frames ('moov' atom). But when I prepare live streams (not pseudo live streams!), I don't know sizes of all the frames beforehand. I found information how to prepare mp4 for rtp streaming, but is it possible to stream mp4 with h264 over http?
If it is possible, how I must specify each frame in mp4? In my case 1 frame = 1 NAL Unit. Is it possible to locate the whole h264 stream in 'mdat' atom including NAL Unit start codes (0x00000001) and not specify 'stsz' atom with frame sizes? That streams must be played by flash players.
And are there any simplest mp4 streams with h264 available - as an axample, for live streaming over http? Without scenes and other features - only h264 (and maybe AAC). I found some streams at http://gpac.wp.mines-telecom.fr/authoring/content-links/ but they are too complicated and consists too many additional information.
Thanks.