TSDuck v3.38-3707
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsduck.TSProcessor Class Reference

A wrapper class for C++ TSProcessor. More...

Inheritance diagram for tsduck.TSProcessor:
Collaboration diagram for tsduck.TSProcessor:

Public Member Functions

 __init__ (self, report)
 Constructor.
 
 abort (self)
 Abort the TSProcessor.
 
 delete (self)
 Explicitly free the underlying C++ object.
 
 start (self)
 Start the TS processor.
 
 waitForTermination (self)
 Suspend the calling thread until TS processing is completed.
 

Public Attributes

 add_input_stuffing
 Option --add-input-stuffing nullpkt/inpkt (two values).
 
 add_start_stuffing
 Option --add-start-stuffing.
 
 add_stop_stuffing
 Option --add-stop-stuffing.
 
 app_name
 Application name, for help messages.
 
 bitrate
 Option --bitrate.
 
 bitrate_adjust_interval
 Option --bitrate-adjust-interval (in milliseconds).
 
 buffer_size
 Option --buffer-size-mb (in bytes here).
 
 ignore_joint_termination
 Option --ignore-joint-termination.
 
 initial_input_packets
 Option --initial-input-packets (zero means default).
 
 input
 Input plugin name and arguments (list of strings).
 
 log_plugin_index
 Option --log-plugin-index.
 
 max_flushed_packets
 Option --max-flushed-packets (zero means default).
 
 max_input_packets
 Option --max-input-packets (zero means default).
 
 max_output_packets
 Option --max-output-packets (zero means unlimited).
 
 output
 Output plugin name and arguments (list of strings).
 
 plugins
 Packet processor plugins names and arguments (list of lists of strings).
 
 receive_timeout
 Option --receive-timeout.
 

Detailed Description

A wrapper class for C++ TSProcessor.

Constructor & Destructor Documentation

◆ __init__()

tsduck.TSProcessor.__init__ (   self,
  report 
)

Constructor.

Parameters
reportThe tsduck.Report object to use.

Reimplemented from tsduck.PluginEventHandlerRegistry.

Member Function Documentation

◆ delete()

tsduck.TSProcessor.delete (   self)

Explicitly free the underlying C++ object.

After this call, the object becomes unusable. Most usages are unpredictable but most likely will do nothing.

Returns
None.

Reimplemented from tsduck.NativeObject.

◆ start()

tsduck.TSProcessor.start (   self)

Start the TS processor.

All properties shall have been set before calling this method.

Returns
None.

◆ abort()

tsduck.TSProcessor.abort (   self)

Abort the TSProcessor.

Returns
None.

◆ waitForTermination()

tsduck.TSProcessor.waitForTermination (   self)

Suspend the calling thread until TS processing is completed.

Returns
None.

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