Skip to main content

Module mp4

Module mp4 

Source

Structs§

Mp4Demuxer
Mp4Sample

Functions§

extract_asc_from_stsd 🔒
stsd ボックスのペイロードから mp4a エントリの esds を探し、AudioSpecificConfig を取り出す。 sample entry: [size(4)][type(4)][予約(6)][data_reference_index(2)][AudioSampleEntry(20)][child boxes…] QuickTime の版 1・2 の音声エントリはそれぞれ 16・36 バイト長い。
extract_avcc_from_stsd 🔒
stsd ボックスのペイロードから avc1/avc3 エントリ内の avcC を取り出す。 stsd payload: [version+flags(4)][entry_count(4)][sample entry…] sample entry: [size(4)][type(4)][VisualSampleEntry(78)][child boxes…]
parse_esds_asc
esds(版・フラグ 4 バイト + ES_Descriptor)から DecoderSpecificInfo(タグ 5)の中身を返す。