TSDuck Version 3.32-2775 (TSDuck - The MPEG Transport Stream Toolkit)
tsTSPacketFormat.h File Reference

Transport stream packet / file formats. More...

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Enumerations

enum  ts::TSPacketFormat {
  ts::TSPacketFormat::AUTODETECT,
  ts::TSPacketFormat::TS,
  ts::TSPacketFormat::M2TS,
  ts::TSPacketFormat::RS204,
  ts::TSPacketFormat::DUCK
}
 Transport stream file formats. More...
 

Functions

void ts::DefineTSPacketFormatInputOption (Args &args, UChar short_name=0, const UChar *name=u"format")
 Add the definition of a --format option for TS packet format in input files. More...
 
void ts::DefineTSPacketFormatOutputOption (Args &args, UChar short_name=0, const UChar *name=u"format")
 Add the definition of a --format option for TS packet format in output files. More...
 
TSPacketFormat ts::LoadTSPacketFormatInputOption (const Args &args, const UChar *name=u"format")
 Get the value of a --format option for TS packet format in input files. More...
 
TSPacketFormat ts::LoadTSPacketFormatOutputOption (const Args &args, const UChar *name=u"format")
 Get the value of a --format option for TS packet format in output files. More...
 

Variables

const TypedEnumeration< TSPacketFormat > ts::TSPacketFormatEnum
 Enumeration description of ts::TSPacketFormat.
 
const TypedEnumeration< TSPacketFormat > ts::TSPacketFormatInputEnum
 Enumeration description of ts::TSPacketFormat as input file option.
 
const TypedEnumeration< TSPacketFormat > ts::TSPacketFormatOutputEnum
 Enumeration description of ts::TSPacketFormat as output file option.
 

Detailed Description

Transport stream packet / file formats.