TSDuck v3.46-4964
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
MPEG Digital TV core

MPEG Digital TV core features. More...

Collaboration diagram for MPEG Digital TV core:

Files

file  tsATSC.h
file  tsAVC.h
file  tsCodecType.h
file  tsDID.h
file  tsDSMCC.h
file  tsDVB.h
file  tsECMGSCS.h
file  tsEMMGMUX.h
file  tsHEVC.h
file  tsISDB.h
file  tsmcast.h
file  tsMJD.h
file  tsMPEG2.h
file  tsOUI.h
file  tsPDS.h
file  tsPES.h
file  tsPSI.h
file  tsREGID.h
file  tsStreamType.h
file  tsT2MI.h
file  tsTeletext.h
file  tsTID.h
file  tsTS.h
file  tsVVC.h

Namespaces

namespace  ts::tr101290

Classes

class  ts::AbstractAudioVideoAttributes
class  ts::AbstractAVCAccessUnit
class  ts::AbstractDefinedByStandards
class  ts::AbstractDemux
class  ts::AbstractHEVCAccessUnit
class  ts::AbstractPacketizer
class  ts::AbstractRegulator
class  ts::AbstractSignalization
class  ts::AbstractTableAttachment
class  ts::AbstractVideoAccessUnit
class  ts::AbstractVideoData
class  ts::AbstractVideoStructure
class  ts::AbstractVVCAccessUnit
class  ts::AC3Attributes
class  ts::AccessUnitIterator
class  ts::tr101290::Analyzer
class  ts::ApplicationIdentifier
class  ts::ARIBCharset
class  ts::ATSCMultipleString
class  ts::AudioLanguageOptions
class  ts::AVCAccessUnitDelimiter
class  ts::AVCAttributes
class  ts::AVCHRDParameters
class  ts::AVCParser
class  ts::AVCSequenceParameterSet
class  ts::AVCVUIParameters
class  ts::mcast::BaseMulticastTransportSession
class  ts::BinaryFile
class  ts::BinaryTable
struct  ts::BIOPBinding
class  ts::BIOPBindingListMessage
class  ts::BIOPFileMessage
class  ts::BIOPMessage
class  ts::BIOPMessageHeader
struct  ts::BIOPNameComponent
class  ts::BIOPNameResolver
struct  ts::BIOPServiceContext
class  ts::BitRateRegulator
class  ts::CASDate< YEARBASE >
class  ts::CASMapper
class  ts::ChannelFile
class  ts::tlv::ChannelMessage
class  ts::Charset
class  ts::ContinuityAnalyzer
class  ts::CyclingPacketizer
class  ts::DemuxedData
class  ts::Descriptor
class  ts::DescriptorContext
class  ts::DescriptorList
class  ts::DSMCCCompatibilityDescriptor
class  ts::DSMCCExtractor
class  ts::DSMCCExtractorArgs
class  ts::DSMCCGroupInfoIndication
class  ts::DSMCCResourceDescriptor
class  ts::DSMCCTap
class  ts::DumpCharset
class  ts::DVBCharset
class  ts::DVBCharTable
class  ts::DVBCharTableSingleByte
class  ts::DVBCharTableUTF16
class  ts::DVBCharTableUTF8
class  ts::ECMGClient
class  ts::ECMGClientArgs
class  ts::ECMGClientHandlerInterface
class  ts::EDID
class  ts::EITGenerator
class  ts::EITProcessor
class  ts::EITRepetitionProfile
class  ts::EMMGClient
class  ts::tr101290::ErrorHandlerInterface
class  ts::mcast::FDTInstanceHeader
class  ts::mcast::FECPayloadId
class  ts::mcast::FECTransmissionInformation
class  ts::mcast::FluteAnalyzer
class  ts::mcast::FluteAnalyzerArgs
class  ts::mcast::FluteDemux
class  ts::mcast::FluteDemuxArgs
class  ts::mcast::FluteFDT
class  ts::mcast::FluteFile
class  ts::mcast::FluteHandlerInterface
class  ts::mcast::FluteSessionId
class  ts::mcast::ForwardErrorCorrectionParameters
class  ts::mcast::GatewayConfiguration
class  ts::mcast::GatewayConfigurationTransportSession
class  ts::HEVCAccessUnitDelimiter
class  ts::HEVCAttributes
class  ts::HEVCHRDParameters
class  ts::HEVCProfileTierLevel
class  ts::HEVCScalingListData
class  ts::HEVCSequenceParameterSet
class  ts::HEVCShortTermReferencePictureSetList
class  ts::HEVCVUIParameters
class  ts::IATAnalyzer
class  ts::InvalidSectionHandlerInterface
class  ts::ISDBTInformation
class  ts::ISDBTInformationPacket
class  ts::mcast::LCTHeader
class  ts::LogicalChannelNumbers
class  ts::MPEDemux
class  ts::MPEG2AudioAttributes
class  ts::MPEG2VideoAttributes
class  ts::MPEHandlerInterface
class  ts::MPEPacket
class  ts::MPERealTimeParameters
class  ts::mcast::MulticastSession
class  ts::mcast::NetworkInformationFile
class  ts::mcast::NIPActualCarrierInformation
class  ts::mcast::NIPAnalyzer
class  ts::mcast::NIPAnalyzerArgs
class  ts::mcast::NIPDemux
class  ts::mcast::NIPHandlerInterface
class  ts::mcast::NIPService
class  ts::mcast::NIPStreamId
class  ts::OneShotPacketizer
class  ts::PacketDecapsulation
class  ts::PacketEncapsulation
class  ts::PacketInsertionController
class  ts::Packetizer
class  ts::PCRAnalyzer
class  ts::PCRMerger
class  ts::PCRRegulator
class  ts::PESDemux
class  ts::PESHandlerInterface
class  ts::PESOneShotPacketizer
class  ts::PESPacket
class  ts::PESPacketizer
class  ts::PESProviderInterface
class  ts::PESStreamPacketizer
struct  ts::PIDOperator
class  ts::PSIBuffer
class  ts::PSILogger
class  ts::PSIMerger
class  ts::PSIRepository
class  ts::mcast::ReportingLocator
class  ts::Section
class  ts::SectionContext
class  ts::SectionDemux
class  ts::SectionFile
class  ts::SectionHandlerInterface
class  ts::SectionProviderInterface
class  ts::Service
class  ts::ServiceDiscovery
class  ts::ServiceIdTriplet
class  ts::mcast::ServiceInformationFile
class  ts::mcast::ServiceList
class  ts::mcast::ServiceListEntryPoints
class  ts::SignalizationDemux
class  ts::SignalizationHandlerInterface
class  ts::SimulCryptDate
class  ts::SpliceInsert
class  ts::SplicePrivateCommand
class  ts::SpliceSchedule
class  ts::SpliceTime
class  ts::StandaloneTableDemux
class  ts::tlv::StreamMessage
class  ts::SubRipGenerator
class  ts::T2MIDemux
class  ts::T2MIHandlerInterface
class  ts::T2MIPacket
class  ts::TableHandlerInterface
class  ts::TablePatchXML
class  ts::TablesDisplay
class  ts::TablesLogger
class  ts::TablesLoggerFilter
class  ts::TablesLoggerFilterInterface
class  ts::TablesLoggerFilterRepository
class  ts::TeletextCharset
class  ts::TeletextDemux
class  ts::TeletextFrame
class  ts::TeletextHandlerInterface
class  ts::TimeShiftBuffer
class  ts::TimeStampRegulator
class  ts::TimeTrackerDemux
class  ts::mcast::TransportProtocol
class  ts::TransportStreamId
class  ts::TSAnalyzer
class  ts::TSAnalyzerArgs
class  ts::TSAnalyzerReport
class  ts::TSClock
class  ts::TSClockArgs
class  ts::TSDatagramOutput
class  ts::TSDatagramOutputHandlerInterface
class  ts::TSFile
class  ts::TSFileInputArgs
class  ts::TSFileInputBuffered
class  ts::TSFileOutputArgs
class  ts::TSForkPipe
class  ts::TSFuzzing
class  ts::TSFuzzingArgs
class  ts::TSPacket
class  ts::TSPacketQueue
class  ts::TSPacketStream
class  ts::TSPacketWindow
class  ts::TSScanner
class  ts::TSScrambling
class  ts::TSSpeedMetrics
class  ts::TSValve
class  ts::TSValveArgs
class  ts::VVCAccessUnitDelimiter
class  ts::XDID
class  ts::XTID

Typedefs

using ts::MediaGuardDate = CASDate<1990>
using ts::SafeAccessDate = CASDate<2000>
using ts::TSPacketLabelSet = CompactBitSet<32>
using ts::ViaccessDate = CASDate<1980>

Enumerations

enum  ts::CASFamily : uint8_t {
  ts::CAS_OTHER = 0 ,
  ts::CAS_MEDIAGUARD = 1 ,
  ts::CAS_NAGRA = 2 ,
  ts::CAS_VIACCESS = 3 ,
  ts::CAS_THALESCRYPT = 4 ,
  ts::CAS_SAFEACCESS = 5 ,
  ts::CAS_WIDEVINE = 6 ,
  ts::CAS_NDS = 7 ,
  ts::CAS_IRDETO = 8 ,
  ts::CAS_CONAX = 9
}
enum class  ts::EITProfile {
  ts::EITProfile::PF_ACTUAL = 0 ,
  ts::EITProfile::PF_OTHER = 1 ,
  ts::EITProfile::SCHED_ACTUAL_PRIME = 2 ,
  ts::EITProfile::SCHED_OTHER_PRIME = 3 ,
  ts::EITProfile::SCHED_ACTUAL_LATER = 4 ,
  ts::EITProfile::SCHED_OTHER_LATER = 5
}
enum class  ts::Standards : uint16_t {
  ts::Standards::NONE = 0x0000 ,
  ts::Standards::MPEG = 0x0001 ,
  ts::Standards::DVB = 0x0002 ,
  ts::Standards::SCTE = 0x0004 ,
  ts::Standards::ATSC = 0x0008 ,
  ts::Standards::ISDB = 0x0010 ,
  ts::Standards::JAPAN = 0x0020 ,
  ts::Standards::ABNT = 0x0040 ,
  ts::Standards::DTMB = 0x0080 ,
  ts::Standards::DVBONLY = 0x8000
}

Functions

bool ts::CompatibleStandards (Standards std)
UString ts::StandardsNames (Standards standards)

Detailed Description

MPEG Digital TV core features.

Typedef Documentation

◆ ViaccessDate

using ts::ViaccessDate = CASDate<1980>

Representation of a Viaccess date.

◆ MediaGuardDate

using ts::MediaGuardDate = CASDate<1990>

Representation of a MediaGuard date.

◆ SafeAccessDate

using ts::SafeAccessDate = CASDate<2000>

Representation of a SafeAccess date.

◆ TSPacketLabelSet

A set of labels used as metadata for a TS packet.

Each packet in a tsp processing chain has a set of "labels". A label is a integer value from 0 to 31. Various plugins may set or reset labels on packets. Any plugin can be conditioned to work on packets having specific labels only.

When TS packets are passed between processes, using a pipe for instance, the labels can passed as well as other metadata using "--format duck".

The type TSPacketLabelSet is crafted to use 32 bits exactly. It was previously implemented as std::bitset<32> but this type may use up to 64 bits, depending on the platform.

Enumeration Type Documentation

◆ CASFamily

enum ts::CASFamily : uint8_t

Known Conditional Access Systems families. These symbols be be used in the TSDuck C++ code. More CAS families can be defined in '.names' files in extensions, in the [CASFamily] entry.

Enumerator
CAS_OTHER 

Unknown CAS.

CAS_MEDIAGUARD 

MediaGuard (Canal+ Technologies).

CAS_NAGRA 

Nagravision.

CAS_VIACCESS 

Viaccess.

CAS_THALESCRYPT 

ThalesCrypt (for TPS).

CAS_SAFEACCESS 

SafeAccess (Logiways).

CAS_WIDEVINE 

Widevine CAS (Google).

CAS_NDS 

Synamedia, formerly NDS, formerly Cisco Video Solutions.

CAS_IRDETO 

Irdeto.

CAS_CONAX 

Conax, now part of Nagravision.

◆ EITProfile

enum class ts::EITProfile
strong

List of EIT sections repetition profiles.

The EIT sections shall be repeated according to the type of EIT and the type of network.

The enumeration values are sorted in order of importance. For instance, it is more important to reliably broadcast EIT p/f actual than others, EIT p/f than schedule, etc.

EIT schedule are divided into two periods:

  • The "prime" period extends over the next few days. The repetition rate of those EIT's is typically longer than EIT present/following but still reasonably fast. The duration in days of the prime period depends on the type of network.
  • The "later" period includes all events after the prime period. The repetition rate of those EIT's is typically longer that in the prime period.

Standard EIT repetition rates

EIT section type Sat/cable Terrestrial
EIT p/f actual 2 sec 2 sec
EIT p/f other 10 sec 20 sec
EIT sched prime days 8 days 1 day
EIT sched actual (prime) 10 sec 10 sec
EIT sched other (prime) 10 sec 60 sec
EIT sched actual (later) 30 sec 30 sec
EIT sched other (later) 30 sec 300 sec
Enumerator
PF_ACTUAL 

EIT present/following actual.

PF_OTHER 

EIT present/following other.

SCHED_ACTUAL_PRIME 

EIT schedule actual in the "prime" period.

SCHED_OTHER_PRIME 

EIT schedule other in the "prime" period.

SCHED_ACTUAL_LATER 

EIT schedule actual after the "prime" period.

SCHED_OTHER_LATER 

EIT schedule other after the "prime" period.

◆ Standards

enum class ts::Standards : uint16_t
strong

Bit masks for standards, used to qualify the signalization.

Enumerator
NONE 

No known standard.

MPEG 

Defined by MPEG, common to all standards.

DVB 

Defined by ETSI/DVB.

SCTE 

Defined by ANSI/SCTE.

ATSC 

Defined by ATSC.

ISDB 

Defined by ISDB.

JAPAN 

Defined in Japan only (typically in addition to ISDB).

ABNT 

Defined by ABNT (Brazil, typically in addition to ISDB).

DTMB 

Defined by DTMB (China).

DVBONLY 

Used with DVB. Means strict DVB, cannot be the DVB subset as used by ISDB.

Function Documentation

◆ StandardsNames()

UString ts::StandardsNames ( Standards standards)

Return a string representing a list of standards.

Parameters
[in]standardsA bit mask of standards.
Returns
A string representing the standards.

◆ CompatibleStandards()

bool ts::CompatibleStandards ( Standards std)

Check compatibility between standards. Some standards are compatible, they can be used together. Example: MPEG and DVB. Some standards are incompatible and cannot be used together. Example: DVB and ATSC.

Parameters
[in]stdSet of standards.
Returns
True if all standards in std are compatible with each other.