FFmpeg is built in Function Compute. If the FFmpeg version cannot meet your business requirements, you can install FFmpeg of a specified version by using the following methods:
If your function is created by using a container image, you can fully customize your runtime environment.
If you use a built-in runtime or a custom runtime to create a function, you must download FFmpeg of the amd64 version from FFmpeg and package it into a code package or layer. For more information about packaging layers, see Build a .zip file for a layer.
NoteBefore you compress a code package, run commands such as
chmod +x ffmpegto grant FFmpeg executable permissions.