Media_Dev

mp4 Streaming

jaster 2010. 10. 12. 14:05
반응형

http://atomicparsley.sourceforge.net/mpeg-4files.html

http://wiki.multimedia.cx/index.php?title=QuickTime_container

discribe QuickTime mp4

http://wiki.multimedia.cx/index.php?title=QuickTime_container

stco & mdat

What happens when atoms are added, modified or removed is that the tree gets changed, and then the lengths of the atoms needs to be re-determined. If the mdat atom moves relative to the beginning of the file, further adjustments need to be made. The free atom is meant to minimize this exact behavior.

The mdat data is made up of 'chunks' - these chunks are referenced in moov to provide for seeking within the file, and to tell the player where the beginning of the media data is. This information is stored on the moov.trak.mdia.minf.stbl.stco Sample Table Chunk Offset atom. This atom has a particular structure:



Each entry in the stco atom (and there can be mutliple stco atoms) needs to be readjusted.





반응형