2

私は一つのことに疑問を持っています。ISO-14496-12で説明されているように、moov / mvhd / trak / mdia / minf / stbl / stsdには、ISO-14496-15で説明されているavc1ボックスやISO-14496-14で説明されているmp42などのフォーマット固有のボックスが含まれている必要があります。ただし、「version」、「revision_level」、「vendor」など、QuickTimeFormat仕様のVideoSampleDescriptionのフィールドも含まれています。

誰かがこの問題を説明できますか?

4

1 に答える 1

11

stsd(サンプル説明ボックス)は、他のボックスを含むボックスのように扱うことができます。各サンプルエントリも通常のボックスです。

 4 bytes - length in total
 4 bytes - 4 char code of sample description table (stsd)
 4 bytes - version & flags
 4 bytes - number of sample entries (num_sample_entries)
 [
    4 bytes - length of sample entry (len_sample_entry)
    4 bytes - 4 char code of sample entry
    ('len_sample_entry' - 8) bytes of data
 ] (repeated 'num_sample_entries' times)
(4 bytes - optional 0x00000000 as end of box marker )
于 2013-01-27T17:02:58.227 に答える