AVBlocks for C++  2.1
Audio and Video Software Development Kit
primo::codecs::StreamSubType Namespace Reference

Defines audio and video stream subtypes. More...

Enumerations

enum  Enum {
  Unknown = 0,
  None = 0xFFFF,
  AAC_ADTS = 1,
  AAC_ADIF = 2,
  AAC_MP4 = 3,
  AVCC = 4,
  AVC1 = AVCC,
  MPEG_TS_BDAV = 5,
  MPEG_Audio_Layer1 = 6,
  MPEG_Audio_Layer2 = 7,
  MPEG_Audio_Layer3 = 8,
  G726_PACKED_RFC3551 = 9,
  G726_PACKED_AAL2 = 10,
  MPEG1_System = 11,
  MPEG2_System = 12,
  AVC_Annex_B = 13
}
 StreamSubType::Enum. More...
 

Detailed Description

Defines audio and video stream subtypes.

Enumeration Type Documentation

enum Enum

StreamSubType::Enum.

Enumerator
Unknown 

The stream subtype is unknown.

None 

No stream subtype is defined.

AAC_ADTS 

Audio Data Transport Stream: AAC data in frames, similar to mp3.

Somewhat compliant. Defined in Part 7 of the MPEG-2 standard (known formally as ISO/IEC 13818-7).

AAC_ADIF 

Audio Data Interchange Format: AAC data with a single header.

Worst compliance. Defined in Part 7 of the MPEG-2 standard (known formally as ISO/IEC 13818-7).

AAC_MP4 

AAC data packed in MPEG-4 container (MP4).

Best compliance.

AVCC 

H.264/AVC bitstream without start codes.

This is how the bitstream is stored in a MPEG-4 container (MP4). Instead of start codes, each NALU is prefixed by a length field, which gives the length of the NALU in bytes. The size of the length field can vary, but is typically 1, 2, or 4 bytes.

Defined in ISO 14496-15.

AVC1 

Alias.

Same as StreamSubType::AVCC.

MPEG_TS_BDAV 

MPEG2 transport stream with valid packet time stamps.

MPEG_Audio_Layer1 

MPEG-1 Audio Layer I is commonly abbreviated to MP1.

MPEG-1 Layer I is defined in ISO/IEC 11172-3.

MPEG-2 Layer I is defined in the MPEG-2 Part 3 standard (known formally as ISO/IEC 13818-3).

MPEG_Audio_Layer2 

MPEG-1 Audio Layer II is commonly abbreviated to MP2.

MP2 is a dominant standard for audio broadcasting. MPEG-1 Layer II is defined in ISO/IEC 11172-3.

MPEG-2 Layer II is defined in the MPEG-2 Part 3 standard (known formally as ISO/IEC 13818-3).

MPEG_Audio_Layer3 

MPEG-1 Audio Layer III is commonly abbreviated to MP3.

MPEG-1 Layer III is defined in ISO/IEC 11172-3.

MPEG-2 Layer III is defined in the MPEG-2 Part 3 standard (known formally as ISO/IEC 13818-3).

G726_PACKED_RFC3551 

G.726 stream packed according to RFC 3551.

This type of packetization is used in RTP.

G726_PACKED_AAL2 

G.726 stream packed according to ITU-T I.366.2 (AAL type 2).

This type of packetization is used in Wave files.

MPEG1_System 

MPEG-1 Program Stream as specified in MPEG-1 Part 1 (ISO/IEC 11172-1).

This stream subtype can be used only with the MPEG_PS stream type.

MPEG2_System 

MPEG-2 Program Stream as specified in MPEG-2 Part 1 (ISO/IEC 13818-1).

This stream subtype can be used only with the MPEG_PS stream type.

AVC_Annex_B 

H.264 bitstream with start codes.

H.264 bitstreams are transmitted in this format over the air, or contained in MPEG-2 program or transport streams. The H.264 bitstream is formatted as described in Annex B of ITU-T Rec. H.264. According to this specification, the bitstream consists of a sequence of NALUs (Network Abstraction Layer Units). Each NALU is prefixed with a start code equal to 0x000001 or 0x00000001.