Use the ffmpeg build extension to include FFmpeg in your project
ffmpeg
build extension to your build process:
ffmpeg
that is available in the Debian package manager (via apt
).
{ version: "7" }
to the extension. This will install a static build of FFmpeg 7.x instead of using the Debian package:
FFMPEG_PATH
and FFPROBE_PATH
to your environment variables, making it easy to use popular ffmpeg libraries like fluent-ffmpeg
.
Note that fluent-ffmpeg
needs to be added to external
in your trigger.config.ts
file.
Follow this example to get setup with Trigger.dev and FFmpeg in your project.