FFmpeg Preprocessor Filter Guide


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

%%{ init: { 'flowchart': { 'curve': 'bumpX' } } }%%
graph LR;
    subgraph Encoder
    B`[Pallycon's watermark video filter]--> B
    style B` fill:#f96,stroke:#333,stroke-width:4px
    A[Source video] -->|Frame image| B(FFmpeg)
    B -->|Two set of frame<br>with 0, 1 marked| C["Encoded result<br>(two MP4 videos)"]
    C --> D(DASH or<br>HLS packaging)
    subgraph Packager
    D --> E["Packaging result<br>(two set of streaming content)"]


  • OS: Ubuntu 18.04, 20.04
  • CPU: Intel CPU
  • GPU: Not required, but encoding speeds up when present
  • RAM: 16GB or higher
  • FFmpeg version: FFmpeg 4.x, FFmpeg 5.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 Pallycon 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 Contact Us.