Parsing h.264 NAL units from a quicktime MOV file

柔情痞子 提交于 2019-12-04 09:50:49

The mdat atom is a big blob of data that makes no sense on its own. To understand its contents, one must first parse the moov atom. You said that you decomposed the MOV files into atoms-- did you dig deeper than just moov, mdat, ftyp, and a few other top-level atoms? You have to parse the moov atom (lots of atoms in there) to get the data you need (extra codec data attached to the H.264 stsd atom which is combined with data from the H.264 chunks, which are indexed by the stco or co64 atoms).

Or use a library that already does all the tedious work for you.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!