The record command is used to create and manage video recordings. For more information, see Configuring Recording Outputs and Managing Recordings.
Synopsis
|
|
Actions
|
Action |
Description |
|---|---|
|
create |
Creates a recording for a stream. A series of one or more parameter=value pairs can be specified at once. See Parameters below. |
|
start |
Starts recording a stream. |
|
stop |
Stops recording a stream. |
|
close |
Closes a recording of a stream |
|
get |
Displays information on the recording. You can specify configuration, stats, or all recording information. Tip To display a summary of all the streams in a table format, you can use record all get table. |
|
list |
Lists the available recordings on the system. |
|
delete |
Deletes either the recording specified by |
|
copy |
Copies the recording specified by |
|
move |
Moves the recording specified by |
Parameters
|
Parameter |
Default |
Description/Values |
|---|---|---|
|
|
|
The identifying prefix for recorded files. If not specified, the stream name or ID will be used. |
|
|
ts |
The file format for recordings, either:
|
|
|
|
The recording duration or size, ex 1h30m, 500M |
|
|
|
Enables segmented recording by specifying the duration or size of each segment. |
|
|
off |
When segmented recording is enabled and the recording is limited in space or time, this enables the overwriting of older segments when that limit is reached. |
|
|
off |
When recording in mp4 format, this enables the generation of SubRip files to save any closed caption present in the stream being recorded. |
|
|
off |
Starts recording directly at recording creation time. The IDs of recordings always match the ID of the stream associated with it. |
|
|
off |
Exports recordings and segments automatically when they are complete. |
|
|
|
The destination of recording transfers when export is enabled.
|
|
|
off |
Deletes recordings when they are successfully transferred. The IDs of recordings always match the ID of the associated stream. |
Examples
|
Records information for the recording, for example:
|
|
Lists the available recordings, for example:
|
Related Topics