Open topic with navigation

# Write Video to a Rolling Buffer

To write ingested video to a rolling buffer, follow these steps.

To write video to a rolling buffer

1. Create a new configuration to send to Media Server with the `process` action, or open an existing configuration that you want to modify.

2. In the `[Encoding]` section, add a new encoding task and a configuration section for the task:

       [Encoding]
       EncodingEngine0=RollingBufferEvidential

       [RollingBufferEvidential]

3. 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).

4. 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

5. Save and close the configuration file. Micro Focus recommends that you save your configuration files in the location specified by the `ConfigDirectory` parameter.

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm