# 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 `[Session]` section, add a new task by setting the `EngineN` parameter. You can give the task any name, for example:

       [Session]
       Engine0=Ingest
       Engine1=RollingBuffer

3. Create a new configuration section to contain the task settings, and 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).
   `AudioProfile` | The audio encoding profile to use.
   `VideoProfile` | The video encoding profile to use.

   For example:

       [RollingBuffer]
       Type=RollingBuffer
       Stream=NewsChannel
       AudioProfile=mpeg4audio
       VideoProfile=mpeg4video_h264_sd

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

_FT_HTML5_bannerTitle.htm