To write ingested video to a rolling buffer, follow these steps.
To write video to a rolling buffer
Create a new configuration or open an existing configuration to send to Media Server with the process
action. Alternatively, you can modify the Media Server configuration file (mediaserver.cfg
).
In the [Encoding]
section, add a new encoding task and a configuration section for the task:
[Encoding] EncodingEngine0=RollingBufferEvidential [RollingBufferEvidential]
In the new section, set the following parameters:
Type
|
The type of engine to use. Set this parameter to RollingBuffer . |
Stream
|
The name of the rolling buffer to write video to. You must have created the rolling buffer (see Set Up Rolling Buffers). |
Decide whether to store an evidential copy of the video or encode the video so that it is optimized for storage and playback:
To store an evidential copy of the video, set the following parameter:
EvidentialMode
|
To write an evidential copy of the video to the rolling buffer, set EvidentialMode=true . Media Server ignores any encoding settings defined for this task, but you must also set AudioInput=none and ImageInput=none . |
To store an encoded (non-evidential) copy of the video, set the following parameters:
AudioProfile
|
The audio encoding profile to use. |
VideoProfile
|
The video encoding profile to use. |
For example:
[Encoding] EncodingEngine0=RollingBufferEvidential EncodingEngine1=RollingBufferCompressed [RollingBufferEvidential] Type=RollingBuffer Stream=evidential EvidentialMode=true ImageInput=none AudioInput=none [RollingBufferCompressed] Type=RollingBuffer Stream=compressed AudioProfile=mpeg4audio VideoProfile=mpeg4video_h264_sd
|