# Packages
No description provided by the author
# Functions
所以说number_of_raw_data_blocks_in_frame == 0 表示说ADTS帧中有一个AAC数据块并不是说没有。(一个AAC原始帧包含一段时间内1024个采样及相关数据).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SplitH264 以0x00000001分割H264裸数据.
No description provided by the author
# Constants
No description provided by the author
FLV Tag Type.
No description provided by the author
No description provided by the author
35.
16 // Current name in the spec: BLA_W_LP.
18.
17 // Current name in the spec: BLA_W_DLP.
21.
7 // Current name in the spec: RADL_R.
19// Current name in the spec: IDR_W_DLP.
20.
6.
8.
4.
5.
9 // Current name in the spec: RASL_R.
3 // Current name in the spec: TSA_R.
0.
1.
2.
37.
36.
38.
No description provided by the author
34.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
39 Prefix SEI.
40 Suffix SEI.
33.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
32.
9.
20.
2.
3.
4.
16.
12.
28.
No description provided by the author
5.
No description provided by the author
No description provided by the author
1.
19.
8.
14.
17.
18.
21.
22.
23.
6.
10.
7.
13.
15.
24.
No description provided by the author
11.
NALU Type.
# Variables
No description provided by the author
No description provided by the author
视频编码类型.
No description provided by the author
No description provided by the author
No description provided by the author
视频帧类型.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
0x17 keyframe 7:AVC 0x00 AVC sequence header 0x00 0x00 0x00 0x01 configurationVersion 0x42 AVCProfileIndication 0x00 profile_compatibility 0x1E AVCLevelIndication 0xFF lengthSizeMinusOne.
No description provided by the author
No description provided by the author
Profile:
0: Main profile 1: Low Complexity profile(LC) 2: Scalable Sampling Rate profile(SSR) 3: Reserved
.
音频格式.
采样频率.
量化精度.
音频类型.
# Structs
ISO_IEC_14496-12_2012.pdf Page/87
Box Type: meco Container: File, Movie Box (‘moov’), or Track Box (‘trak’) Mandatory: No Quantity: Zero or one.
ISO/IEC 13838-7 20(25)/page
Advanced Audio Coding
AudioDataTransportStream.
28 bits.
28 bits.
Audio Sequences.
No description provided by the author
No description provided by the author
No description provided by the author
AVCC.
No description provided by the author
Box Types: btrt.
Box Type: co64.
ISO_IEC_14496-12_2012.pdf Page/59
Box Type: stco, co64 Container: Sample Table Box (‘stbl’) Mandatory: Yes Quantity: Exactly one variant must be present.
Box Types: clap Visual Sequences.
Box Types: colr.
Box Type: stz2.
ISO_IEC_14496-12_2012.pdf Page/49
Box Type: ctts Container: Sample Table Box (‘stbl’) Mandatory: No Quantity: Zero or one.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/50
Box Type: cslg Container: Sample Table Box (‘stbl’) Mandatory: No Quantity: Zero or one.
ISO_IEC_14496-12_2012.pdf Page/78
Box Type: cprt Container: User data box (‘udta’) Mandatory: No Quantity: Zero or more
The Copyright box contains a copyright declaration which applies to the entire presentation, when contained within the Movie Box, or, when contained in a track, to that entire track.
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/56
Box Type: dinf Container: Media Information Box ('minf') or Meta Box ('meta') Mandatory: Yes (required within 'minf' box) and No (optional within 'meta' box) Quantity: Exactly one
The data information box contains objects that declare the location of the media information in a track.
-------------------------------------------------------------------------------------------------------
ISO_IEC_14496-12_2012.pdf Page/56
Box Types: url, urn, dref Container: Data Information Box ('dinf') Mandatory: Yes Quantity: Exactly one.
ISO_IEC_14496-12_2012.pdf Page/46
Box Type: stdp Container: Sample Table Box (‘stbl’).
ISO_IEC_14496-12_2012.pdf Page/54
Box Type: edts Container: Track Box (‘trak’) Mandatory: No Quantity: Zero or one.
ISO_IEC_14496-12_2012.pdf Page/54
Box Type: elst Container: Edit Box (‘edts’) Mandatory: No Quantity: Zero or one.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/95
Box Type: fiin Container: Meta Box (‘meta’) Mandatory: No Quantity: Zero or one
The FD item information box is optional, although it is mandatory for files using FD hint tracks.
ISO_IEC_14496-12_2012.pdf Page/97
Box Type: segr Container: FD Information Box (‘fiin’) Mandatory: No Quantity: Zero or One.
No description provided by the author
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/97
Box Type: fecr Container: Partition Entry (‘paen’) Mandatory: No Quantity: Zero or One
The FEC reservoir box associates the source file identified in the file partition box ('fpar') with FEC reservoirs stored as additional items.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/95
Box Type: fpar Container: Partition Entry (‘paen’) Mandatory: Yes Quantity: Exactly one
The File Partition box identifies the source file and provides a partitioning of that file into source blocks and symbols.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/99
Box Type: fire Container: Partition Entry (‘paen’) Mandatory: No Quantity: Zero or One
The File reservoir box associates the source file identified in the file partition box ('fpar') with File reservoirs stored as additional items.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/18
Box Type: ftyp Container: File Mandatory: Yes Quantity: Exactly one (but see below)
Each brand is a printable four-character code, registered with ISO, that identifies a precise specification.
ISO_IEC_14496-12_2012.pdf Page/29
Box Types: free, skip Container: File or other box Mandatory: No Quantity: Zero or more
The contents of a free-space box are irrelevant and may be ignored, or the object deleted, without affecting the presentation.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/98
Box Type: gitn Container: FD Information Box (‘fiin’) Mandatory: No Quantity: Zero or One
The Group ID to Name box associates file group names to file group IDs used in the version 1 item information entries in the item information box ('iinf').
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/37
Box Type: hdlr Container: Media Box ('mdia') or Meta Box ('meta') Mandatory: Yes Quantity: Exactly one.
Box Types: hmhd The hint media header contains general information, independent of the protocol, for hint tracks.
No description provided by the author
No description provided by the author
HVCC.
ISO_IEC_14496-12_2012.pdf Page/53
Box Types: sdtp Container: Sample Table Box (‘stbl’) Mandatory: No Quantity: Zero or one.
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/90
Box Type: idat Container: Metadata box (‘meta’) Mandatory: No Quantity: Zero or one
This box contains the data of metadata items that use the construction method indicating that an item’s data extents are stored within this box.
No description provided by the author
Box Type: infe.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/82
Box Type: iloc Container: Meta box (‘meta’) Mandatory: No Quantity: Zero or one.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/85
Box Type: ipro Container: Meta box (‘meta’) Mandatory: No Quantity: Zero or one
The item protection box provides an array of item protection information, for use by the Item Information Box.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/91
Box Type: iref Container: Metadata box (‘meta’) Mandatory: No Quantity: Zero or one
The item reference box allows the linking of one item to others via typed references.
ISO_IEC_14496-12_2012.pdf Page/72
Box Type: leva Container: Movie Extends Box (`mvex’) Mandatory: No Quantity: Zero or one.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/36
Box Type: mdia Container: Track Box ('trak') Mandatory: Yes Quantity: Exactly one
The media declaration container contains all the objects that declare information about the media data within a track.
ISO_IEC_14496-12_2012.pdf Page/29
Box Type: mdat Container: File Mandatory: No Quantity: Zero or more.
ISO_IEC_14496-12_2012.pdf Page/36
Box Type: mdhd Container: Media Box ('mdia') Mandatory: Yes Quantity: Exactly one
The media header declares overall information that is media-independent, and relevant to characteristics of the media in a track.
ISO_IEC_14496-12_2012.pdf Page/38
Box Type: minf Container: Media Box ('mdia') Mandatory: Yes Quantity: Exactly one
This box contains all the objects that declare characteristic information of the media in the track.
ISO_IEC_14496-12_2012.pdf Page/38
Box Types: vmhd, smhd, hmhd, nmhd Container: Media Information Box (‘minf’) Mandatory: Yes Quantity: Exactly one specific media header shall be present
There is a different media information header for each track type (corresponding to the media handler-type); the matching header shall be present, which may be one of those defined here, or one defined in a derived specification.
ISO_IEC_14496-12_2012.pdf Page/81
Box Type: meta Container: File, Movie Box (‘moov’), Track Box (‘trak’), or Additional Metadata Container Box (‘meco’) Mandatory: No Quantity: Zero or one (in File, ‘moov’, and ‘trak’), One or more (in ‘meco’).
ISO_IEC_14496-12_2012.pdf Page/88
Box Type: mere Container: Additional Metadata Container Box (‘meco’) Mandatory: No Quantity: Zero or more
The metabox relation box indicates a relation between two meta boxes at the same level, i.e., the top level of the file, the Movie Box, or Track Box.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/30
Box Type: moov Container: File Mandatory: Yes Quantity: Exactly one
The metadata for a presentation is stored in the single Movie Box which occurs at the top-level of a file.
ISO_IEC_14496-12_2012.pdf Page/64
Box Type: mvex Container: Movie Box (‘moov’) Mandatory: No Quantity: Zero or one.
ISO_IEC_14496-12_2012.pdf Page/65
Box Type: mehd Container: Movie Extends Box(‘mvex’) Mandatory: No Quantity: Zero or one
The Movie Extends Header is optional, and provides the overall duration, including fragments, of a fragmented movie.
ISO_IEC_14496-12_2012.pdf Page/66
Box Type: moof Container: File Mandatory: No Quantity: Zero or more.
ISO_IEC_14496-12_2012.pdf Page/66
Box Type: mfhd Container: Movie Fragment Box ('moof') Mandatory: Yes Quantity: Exactly one
The movie fragment header contains a sequence number, as a safety check.
ISO_IEC_14496-12_2012.pdf Page/69
Box Type: mfra Container: File Mandatory: No Quantity: Zero or one.
ISO_IEC_14496-12_2012.pdf Page/71
Box Type: mfro Container: Movie Fragment Random Access Box (‘mfra’) Mandatory: Yes Quantity: Exactly one
The Movie Fragment Random Access Offset Box provides a copy of the length field from the enclosing Movie Fragment Random Access Box.
ISO_IEC_14496-12_2012.pdf Page/31
Box Type: mvhd Container: Movie Box ('moov') Mandatory: Yes Quantity: Exactly one
This box defines overall information which is media-independent, and relevant to the entire presentation considered as a whole.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/17
The standard boxes all use compact types (32-bit) and most boxes will use the compact (32-bit) size standard header.
ISO_IEC_14496-12_2012.pdf Page/17
Typically only the Media Data Box(es) need the 64-bit size.
ISO_IEC_14496-12_2012.pdf Page/17
Many objects also contain a version number and flags field full box header.
No description provided by the author
No description provided by the author
No description provided by the author
Box Types: nmhd Streams other than visual and audio (e.g., timed metadata streams) may use a null Media Header Box, as defined here.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/60
Box Type: padb Container: Sample Table (‘stbl’) Mandatory: No Quantity: Zero or one
In some streams the media samples do not occupy all bits of the bytes given by the sample size, and are padded at the end to a byte boundary.
No description provided by the author
Box Type: paen.
Box Types: pasp.
ISO_IEC_14496-12_2012.pdf Page/93
Box Type: pitm Container: Meta box (‘meta’) Mandatory: No Quantity: Zero or one
For a given handler, the primary data may be one of the referenced items when it is desired that it be stored elsewhere, or divided into extents; or the primary metadata may be contained in the meta-box (e.g.
ISO_IEC_14496-12_2012.pdf Page/111
Box Type: prft Container: File Mandatory: No Quantity: Zero or more.
ISO_IEC_14496-12_2012.pdf Page/30
Box Types: pdin Container: File Mandatory: No Quantity: Zero or One.
ISO_IEC_14496-12_2012.pdf Page/92
Box Types: sinf Container: Protected Sample Entry, or Item Protection Box (‘ipro’) Mandatory: Yes Quantity: One or More.
ISO_IEC_14496-12_2012.pdf Page/63
Box Type: saio Container: Sample Table Box (‘stbl’) or Track Fragment Box ('traf') Mandatory: No Quantity: Zero or More.
ISO_IEC_14496-12_2012.pdf Page/62
Box Type: saiz Container: Sample Table Box (‘stbl’) or Track Fragment Box ('traf') Mandatory: No Quantity: Zero or More.
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/40
Box Types: stsd Container: Sample Table Box ('stbl') Mandatory: Yes Quantity: Exactly one.
is the appropriate sample entry.
ISO_IEC_14496-12_2012.pdf Page/76
Box Type: sgpd Container: Sample Table Box (‘stbl’) or Track Fragment Box (‘traf’) Mandatory: No Quantity: Zero or more, with one for each Sample to Group Box.
No description provided by the author
Box Type: stsz.
ISO_IEC_14496-12_2012.pdf Page/57
Box Type: stsz, stz2 Container: Sample Table Box (‘stbl’) Mandatory: Yes Quantity: Exactly one variant must be present.
-------------------------------------------------------------------------------------------------------
ISO_IEC_14496-12_2012.pdf Page/40
Box Type: stbl Container: Media Information Box ('minf') Mandatory: Yes Quantity: Exactly one.
ISO_IEC_14496-12_2012.pdf Page/58
Box Type: stsc Container: Sample Table Box ('stbl') Mandatory: Yes Quantity: Exactly one.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/75
Box Type: sbgp Container: Sample Table Box (‘stbl’) or Track Fragment Box (‘traf’) Mandatory: No Quantity: Zero or more.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/94
Box Types: schi Container: Protection Scheme Information Box (‘sinf’), Restricted Scheme Information Box (‘rinf’), or SRTP Process box (‘srpp‘) Mandatory: No Quantity: Zero or one The Scheme Information Box is a container Box that is only interpreted by the scheme being used.
ISO_IEC_14496-12_2012.pdf Page/93
Box Types: schm Container: Protection Scheme Information Box (‘sinf’), Restricted Scheme Information Box (‘rinf’), or SRTP Process box (‘srpp‘) Mandatory: No
Quantity: Zero or one in ‘sinf’, depending on the protection structure; Exactly one in ‘rinf’ and ‘srpp’ The Scheme Type Box (‘schm’) identifies the protection or restriction scheme.
ISO_IEC_14496-12_2012.pdf Page/106
Box Type: sidx Container: File Mandatory: No Quantity: Zero or more.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/52
Box Type: stsh Container: Sample Table Box (‘stbl’) Mandatory: No Quantity: Zero or one.
No description provided by the author
No description provided by the author
No description provided by the author
Box Types: smhd The sound media header contains general presentation information, independent of the coding, for audio media.
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/61
Box Type: subs Container: Sample Table Box (‘stbl’) or Track Fragment Box (‘traf’) Mandatory: No Quantity: Zero or one.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/109
Box Type: ssix Container: File Mandatory: No Quantity: Zero or more.
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/100
Box Type: strk Container: User Data box (‘udta’) of the corresponding Track box (‘trak’) Mandatory: No Quantity: Zero or more
This box contains objects that define and provide information about a sub track in the present track.
ISO_IEC_14496-12_2012.pdf Page/101
Box Type: strd Container: Sub Track box (‘strk’) Mandatory: Yes Quantity: One
This box contains objects that provide a definition of the sub track.
ISO_IEC_14496-12_2012.pdf Page/100
Box Type: stri Container: Sub Track box (‘strk’) Mandatory: Yes Quantity: One.
ISO_IEC_14496-12_2012.pdf Page/51
Box Type: stss Container: Sample Table Box (‘stbl’) Mandatory: No Quantity: Zero or one
This box provides a compact marking of the sync samples within the stream.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/48
Box Type: stts Container: Sample Table Box ('stbl') Mandatory: Yes Quantity: Exactly one.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/32
Box Type: trak Container: Movie Box ('moov') Mandatory: Yes Quantity: One or more.
ISO_IEC_14496-12_2012.pdf Page/65
Box Type: trex Container: Movie Extends Box (‘mvex’) Mandatory: Yes Quantity: Exactly one for each track in the Movie Box.
ISO_IEC_14496-12_2012.pdf Page/71
Box Type: tfdt Container: Track Fragment box (‘traf’) Mandatory: No Quantity: Zero or one.
ISO_IEC_14496-12_2012.pdf Page/67
Box Type: traf Container: Movie Fragment Box ('moof') Mandatory: No Quantity: Zero or more.
ISO_IEC_14496-12_2012.pdf Page/67
Box Type: tfhd Container: Track Fragment Box ('traf') Mandatory: Yes Quantity: Exactly one.
ISO_IEC_14496-12_2012.pdf Page/70
Box Type: tfra Container: Movie Fragment Random Access Box (‘mfra’) Mandatory: No Quantity: Zero or one per track.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/68
Box Type: trun Container: Track Fragment Box ('traf') Mandatory: No Quantity: Zero or more.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/35
Box Type: trgr Container: Track Box (‘trak’) Mandatory: No Quantity: Zero or one.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/32
Box Type: tkhd Container: Track Box ('trak') Mandatory: Yes Quantity: Exactly one.
ISO_IEC_14496-12_2012.pdf Page/34
Box Type: tref Container: Track Box (‘trak’) Mandatory: No Quantity: Zero or one.
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/79
Box Type: tsel Container: User Data Box (‘udta’) Mandatory: No Quantity: Zero or One
The track selection box is contained in the user data box of the track it modifies.
No description provided by the author
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/78
Box Type: udta Container: Movie Box (‘moov’) or Track Box (‘trak’) Mandatory: No Quantity: Zero or one.
Box Types: vmhd The video media header contains general presentation information, independent of the coding, for video media.
No description provided by the author
No description provided by the author
ISO_IEC_14496-12_2012.pdf Page/82
Box Type: ‘xml ‘ or ‘bxml’ Container: Meta box (‘meta’) Mandatory: No Quantity: Zero or one
When the primary data is in XML format and it is desired that the XML be stored directly in the meta-box, one of these forms may be used.
No description provided by the author