TSDuck v3.40-4041
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsStreamType.h File Reference

Stream type values, as used in the PMT. More...

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Enumerations

enum  : uint8_t {
  ts::ST_NULL = 0x00 ,
  ts::ST_MPEG1_VIDEO = 0x01 ,
  ts::ST_MPEG2_VIDEO = 0x02 ,
  ts::ST_MPEG1_AUDIO = 0x03 ,
  ts::ST_MPEG2_AUDIO = 0x04 ,
  ts::ST_PRIV_SECT = 0x05 ,
  ts::ST_PES_PRIV = 0x06 ,
  ts::ST_MHEG = 0x07 ,
  ts::ST_DSMCC = 0x08 ,
  ts::ST_MPEG2_ATM = 0x09 ,
  ts::ST_DSMCC_MPE = 0x0A ,
  ts::ST_DSMCC_UN = 0x0B ,
  ts::ST_DSMCC_SD = 0x0C ,
  ts::ST_DSMCC_SECT = 0x0D ,
  ts::ST_MPEG2_AUX = 0x0E ,
  ts::ST_AAC_AUDIO = 0x0F ,
  ts::ST_MPEG4_VIDEO = 0x10 ,
  ts::ST_MPEG4_AUDIO = 0x11 ,
  ts::ST_MPEG4_PES = 0x12 ,
  ts::ST_MPEG4_SECT = 0x13 ,
  ts::ST_DSMCC_DLOAD = 0x14 ,
  ts::ST_MDATA_PES = 0x15 ,
  ts::ST_MDATA_SECT = 0x16 ,
  ts::ST_MDATA_DC = 0x17 ,
  ts::ST_MDATA_OC = 0x18 ,
  ts::ST_MDATA_DLOAD = 0x19 ,
  ts::ST_MPEG2_IPMP = 0x1A ,
  ts::ST_AVC_VIDEO = 0x1B ,
  ts::ST_MPEG4_AUDIO_RAW = 0x1C ,
  ts::ST_MPEG4_TEXT = 0x1D ,
  ts::ST_AUX_VIDEO = 0x1E ,
  ts::ST_AVC_SUBVIDEO_G = 0x1F ,
  ts::ST_AVC_SUBVIDEO_H = 0x20 ,
  ts::ST_J2K_VIDEO = 0x21 ,
  ts::ST_MPEG2_3D_VIEW = 0x22 ,
  ts::ST_AVC_3D_VIEW = 0x23 ,
  ts::ST_HEVC_VIDEO = 0x24 ,
  ts::ST_HEVC_SUBVIDEO = 0x25 ,
  ts::ST_AVC_SUBVIDEO_I = 0x26 ,
  ts::ST_EXT_MEDIA = 0x27 ,
  ts::ST_HEVC_SUBVIDEO_G = 0x28 ,
  ts::ST_HEVC_SUBVIDEO_TG = 0x29 ,
  ts::ST_HEVC_SUBVIDEO_H = 0x2A ,
  ts::ST_HEVC_SUBVIDEO_TH = 0x2B ,
  ts::ST_GREEN = 0x2C ,
  ts::ST_MPH3D_MAIN = 0x2D ,
  ts::ST_MPH3D_AUX = 0x2E ,
  ts::ST_QUALITY = 0x2F ,
  ts::ST_MEDIA_ORCHESTR = 0x30 ,
  ts::ST_HEVC_TILESET = 0x31 ,
  ts::ST_JPEG_XS_VIDEO = 0x32 ,
  ts::ST_VVC_VIDEO = 0x33 ,
  ts::ST_VVC_VIDEO_SUBSET = 0x34 ,
  ts::ST_EVC_VIDEO = 0x35 ,
  ts::ST_LCEVC_VIDEO = 0x36 ,
  ts::ST_CHINESE_VIDEO = 0x42 ,
  ts::ST_IPMP = 0x7F ,
  ts::ST_DGC_II_VIDEO = 0x80 ,
  ts::ST_AC3_AUDIO = 0x81 ,
  ts::ST_AC3_TRUEHD_AUDIO = 0x83 ,
  ts::ST_AC3_PLUS_AUDIO = 0x84 ,
  ts::ST_SCTE35_SPLICE = 0x86 ,
  ts::ST_EAC3_AUDIO = 0x87 ,
  ts::ST_A52B_AC3_AUDIO = 0x91 ,
  ts::ST_MS_VIDEO = 0xA0 ,
  ts::ST_VC1 = 0xEA ,
  ts::ST_LPCM_AUDIO = 0x80 ,
  ts::ST_HDMV_AC3 = 0x81 ,
  ts::ST_DTS_AUDIO = 0x82 ,
  ts::ST_HDMV_AC3_TRUEHD = 0x83 ,
  ts::ST_HDMV_AC3_PLUS = 0x84 ,
  ts::ST_DTS_HS_AUDIO = 0x85 ,
  ts::ST_DTS_HD_MA_AUDIO = 0x86 ,
  ts::ST_HDMV_EAC3 = 0x87 ,
  ts::ST_DTS_AUDIO_8A = 0x8A ,
  ts::ST_SUBPIC_PGS = 0x90 ,
  ts::ST_IGS = 0x91 ,
  ts::ST_DVD_SUBTITLES = 0x92 ,
  ts::ST_SDDS_AUDIO = 0x94 ,
  ts::ST_HDMV_AC3_PLS_SEC = 0xA1 ,
  ts::ST_DTS_HD_SEC = 0xA2 ,
  ts::ST_AVS2_AUDIO = 0xD3 ,
  ts::ST_AVS3_VIDEO = 0xD4 ,
  ts::ST_AVS3_AUDIO = 0xD5
}
 Stream type values, as used in the PMT. More...
 

Functions

bool ts::StreamTypeIsAudio (uint8_t st)
 Check if a stream type value indicates an audio stream.
 
bool ts::StreamTypeIsAudio (uint8_t st, const DescriptorList &dlist)
 Check if a stream type value indicates an audio stream.
 
bool ts::StreamTypeIsAudio (uint8_t st, const std::set< REGID > &regids)
 Check if a stream type value indicates an audio stream.
 
bool ts::StreamTypeIsAVC (uint8_t st)
 Check if a stream type value indicates a video stream using AVC / H.264 encoding.
 
bool ts::StreamTypeIsHEVC (uint8_t st)
 Check if a stream type value indicates a video stream using HEVC / H.265 encoding.
 
bool ts::StreamTypeIsPES (uint8_t st)
 Check if a stream type value indicates a PES stream.
 
bool ts::StreamTypeIsSection (uint8_t st)
 Check if a stream type value indicates a stream carrying sections.
 
bool ts::StreamTypeIsVideo (uint8_t st)
 Check if a stream type value indicates a video stream.
 
bool ts::StreamTypeIsVVC (uint8_t st)
 Check if a stream type value indicates a video stream using VVC / H.266 encoding.
 
UString ts::StreamTypeName (uint8_t st, const DuckContext &duck, const DescriptorList &dlist, NamesFlags flags=NamesFlags::NAME)
 Name of a Stream type value.
 
UString ts::StreamTypeName (uint8_t st, const REGIDVector &regids, NamesFlags flags=NamesFlags::NAME)
 Name of a Stream type value.
 
UString ts::StreamTypeName (uint8_t st, NamesFlags flags=NamesFlags::NAME)
 Name of a Stream type value.
 

Detailed Description

Stream type values, as used in the PMT.