record
The record
command is used to create and manage video recordings. For more information, see Configuring Recording Outputs and Managing Recordings.
Synopsis
record create stream=id |
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 <filename> or all recordings. |
copy | Copies the recording specified by <filename> to a USB device |
move | Moves the recording specified by <filename> to a USB device and deletes the recording from the encoder. |
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
# record all get Records information for the recording, for example: Recording ID : 1 |
# record list Lists the available recordings, for example: Recordings (in /mnt/storage1/recordings/): 9 recordings are available. |
Related Topics