Login to follow
FFmpeg

FFmpeg (ODC)

Stable version 0.1.3 (Compatible with ODC)
Uploaded on 9 Feb by Caio Magalhães
FFmpeg

FFmpeg (ODC)

Documentation
0.1.3

This component does not include an FFmpeg binary. You are responsible for supplying your own FFmpeg build and ensuring it complies with your licensing and operational requirements.


Preparing your FFmpeg build

  1. Obtain a Linux x64 FFmpeg build packaged as an archive (.7z, .zip, .tar, .tar.gz, or .tar.xz).
  2. Host this archive in a location that can be accessed via HTTP only by your application.
    • Do not expose the archive publicly. Making it freely downloadable may be interpreted as redistributing FFmpeg, which can have licensing implications depending on the build you choose.
    • Protect the download URL (for example, by requiring an access token or using a private storage endpoint).
    • Avoid referencing third-party public URLs that you do not control. If that URL becomes unavailable, your application will no longer be able to install FFmpeg.


Installing FFmpeg at runtime


Before attempting to execute any FFmpeg command in ODC, follow this pattern:

  1. Call FFmpeg_IsInstalled to verify whether FFmpeg is already available.

  2. If it is not installed, call FFmpeg_Install and pass the URL of your private archive.

  3. Once installed, you may safely start FFmpeg tasks using the component APIs.

    • ODC External Logic runs in ephemeral containers. When a container is recycled, any previously installed FFmpeg binary is lost. Your application must always follow the check → install if missing → execute pattern, as installation may be required multiple times over the lifetime of the app.