The application Viz Send, included in Viz Engine installation, can be used to communicate with Channel Recorder. Connect the tool to the port specified in the configuration file. The following commands are implemented in the service:
ABOUT
Command | Description |
---|---|
| Prints license information of all libraries used in this software. |
MAIN
Some of the following commands must be called during initialization. To configure these commands, use the configuration web interface and the restart the service. Refer to Channel Recorder Configuration for more information.
Command | Description |
---|---|
| Returns Channel Recorder version. |
| Returns Channel Recorder version. Same as |
| Returns system hostname. |
| Returns Service Host version. |
| Lists all available boards. |
| Selects a board. The board is identified by the serial number. If the board with the given number is not found, the first board is selected. |
| Returns the selected board. |
| Selects a connector. Connectors are labeled consecutively from A to P or numerically from 1 to 32. Numerical value is needed for addressing all inputs in a 2110 capable board. This command can also be used to restart the channel without using the web interface. |
| Returns the selected connector. |
| Returns the state of the licenses defined at configuration. An example output is: Example: Each line is one license and each row separated by space is:
Available licenses are:
|
| Crashes the service.
|
OUTPUT
One output target can be initialized during startup. During execution more than one output can be enabled. For instance you can have VideoOut A enabled. Please refer to Channel Recorder Configuration to initialize an output during startup.
Command | Description |
---|---|
| Lists the active targets. |
| Lists available targets. |
| Starts an output handler for the specified [target]. Several output handlers can be started in parallel, but only one is allowed for each target. Valid targets are:
Example: |
| Stops the output handler for the specified target. |
RECORD
Crash Recording / One-time Scheduling
These are specific commands used only for crash and one-time scheduling of recording. These command are available from version 1.0. For scheduling, it is recommended to use RECORD SET
introduced from version 1.1.
Command | Description |
---|---|
| Sets the clip name and initializes the recorder. This command does not start recording (see |
| Starts or continues recording. The
The format for both is Timecode (see Data Types).
|
| Pauses recording. |
| Stops recording and flushes the recorder. A new clip needs to be set afterwards (see |
Example:
Crash recording:
RECORD CLIP Crash.mxf
RECORD START
RECORD STOP
One-time scheduling recording:
RECORD CLIP Crash.mxf
RECORD START 600 15:00:00:00
Loop Recording
These are specific commands used only for loop recording. It allows setup, start or stop loop recording. These are introduced from version 1.1.
Command | Description |
---|---|
| Starts, stops or configures the settings for loop recording. Any number of properties can be applied in the form of key-value-pairs. If no property is supplied, and the entry does not yet exist, it is added with the default values. Available keys are:
Example: |
Protected Loop Recording
Starting with version 2.0, it is possible to protect a range of files from being overwritten.
Command | Description |
---|---|
| Starts recording in one second chunks. |
| Protects the first two files (0-10 sec) and (10-20 sec) from being overwritten. |
| The unprotected files are the first one being deleted (file0.mxf and then file1.mxf). This is determined by the internal timecode. |
Information: It is not possible to protect all files. The minimum number of unprotected files is the number of writers. This is to prevent a lock down and the recorder not being able to record anything.
Scheduled Recording
These are specific commands used only for scheduled recording. It allows setup, start or stop scheduled recording.
Command | Description |
---|---|
| Adds a new clip to the timeline, or changes a property of an entry defined by
For more information regarding these settings possible values and default values check the section |
| Removes the entry |
| Lists all entries or shows the properties of an entry. If no parameter is applied, a list of all scheduled clips is returned. Any number of |
Common Record Commands
Some of these commands are only used for loop and crash recording, while others are used for all three modes.
Command | Description |
---|---|
| If no duration parameter is applied to the command, it returns the timecode relative to the start timecode. If a duration parameter is applied, the duration of an ongoing recording is changed. The duration parameter can be specified as either a number of frames or a timecode (see Data Types ). In the case of loop and schedule recording the value used to set using this command is ignored. |
| Returns the resolution the Channel Recorder is running at. |
| Returns the state the Record Channel service is in. By default state is idle. State is only invalid when the clip was configured incorrectly (for example, container / codec combination is wrong). State flow: Idle -- Start() --> Recording -- Stop() --> Paused ^ | | `-- Flush() ----------+---------------------´ |
| Defines which start timecode to use for the recording. If the command is not called before the recording starts, the current timecode is written to the clip. If no value is given, the command returns the current value. This is only used for loop and schedule recording. |
CONFIG
Command | Description |
---|---|
| Gets the current settings. |
| Lists all available variables. The optional
|
| Sets the |
CONFIG SET
Variable and values for CONFIG SET
command. The CONFIG SET
command is used to set the configuration globally, this means that all the recording mode uses these settings by default unless specified otherwise. Only schedule recording can specify different settings for each schedule by specifying them via RECORD SET
command.
IPIN
Variable | Value |
---|---|
| Enables redundancy flows. |
| Indicates the type of membership request made when IPv4 address is a multicast address. Valid values for
The default value is None. |
| Enables video flow if |
| Sets destination IPv4 address. The default value is |
| Sets destination port. The default value is |
| Indicates the RTP (Real-time Transfer Protocol) Payload ID to capture. Used when RTP Payload ID is set to |
| Indicates the threshold for generating the time interval between the IP packets alarm on the main IP stream. For video, the range is from |
| Specifies the type of filtering applied to the source list when IGMPv3 is used. Valid values for
|
| Lists IPv4 addresses to be included or excluded separated by a space character. |
| Destination IPv4 address. The default value is 239.1.10.10. |
| Destination port. The default value is |
| Indicates the threshold for generating the time interval between the IP packets alarm on the main IP stream. For video, the range is from |
| Specifies the type of filtering applied to the source list when IGMPv3 is used. Valid values for
|
| Lists IPv4 addresses to be included or excluded separated by a space character. |
| Enables audio flow if |
| Destination IPv4 address. The default value is |
| Destination port. The default value is |
| Indicates the RTP (Real-time Transfer Protocol) Payload ID to capture. Used when RTP Payload ID is set to |
| Indicates the threshold for generating the time interval between the IP packets alarm on the main IP stream. For audio, the range is from |
| Specifies the type of filtering applied to the source list when IGMPv3 is used. Valid values for
|
| Lists IPv4 addresses to be included or excluded separated by a space character. |
| Uses track count to specify the number of tracks for the incoming IP stream if |
| Specifies the number of tracks for the incoming IP stream. Valid values for
|
| Indicates the duration of the incoming audio packet. The packet size (in samples) can be computed using the sample rate (48000 samples/sec) and the packet duration. Valid values for
|
| Destination IPv4 address. The default value is |
| Destination port. The default value is |
| Indicates the threshold for generating the time interval between the IP packets alarm on the main IP stream. For audio, the range is from |
| Specifies the type of filtering applied to the source list when IGMPv3 is used. Valid values for
|
| Lists IPv4 addresses to be included or excluded separated by a space character. |
| Enables ANC flow if |
| Destination IPv4 address. The default value is |
| Destination port. The default value is |
| Indicates the RTP (Real-time Transfer Protocol) Payload ID to capture. Used when RTP Payload ID is set to true. The default value is |
| Indicates the threshold for generating the time interval between the IP packets alarm on the main IP stream. For ancillary data, the range is from |
| Specifies the type of filtering applied to the source list when IGMPv3 is used. Valid values for
|
| List of IPv4 addresses to be included or excluded separated by a space character. |
| Destination IPv4 address. The default value is |
| Destination port. The default value is |
| Indicates the threshold for generating the time interval between the IP packets alarm on the main IP stream. For ancillary data, the range is from |
| Specifies the type of filtering applied to the source list when IGMPv3 is used. Valid values for
|
| List of IPv4 addresses to be included or excluded separated by a space character. |
SFP
[sfp]
can be A or B and it refers to the SFP cage.
Note: These parameters are board-wide, meaning that any change done affects any other instances of any application that is using the board. The values for these parameters should be the same for every instance of Channel Recorder that is using the board.
Variable | Value |
---|---|
| Sets IPv4 address. The default value is |
| Sets IPv4 gateway. The default value is |
| Sets IPv4 netmask. The default value is |
| Enable DHCP protocol. |
| Specifies a datagram's priority and request a route for low-delay, high-throughput, or highly-reliable service. The default value is |
| Specifies the type of network delay mechanism to use for the time server connection. Valid values for
The default value is |
| Specifies the type of internet protocol mode to use for the time server connection. Valid values for
|
| Specifies the master clock domain number. The default value is |
| Specifies the announce receipt time. |
| Indicates the type of membership request made when IPv4 address is a multicast address. Valid values for
The default value is |
| Specifies the type of filtering applied to the source list when IGMPv3 is used. Valid values for
|
| List of IPv4 addresses to be included or excluded separated by a space character. |
2059
Variable | Value |
---|---|
| Specifies the BMCA (Best Master Cock Algorithm) used to select the genlock over IP signal. |
PROCESS
Variable | Value |
---|---|
| Sets the process priority class. The values correspond to the Windows process priority. Valid values for
The default value is |
CAPTURE
All the configuration below requires a channel restart. This can be achieved by restarting the service or by calling MAIN CONNECTOR SELECT while Channel Recorder is running.
Variable | Value |
---|---|
| Sets the root folder for the captured files. If the filename in command |
| Enables detection of UHDTV signals. When set to |
| Uses the 10-bit surface format V210. This is needed to record XAVC. It also increases performance when for example recording ProRes. This surface format is not supported on the Matrox X.mio2+. This flag must be set before selecting a connector using |
| Specifies the colorimetry to be used to be able to record in HDR. By default, ITUR_BT_601 is used for SD resolution and ITUR_BT_709 for HD and UHD resolution. |
| Turns off VBI recording. The default value is |
| Sets the default resolution. Format of
The default value is |
| Specifies if an UHD signal is single-link or quad-link. For quad-link inputs, this also specifies how the signal is split. Only used with X.mio5/DSX.LE5 SDI. Valid values are:
|
| Specifies the aspect ratio for SD resolution. Available sources are:
|
| Specifies the input source of an alias node. Available sources are:
|
| Specifies the time in milliseconds before the channel is restarted after detecting a change in resolution. |
| Enable or disable restarting after detecting a change in resolution. |
| Enable or disable resolution detection. |
| Specifies the source of the alias node which specify from which output or input connector the application records. |
TEST
Variable | Value |
---|---|
| Sets the number of audio channels to record. How many channels are actually recorded depends on the codec and the input signal. |
MANAGER
Variable | Value |
---|---|
| Sets the size of the capture ring buffer. The default value is |
| Sets the timeout for the capture operation in milliseconds. If the recorder reports timeout errors, increasing the timeout could help. Refer to Data Types for information on time code formatting. |
PERSISTENCE
Variable | Value |
---|---|
| Turns on persistence for operational data like the config and the timeline. Network changes done by NMOS persist through service restarts. The default value is |
| Sets the interval, at which the data is written to the disk. The value is in seconds and fractions of seconds, meaning both |
SCHEDULER
Variable | Value |
---|---|
| Sets the number of writers to initialize. More writers cause more memory usage. This flag must be set before selecting a connector |
| If a timed command missed the execution time, but is still within the trigger threshold, it is executed late. Outside of this window it is just ignored until the next time the timecode is received. The value can either be a number of frames or a timecode based relative value. The default value is 5 frames. |
| Specifies the timecode source. Available sources are:
|
| When enabled the last timecode written to the file is the defined out point of the recording. The default value is NO/FALSE/OFF. |
| When enabled each field / frame uses the timecode calculated from the system time in case of TIME_OF_DAY and ATC/VITC / ATC/LTC embedded in the fields / frames if this is chosen as timecode source. This option is useful to support DST (Daylight Saving Time) or when the input's timecode is expected to have gaps and this must be kept in the recorded file. StartTC will not work when this is enabled. The default value is NO/FALSE/OFF. |
LOG
Variable | Value |
---|---|
| Specifies the interval at which the current timecode is logged. The value can either be a number of frames or a timecode-based relative value. The default value is |
CLIP
For the following parameters to take effect Channel Recorder does not need to be restarted, however, a new recording must be issued.
Variable | Value |
---|---|
| Enables or disables automatically adding a file extension to the file name. If this feature is turned off, the client application has full control over the file name. The default value is |
| Sets the container type of the recorded file. With the container type, a default codec is also set. By setting the container type, a valid recording can be started. Available container types are:
Note: To utilize the TDIR capabilities of the ProRes codec with a .mov container in Viz Engine, you must use the .Ref-file Note: When container is XDCAMMXF, the default codec is XDCam which is HD422. The default bitrate for XDCam, XDCamEX and XDCamHD are |
| Sets the codec type of the recorded file. By setting the codec type, default values for bitrate and audio are also set. These values can be changed (Refer to the Supported Codecs for further details). Not all codec types are available with all container types. Available codec types are:
Note: To utilize the TDIR capabilities of the ProRes codec with a .mov container in Viz Engine, you must use the .Ref-file. Note: When container is XDCAMMXF, the default codec is XDCam which is HD422. The default bitrate for XDCam, XDCamEX and XDCamHD are |
| Sets the bitrate for the video encoding. The value can either be applied as bits per second or as Megabits per second. Not all codecs allow changes to the bitrate. In such cases, |
| Sets the default value for the recording start time. The initial value is empty. |
| Sets the default value for the recording stop time. The initial value is empty. |
| Sets the default value for the recording duration. The initial value is |
| Sets the default value for the starting timecode. The value must be in timecode format: |
| Sets the number of audio channels to record. How many channels are actually recorded depends on the codec and the input signal. |
| Sets the size of data blocks written to the disk in byte. Postfixes like KiB, Kb, k, etc., are allowed, but must not be separated from the value with a blank space (see example).
Example: |
| Activates variable bit rates for codecs which support it (currently XAVC only). The default setting is |
| Sets the default behavior of TDIR (Time Delayed Instant Replay). The default setting is |
| Sets the interval of file header updates in TDIR recordings. The value is in seconds and fractions of seconds, meaning both Warning: To secure proper operation with Viz Engine, this value must not exceed |
| Sets the TDIR duration to -1 while the file is growing if enabled. The initial value is |
| Updates the modification time of the recorded clip regardless of TDIR value. The initial value is |
| Sets the default behavior at the end of the recording. |
CLOCK
Variable | Value |
---|---|
| Defines the type of clock used. Valid values for
Note: |
| Uses the flywheel in case of genlock loss, if genlock is used. The default value is |
| Sets the timeout for the genlock flywheel in seconds. This defines the time until the genlock switches to free run, as well as the maximum time the flywheel can use to resynchronize. The initial value is |
IPOUT
Variable | Value |
---|---|
| Enables video flow if |
| Sets destination IPv4 address. The default value is |
| Sets destination port. The default value is |
| Indicates the RTP (Real-time Transfer Protocol) Payload ID to capture. Used when RTP Payload ID is set to true. The default value is |
| Enables audio flow if |
| Sets destination IPv4 address. The default value is |
| Sets destination port. The default value is |
| Indicates the RTP (Real-time Transfer Protocol) Payload ID to capture. Used when RTP Payload ID is set to true. The default value is |
| Uses track count to specify the number of tracks for the outgoing IP stream if |
| Specifies the number of tracks for the incoming IP stream. Valid values for
The default value is |
| Indicates the duration of the incoming audio packet. The packet size (in samples) can be computed using the sample rate (48000 samples/sec) and the packet duration. Valid values for
The default value is |
| Enables ANC flow if |
| Sets destination IPv4 address. The default value is |
| Sets destination port. The default value is |
| Indicates the RTP (Real-time Transfer Protocol) Payload ID to capture. Used when RTP Payload ID is set to |
| Enables SMPTE 352 packets if |
COMMUNICATION
Command | Description |
---|---|
| Sets the port of the command interface. A port can only be set once. |
| Prints this list of available commands. |
| Sets the port for the MVCP communication. This command is required to initialize MVCP. |
EXIT
Command | Description |
---|---|
| Stops all channels, clean up the hardware and stop the service. |