TSDuck v3.44-4659
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::DSMCCExtractor Class Reference

Drives a DSM-CC Object Carousel extraction end-to-end on a single PID. More...

#include <tsDSMCCExtractor.h>

Inheritance diagram for ts::DSMCCExtractor:
Collaboration diagram for ts::DSMCCExtractor:

Classes

struct  Options
 Extraction policy. More...
 

Public Member Functions

 DSMCCExtractor (DuckContext &duck, const Options &options)
 Constructor.
 
void feedPacket (const TSPacket &pkt)
 Feed one TS packet through the demux.
 
void flush ()
 Flush deferred BIOP objects and, in list_mode, print the summary.
 
void setPID (PID pid)
 Attach the section demux to the carousel PID.
 

Detailed Description

Drives a DSM-CC Object Carousel extraction end-to-end on a single PID.

Holds the section demux, the carousel engine and the output policy (what to write, where). Callers feed raw TS packets via feedPacket(); the extractor parses sections, assembles modules, resolves BIOP object paths and writes files to disk. Shared between the dsmcc plugin and the tsdsmcc standalone tool.

Constructor & Destructor Documentation

◆ DSMCCExtractor()

ts::DSMCCExtractor::DSMCCExtractor ( DuckContext duck,
const Options options 
)

Constructor.

Parameters
[in,out]duckTSDuck execution context.
[in]optionsExtraction policy.

Member Function Documentation

◆ setPID()

void ts::DSMCCExtractor::setPID ( PID  pid)

Attach the section demux to the carousel PID.

Parameters
[in]pidPID carrying the DSM-CC sections.

◆ feedPacket()

void ts::DSMCCExtractor::feedPacket ( const TSPacket pkt)

Feed one TS packet through the demux.

Parameters
[in]pktThe packet.

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