FFmpeg for Communities

Last update: 2023-12-06
  • Created for:
  • Admin


FFmpeg is a solution for converting and streaming audio and video and, when installed, is used for proper transcoding of video assets.

Installing FFmpeg

FFmpeg should be installed on the server(s) hosting the AEM author instance(s).

  1. Go to https://www.ffmpeg.org.

  2. Download the latest version of FFmpeg for your specific environment (Macintosh, Windows, or Linux).

    • It is important to keep FFmpeg up-to-date due to security vulnerabilities in older versions.
  3. Install FFmpeg following instructions for the OS.

  4. Make sure the FFmpeg executable is set in your system path.

    You should be able to run FFmpeg from any directory in your system.

    • For example, ffmpeg -version.

Configure FFmpeg Transcoding Service

By default, when FFmpeg is installed, multiple renditions are configured (transcodings) as per the DAM Update Asset workflow definition.

As the transcodings are CPU intensive, it is recommended to modify the list of target renditions. In most cases, transcoding is not necessary.

To modify the DAM Update Asset workflow, and in this example, to turn off transcoding:

  • Sign into the author instance with administrative privileges.

  • From global navigation, navigate to Tools > Workflow > Models.

  • Locate DAM Update Asset.

  • Double-click to open the workflow for edit in the Classic UI.

    Resulting location: http://localhost:4502/cf#/etc/workflow/models/dam/update_asset.html

  • Double-click the FFmpeg transcoding step to access the Step Properties dialog.

  • Under the Process tab:

    • Arugments: Clear all entries to disable transcoding Default values: profile:format_ogg,profile:format_aac,profile:format_flv,profile:format_aac_ie


  • Select OK to close the Step Properties dialog.

  • Select Save to save the DAM Update Asset workflow.

On this page