TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::duck Namespace Reference

Classes

class  ClearECM
class  Error
struct  Errors
class  LogSection
class  LogTable
class  Protocol
 Generic description of the TSDuck internal messaging protocol. More...
struct  Tags
struct  Traits
 Generic "traits" for the TSDuck internal messaging protocol. More...

Variables

const tlv::VERSION CURRENT_VERSION = 0x80
 Current version of the TSDuck internal messaging protocol.

Detailed Description

Definitions of the TSDuck internal messaging protocol.

Note that none of the assigned values overlap with the message_type values which are defined in DVB Simulcrypt protocols. They are allocated in the "user defined" range. Thus, a generic TLV message parser can be use for both DVB and TSDuck interfaces.

Definition of messages:

MSG_LOG_SECTION
Contains one section.
Parameter Count
PRM_PID 0-1
PRM_TIMESTAMP 0-1
PRM_SECTION 1
MSG_LOG_TABLE
Contains one complete table (no missing section).
Parameter Count
PRM_PID 0-1
PRM_TIMESTAMP 0-1
PRM_SECTION 1-n
MSG_ECM
Contains the section payload of a "fake" ECM as generated by tsecmg.
Parameter Count
PRM_CW_EVEN 0-1
PRM_CW_ODD 0-1
PRM_ACCESS_CRITERIA 0-1
MSG_ERROR
Contains an error code.
Parameter Count
PRM_ERROR_CODE 1
@ ECM
PID carrying ECM's.
Definition tsTS.h:389

Definition of parameters:

PRM_PID
A 2-byte PID value.
PRM_TIMESTAMP
A timestamp identifying the occurrence of the event. Same format
as the activation_time in the EIS<=>SCS DVB Simulcrypt protocol:
year 2 bytes
month 1 byte
day 1 byte
hour 1 byte
minute 1 byte
second 1 byte
hundredth 1 byte
PRM_SECTION
A complete section, including header.
PRM_ERROR_CODE
A 2-byte error code.
PRM_CW_EVEN
PRM_CW_ODD
PRM_ACCESS_CRITERIA
Binary data as sent by the SCS. Included in "fake" ECM's ty tsecmg.
@ DVB
OUI for Digital Video Broadcasting.
Definition tsOUI.h:23
uint16_t PID
Definition tsTS.h:29