![]() |
TSDuck
v3.35-3218
MPEG Transport Stream Toolkit
|
Transport stream multiplexer command-line options. More...
Public Member Functions | |
MuxerArgs () | |
Constructor. | |
void | defineArgs (Args &args) |
Add command line option definitions in an Args. More... | |
void | enforceDefaults () |
Enforce default or minimum values. | |
bool | loadArgs (DuckContext &duck, Args &args) |
Load arguments from command line. More... | |
Public Attributes | |
UString | appName |
Application name, for help messages. | |
MicroSecond | cadence |
Internal polling cadence in microseconds. | |
BitRate | catBitRate |
Bitrate of output CAT. | |
DuckContext::SavedArgs | duckArgs |
Default TSDuck context options for all plugins. Each plugin can override them in its context. | |
TableScope | eitScope |
Type of EIT to filter. | |
bool | ignoreConflicts |
Ignore PID or service conflicts (inconsistent stream). | |
size_t | inBufferPackets |
Input buffer size in packets. | |
bool | inputOnce |
Terminate when all input plugins complete, do not restart plugins. | |
MilliSecond | inputRestartDelay |
When an input start fails, retry after that delay. | |
PluginOptionsVector | inputs |
Input plugins descriptions. | |
bool | lossyInput |
If true, allow to lose input packet when the buffer is full. | |
size_t | lossyReclaim |
When lossyInput is true and the input buffer is full, number of older packets to drop. | |
size_t | maxInputPackets |
Maximum input packets to read at a time. | |
size_t | maxOutputPackets |
Maximum output packets to send at a time. | |
BitRate | nitBitRate |
Bitrate of output NIT. | |
TableScope | nitScope |
Type of NIT to filter. | |
size_t | outBufferPackets |
Output buffer size in packets (default: N x inBufferPackets). | |
PluginOptions | output |
Output plugin description. | |
BitRate | outputBitRate |
Target output bitrate. | |
uint16_t | outputNetwId |
Output original network id. | |
bool | outputOnce |
Terminate when the output plugin fails, do not restart. | |
MilliSecond | outputRestartDelay |
When the output start fails, retry after that delay. | |
uint16_t | outputTSId |
Output transport stream id. | |
BitRate | patBitRate |
Bitrate of output PAT. | |
BitRate | sdtBitRate |
Bitrate of output SDT. | |
TableScope | sdtScope |
Type of SDT to filter. | |
size_t | timeInputIndex |
Index of input plugin from which the TDT/TOT PID is used. By default, use the first found. | |
Static Public Attributes | |
static constexpr size_t | DEFAULT_BUFFERED_PACKETS = 512 |
Default input size buffer in packets. | |
static constexpr MicroSecond | DEFAULT_CADENCE = 10000 |
Default cadence in microseconds. | |
static constexpr size_t | DEFAULT_LOSSY_INPUT_PACKETS = 16 |
Default number of oldest input packets to drop with lossy input. | |
static constexpr size_t | DEFAULT_MAX_INPUT_PACKETS = 128 |
Default maximum input packets to read at a time. | |
static constexpr size_t | DEFAULT_MAX_OUTPUT_PACKETS = 128 |
Default maximum input packets to send at a time. | |
static constexpr BitRate::int_t | DEFAULT_PSI_BITRATE = 15000 |
Default bitrate for global PSI/SI PID's. | |
static constexpr MilliSecond | DEFAULT_RESTART_DELAY = 2000 |
Default input and output restart delay. | |
static constexpr size_t | MIN_BUFFERED_PACKETS = 16 |
Minimum input size buffer in packets. | |
static constexpr size_t | MIN_INPUT_PACKETS = 1 |
Minimum input packets to read at a time. | |
static constexpr size_t | MIN_OUTPUT_PACKETS = 1 |
Minimum input packets to send at a time. | |
static constexpr BitRate::int_t | MIN_PSI_BITRATE = 100 |
Minimum bitrate for global PSI/SI PID's. | |
Transport stream multiplexer command-line options.
void ts::MuxerArgs::defineArgs | ( | Args & | args | ) |
Add command line option definitions in an Args.
[in,out] | args | Command line arguments to update. |
bool ts::MuxerArgs::loadArgs | ( | DuckContext & | duck, |
Args & | args | ||
) |
Load arguments from command line.
Args error indicator is set in case of incorrect arguments.
[in,out] | duck | TSDuck execution context. |
[in,out] | args | Command line arguments. |