Transport stream processor options and their command line options.
More...
#include <tsTSProcessorArgs.h>
|
UString | app_name {} |
| Application name, for help messages.
|
|
cn::milliseconds | bitrate_adj = DEFAULT_BITRATE_INTERVAL |
| Bitrate adjust interval.
|
|
RestArgs | control {u"control port", u"control"} |
| Options for remote control (TCP/Telnet or TCP/TLS).
|
|
DuckContext::SavedArgs | duck_args {} |
| Default TSDuck context options for all plugins. Each plugin can override them in its context.
|
|
cn::milliseconds | final_wait = cn::milliseconds(-1) |
| Time to wait after last input packet. Zero means infinite, negative means none.
|
|
BitRate | fixed_bitrate = 0 |
| Fixed input bitrate (user-specified).
|
|
bool | ignore_jt = false |
| Ignore "joint termination" options in plugins.
|
|
PacketCounter | init_bitrate_adj = DEFAULT_INIT_BITRATE_PKT_INTERVAL |
| As long as input bitrate is unknown, reevaluate periodically.
|
|
size_t | init_input_pkt = 0 |
| Initial number of input packets to read before starting the processing (zero means default).
|
|
PluginOptions | input {} |
| Input plugin description.
|
|
size_t | instuff_inpkt = 0 |
| Add input stuffing: add instuff_nullpkt null packets every instuff_inpkt input packets.
|
|
size_t | instuff_nullpkt = 0 |
| Add input stuffing: add instuff_nullpkt null packets every instuff_inpkt input packets.
|
|
size_t | instuff_start = 0 |
| Add input stuffing: add instuff_start null packets before actual input.
|
|
size_t | instuff_stop = 0 |
| Add input stuffing: add instuff_end null packets after end of actual input.
|
|
bool | log_plugin_index = false |
| Log plugin index with plugin name.
|
|
size_t | max_flush_pkt = 0 |
| Max processed packets before flush.
|
|
size_t | max_input_pkt = 0 |
| Max packets per input operation.
|
|
size_t | max_output_pkt = NPOS |
| Max packets per outsput operation. NPOS means unlimited.
|
|
PluginOptions | output {} |
| Output plugin description.
|
|
PluginOptionsVector | plugins {} |
| Packet processor plugins descriptions.
|
|
Tristate | realtime = Tristate::Maybe |
| Use real-time options.
|
|
cn::milliseconds | receive_timeout {} |
| Timeout on input operations.
|
|
size_t | ts_buffer_size = DEFAULT_BUFFER_SIZE |
| Size in bytes of the global TS packet buffer.
|
|
|
static constexpr cn::milliseconds | DEFAULT_BITRATE_INTERVAL = cn::milliseconds(5000) |
| Default bitrate adjustment interval, in milliseconds.
|
|
static constexpr size_t | DEFAULT_BUFFER_SIZE = 16 * 1000000 |
| Default size in bytes of global TS buffer.
|
|
static constexpr cn::milliseconds | DEFAULT_CONTROL_TIMEOUT = cn::milliseconds(5000) |
| Default control command reception timeout, in milliseconds.
|
|
static constexpr PacketCounter | DEFAULT_INIT_BITRATE_PKT_INTERVAL = 1000 |
| Default initial bitrate reevaluation interval, in packets.
|
|
static constexpr size_t | DEFAULT_MAX_FLUSH_PKT_OFFLINE = 10000 |
| Default max packets per flush operation in offline mode.
|
|
static constexpr size_t | DEFAULT_MAX_FLUSH_PKT_RT = 7 |
| Default max packets per flush operation in real-time mode (typical UDP/IP size).
|
|
static constexpr size_t | DEFAULT_MAX_INPUT_PKT_OFFLINE = 0 |
| Default max packets per input operation in offline mode (unlimited).
|
|
static constexpr size_t | DEFAULT_MAX_INPUT_PKT_RT = 7 |
| Default max packets per input operation in offline mode (typical UDP/IP size).
|
|
static constexpr size_t | MIN_BUFFER_SIZE = 18800 |
| Minimum size in bytes of global TS buffer.
|
|
Transport stream processor options and their command line options.
◆ defineArgs()
void ts::TSProcessorArgs::defineArgs |
( |
Args & |
args | ) |
|
Add command line option definitions in an Args.
- Parameters
-
[in,out] | args | Command line arguments to update. |
◆ loadArgs()
Load arguments from command line.
Args error indicator is set in case of incorrect arguments.
- Parameters
-
[in,out] | duck | TSDuck execution context. |
[in,out] | args | Command line arguments. |
- Returns
- True on success, false on error in argument line.
◆ applyDefaults()
void ts::TSProcessorArgs::applyDefaults |
( |
bool |
realtime | ) |
|
Apply default values to options which were not specified on the command line.
- Parameters
-
[in] | realtime | If true, apply real-time defaults. If false, apply offline defaults. |
The documentation for this class was generated from the following file: