FFmpeg is a solution for converting and streaming audio and video and, when installed, is used for proper transcoding of video assets.
FFmpeg should be installed on the server(s) hosting the AEM author instance(s).
Go to https://www.ffmpeg.org.
Download the latest version of FFmpeg for your specific environment (Macintosh, Windows, or Linux).
Install FFmpeg following instructions for the OS.
Make sure the FFmpeg executable is set in your system path.
You should be able to run FFmpeg from any directory in your system.
ffmpeg -version
.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:
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.