TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
Transport stream multiplexer command-line options. More...
#include <tsMuxerArgs.h>
Public Member Functions | |
MuxerArgs ()=default | |
Constructor. | |
void | defineArgs (Args &args) |
Add command line option definitions in an Args. | |
void | enforceDefaults () |
Enforce default or minimum values. | |
bool | loadArgs (DuckContext &duck, Args &args) |
Load arguments from command line. | |
Public Attributes | |
UString | appName {} |
Application name, for help messages. | |
cn::microseconds | cadence = DEFAULT_CADENCE |
Internal polling cadence in microseconds. | |
BitRate | catBitRate = DEFAULT_PSI_BITRATE |
Bitrate of output CAT. | |
DuckContext::SavedArgs | duckArgs {} |
Default TSDuck context options for all plugins. Each plugin can override them in its context. | |
TableScope | eitScope = TableScope::ACTUAL |
Type of EIT to filter. | |
bool | ignoreConflicts = false |
Ignore PID or service conflicts (inconsistent stream). | |
size_t | inBufferPackets = DEFAULT_BUFFERED_PACKETS |
Input buffer size in packets. | |
bool | inputOnce = false |
Terminate when all input plugins complete, do not restart plugins. | |
cn::milliseconds | inputRestartDelay = DEFAULT_RESTART_DELAY |
When an input start fails, retry after that delay. | |
PluginOptionsVector | inputs {} |
Input plugins descriptions. | |
bool | lossyInput = false |
If true, allow to lose input packet when the buffer is full. | |
size_t | lossyReclaim = DEFAULT_LOSSY_INPUT_PACKETS |
When lossyInput is true and the input buffer is full, number of older packets to drop. | |
size_t | maxInputPackets = DEFAULT_MAX_INPUT_PACKETS |
Maximum input packets to read at a time. | |
size_t | maxOutputPackets = DEFAULT_MAX_OUTPUT_PACKETS |
Maximum output packets to send at a time. | |
BitRate | nitBitRate = DEFAULT_PSI_BITRATE |
Bitrate of output NIT. | |
TableScope | nitScope = TableScope::ACTUAL |
Type of NIT to filter. | |
size_t | outBufferPackets = DEFAULT_BUFFERED_PACKETS |
Output buffer size in packets (default: N x inBufferPackets). | |
PluginOptions | output {} |
Output plugin description. | |
BitRate | outputBitRate = 0 |
Target output bitrate. | |
uint16_t | outputNetwId = 0 |
Output original network id. | |
bool | outputOnce = false |
Terminate when the output plugin fails, do not restart. | |
cn::milliseconds | outputRestartDelay = DEFAULT_RESTART_DELAY |
When the output start fails, retry after that delay. | |
uint16_t | outputTSId = 0 |
Output transport stream id. | |
BitRate | patBitRate = DEFAULT_PSI_BITRATE |
Bitrate of output PAT. | |
BitRate | sdtBitRate = DEFAULT_PSI_BITRATE |
Bitrate of output SDT. | |
TableScope | sdtScope = TableScope::ACTUAL |
Type of SDT to filter. | |
size_t | timeInputIndex = NPOS |
Index of input plugin from which the TDT/TOT PID is used. By default, use the first found. | |
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. |