Skip to content

Commit 89bf11c

Browse files
committed
Adds note to add fluent-ffmpeg to external
1 parent d19e501 commit 89bf11c

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

docs/config/config-file.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,8 @@ export default defineConfig({
659659

660660
This extension will also add the `FFMPEG_PATH` and `FFPROBE_PATH` to your environment variables, making it easy to use popular ffmpeg libraries like `fluent-ffmpeg`.
661661

662+
Note that `fluent-ffmpeg` needs to be added to [`external`](/config/config-file#external) in your `trigger.config.ts` file.
663+
662664
Follow [this example](/guides/examples/ffmpeg-video-processing) to get setup with Trigger.dev and FFmpeg in your project.
663665

664666
#### esbuild plugins

docs/guides/examples/ffmpeg-video-processing.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export default defineConfig({
3636

3737
You'll also need to add `@trigger.dev/build` to your `package.json` file under `devDependencies` if you don't already have it there.
3838

39+
If you are modifying this example and using popular FFmpeg libraries like `fluent-ffmpeg` you'll also need to add them to [`external`](/config/config-file#external) in your `trigger.config.ts` file.
40+
3941
## Compress a video using FFmpeg
4042

4143
This task demonstrates how to use FFmpeg to compress a video, reducing its file size while maintaining reasonable quality, and upload the compressed video to R2 storage.

docs/guides/frameworks/supabase-edge-functions-database-webhooks.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ export default defineConfig({
270270
if you don't already have it there.
271271
</Note>
272272

273+
If you are modifying this example and using popular FFmpeg libraries like `fluent-ffmpeg` you'll also need to add them to [`external`](/config/config-file#external) in your `trigger.config.ts` file.
274+
273275
### Add your Deepgram and Supabase environment variables to your Trigger.dev project
274276

275277
You will need to add your `DEEPGRAM_SECRET_KEY`, `SUPABASE_PROJECT_URL` and `SUPABASE_SERVICE_ROLE_KEY` as environment variables in your Trigger.dev project. This can be done in the 'Environment Variables' page in your project dashboard.

0 commit comments

Comments
 (0)