---
title: "FFmpeg Preprocessor Filter Guide"
description: "A plug and play module capable of watermark preprocessing as a video filter for FFmpeg."
---
> For the complete documentation index, see [llms.txt](https://docs.doverunner.com/llms.txt).

Doverunner provides FFmpeg based video filter capable of preprocessing i.e. generating the A/B variant of video easily without complex integration. The filter is a plug and play module once installed that can be used directly with FFmpeg command.

```mermaid
flowchart TB
  subgraph grp_b["Encoder"]
    direction LR
    A@{ icon: "doverunner-video", form: "square", h: 72, label: "Source video" } -->|Frame image| B@{ icon: "doverunner-encoder", form: "square", h: 72, label: "FFmpeg" }
    X@{ icon: "doverunner-plugin", form: "square", h: 72, label: "Doverunner's watermark video filter" } --> B
    B -->|Two sets of frame with 0, 1 marked| C@{ icon: "doverunner-variants", form: "square", h: 72, label: "Encoded result (two MP4 videos)" }
  end
  subgraph grp_d["Packager"]
    direction LR
    D@{ icon: "doverunner-package", form: "square", h: 72, label: "DASH or HLS packaging" } --> E@{ icon: "doverunner-variants", form: "square", h: 72, label: "Packaging result (two set of streaming content)" }
  end
  C --> D
```

## Requirements

- OS: Ubuntu 22.04, 24.04
- CPU: Intel CPU
- GPU: Not required, but encoding speeds up when present
- RAM: 16GB or higher
- FFmpeg version: FFmpeg 5.x, 6.x, 7.x (build and use FFmpeg and related libraries and video filter directly from the script provided. Ensure that the environment is setup properly.)

## Restrictions & Usage

According to Doverunner Watermark specification, GOP should be set to a predefined value based on FPS. The method of setting GOP is different for each encoder, the details of the same are provided as part of the Readme file included in the filter delivery.

For more information on installing, usage and copy of the FFmpeg video filter please 
<a href="https://doverunner.com/contact-us/" target="_blank" class="btn btn-primary">Contact Us</a>.