MythTV  master
Public Types | Static Public Member Functions | List of all members
StreamID Class Reference

Contains listing of PMT Stream ID's for various A/V Stream types. More...

#include <mpegtables.h>

Public Types

enum  {
  MPEG1Video = 0x01, MPEG2Video = 0x02, MPEG4Video = 0x10, H264Video = 0x1b,
  H265Video = 0x24, OpenCableVideo = 0x80, VC1Video = 0xea, MPEG1Audio = 0x03,
  MPEG2Audio = 0x04, MPEG2AACAudio = 0x0f, MPEG2AudioAmd1 = 0x11, AC3Audio = 0x81,
  EAC3Audio = 0x87, DTSAudio = 0x8a, DSMCC = 0x08, DSMCC_A = 0x0a,
  DSMCC_B = 0x0b, DSMCC_C = 0x0c, DSMCC_D = 0x0d, DSMCC_DL = 0x14,
  MetaDataPES = 0x15, MetaDataSec = 0x16, MetaDataDC = 0x17, MetaDataOC = 0x18,
  MetaDataDL = 0x19, PrivSec = 0x05, PrivData = 0x06, MHEG = 0x07,
  H222_1 = 0x09, MPEG2Aux = 0x0e, FlexMuxPES = 0x12, FlexMuxSec = 0x13,
  MPEG2IPMP = 0x1a, MPEG2IPMP2 = 0x7f, Splice = 0x86, AnyMask = 0xFFFF0000,
  AnyVideo = 0xFFFF0001, AnyAudio = 0xFFFF0002
}
 

Static Public Member Functions

static bool IsVideo (uint type)
 Returns true iff video is an MPEG1/2/3, H264 or open cable video stream. More...
 
static bool IsAudio (uint type)
 Returns true iff audio is MPEG1/2, AAC, AC3 or DTS audio stream. More...
 
static bool IsObjectCarousel (uint type)
 Returns true iff stream contains DSMCC Object Carousel. More...
 
static uint Normalize (uint stream_id, const desc_list_t &desc, const QString &sistandard)
 
static const char * toString (uint streamID)
 
static QString GetDescription (uint stream_id)
 

Detailed Description

Contains listing of PMT Stream ID's for various A/V Stream types.

This is used by the Program Map Table (PMT), and often used by other tables, such as the DVB SDT table.

Definition at line 106 of file mpegtables.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MPEG1Video 

ISO 11172-2 (aka MPEG-1)

MPEG2Video 

ISO 13818-2 & ITU H.262 (aka MPEG-2)

MPEG4Video 

ISO 14492-2 (aka MPEG-4)

H264Video 

ISO 14492-10 & ITU H.264 (aka MPEG-4-AVC)

H265Video 

ISO 23008-2 & ITU H.265 (aka HEVC, Ultra HD)

OpenCableVideo 

Always MPEG-2??

VC1Video 

SMPTE 421M video codec (aka VC1) in Blu-Ray.

MPEG1Audio 

ISO 11172-3.

MPEG2Audio 

ISO 13818-3.

MPEG2AACAudio 

ISO 13818-7 Audio w/ADTS syntax.

MPEG2AudioAmd1 

ISO 13818-3/AMD-1 Audio using LATM syntax.

AC3Audio 

A/53 Part 3:2009 6.7.1.

EAC3Audio 

A/53 Part 3:2009 6.7.3.

DTSAudio 
DSMCC 

ISO 13818-1 Annex A DSM-CC & ITU H.222.0.

DSMCC_A 

ISO 13818-6 type A Multi-protocol Encap.

DSMCC_B 

ISO 13818-6 type B Std DSMCC Data.

DSMCC_C 

ISO 13818-6 type C NPT DSMCC Data.

DSMCC_D 

ISO 13818-6 type D Any DSMCC Data.

DSMCC_DL 

ISO 13818-6 Download Protocol.

MetaDataPES 

Meta data in PES packets.

MetaDataSec 

Meta data in metadata_section's.

MetaDataDC 

ISO 13818-6 Metadata in Data Carousel.

MetaDataOC 

ISO 13818-6 Metadata in Object Carousel.

MetaDataDL 

ISO 13818-6 Metadata in Download Protocol.

PrivSec 

ISO 13818-1 private tables & ITU H.222.0.

PrivData 

ISO 13818-1 PES private data & ITU H.222.0.

MHEG 

ISO 13522 MHEG.

H222_1 

ITU H.222.1.

MPEG2Aux 

ISO 13818-1 auxiliary & ITU H.222.0.

FlexMuxPES 

ISO 14496-1 SL/FlexMux in PES packets.

FlexMuxSec 

ISO 14496-1 SL/FlexMux in 14496_sections.

MPEG2IPMP 

ISO 13818-10 Digital Restrictions Mangment.

MPEG2IPMP2 

ISO 13818-10 Digital Restrictions Mangment.

Splice 

ANSI/SCTE 35 2007.

AnyMask 
AnyVideo 
AnyAudio 

Definition at line 109 of file mpegtables.h.

Member Function Documentation

◆ IsVideo()

static bool StreamID::IsVideo ( uint  type)
inlinestatic

Returns true iff video is an MPEG1/2/3, H264 or open cable video stream.

Definition at line 165 of file mpegtables.h.

Referenced by MPEGStreamData::CreatePMTSingleProgram(), DTVRecorder::HandleSingleProgramPMT(), ProgramMapTable::IsVideo(), and DTVChannel::SetChannelByString().

◆ IsAudio()

static bool StreamID::IsAudio ( uint  type)
inlinestatic

Returns true iff audio is MPEG1/2, AAC, AC3 or DTS audio stream.

Definition at line 176 of file mpegtables.h.

Referenced by MPEGStreamData::CreatePMTSingleProgram(), DTVRecorder::HandleSingleProgramPMT(), and ProgramMapTable::IsAudio().

◆ IsObjectCarousel()

static bool StreamID::IsObjectCarousel ( uint  type)
inlinestatic

Returns true iff stream contains DSMCC Object Carousel.

Definition at line 187 of file mpegtables.h.

Referenced by AvFormatDecoder::ScanDSMCCStreams().

◆ Normalize()

uint StreamID::Normalize ( uint  stream_id,
const desc_list_t desc,
const QString &  sistandard 
)
static

◆ toString()

const char * StreamID::toString ( uint  streamID)
static

◆ GetDescription()

QString StreamID::GetDescription ( uint  stream_id)
static

Definition at line 1026 of file mpegtables.cpp.

Referenced by ChannelOptionsRawTS::ChannelOptionsRawTS().


The documentation for this class was generated from the following files: