dec
The dec
command is used to manage A/V decoder settings. The dec start
and dec stop
commands can be used to start and stop decoding video. ID can be all
or id1[,id2,id3,id4]
with values from 0
to 3
. You can specify a comma-separated list of IDs for the operation, as shown in the examples that follow.
Synopsis
dec ID start |
Actions
Action | Description |
---|---|
start | Starts decoding the video input. |
stop | Stops decoding the video input. |
set | Configures A/V decoder settings. A series of one or more |
get | Displays information on the decoder. You can choose to display the configuration ( Tip To display a summary of all the decoders in a table format, you can use # dec all get table ID STREAM ALT-STREAM STATE FORMAT BUFFERING OUTPUTS |
clear | Clears the decoder’s statistics. |
help | Displays usage information for the |
Parameters
Parameter | Default | Description/Values |
---|---|---|
streamId | n/a | Positive stream index. See Configuring Decoder Outputs. |
stillImage | freeze | The type of static image to display when the decoder is not receiving a video stream.
Note When the still image is substituted on the display outputs, the video frame rate and resolution will be maintained. When the video decoder receives a new video stream, it waits until it receives a new IDR frame and re-starts the display with that IDR frame. |
stillFile | n/a | Filename of the custom still image. Default images are provided, and your system administrator may have imported additional Still Images for your decoder. See mkstill. |
stillDelay | 3 | The delay in seconds before the still image is displayed: 1...1000 |
format | auto | The output display format:
Video scaling is not supported. |
frameRate | auto | The output frame rate for the displays.
|
buffering | automatic | The type of buffering to use. A jitter buffer temporarily stores arriving packets in order to remove the effects of jitter from the decoded stream.
|
delay | n/a | The delay in ms when using stc syncmode with fixed buffering: 0...3000 |
multiSyncDelay | n/a | The delay in ms from encoder TC when using multisync buffering: 0...10000 |
hardwareDelayAdd | n/a | The number of ms to add to the delay for processing the output in the hardware. -20...200 |
dropCorruptedFrames | no | Configures the decoder to drop corrupted frames before they reach the decoder. yes, no |
dynamicrange | automatic | Configures the decoder to detect the inbound High Dynamic Range (HDR) transfer function signaling and forward that information within the decoded stream.
Note HLG and PQ override the settings in the stream. |
outputs | n/a | A list of physical SDI outputs the decoder core will feed: 1..4
|
Examples
# dec 3,2,0 start Starts decoders 3, 2 and 0 (in the order specified) |
# dec 0 get stats |
# dec 0 get stats video Returns (video) decoder statistics for decoder 0: Decoder ID : 0 |
# dec 1 set stillimage=blue Sets the static image to blue. You will receive the following confirmation: Decoder configured successfully. |