Endpoint to merge audio, video and subtitles in fal ai

Problem

First i was merging an audio and video using https://queue.fal.run/fal-ai/ffmpeg-api/merge-audio-video but i want to start having subtitles displayed in the video while the audio is playing. So i added a subtitles link to be publicly accessible in an s3 bucket (.srt file) like the audio and video link but i’m wondering if there’s an endpoint in fal ai that merges the 3 of them i found this endpoint fal-ai/ffmpeg-api/compose but i’m not sure if it will get the work done, If not is there another solution to add those subtitles in my merged video.

Workflow

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • Running n8n via Docker
  • Operating system: Macos
1 Like

Hello, Fal does have some endpoints for FFmpeg, but I don’t see anything that specifically handles adding subtitles..

If you’re self-hosting, using FFmpeg directly is probably your best approach, as it gives full control over merging video, audio, and subtitles..

Otherwise, there are some paid services like Creatomate and a few others that can handle this for you.

1 Like