Thursday | 21 NOV 2024
[ previous ]
[ next ]

Burning in Subtitles with ffmpeg

Title:
Date: 2024-04-01
Tags:  

First make sure you have libass enabled, otherwise you will need to convert the srt files to ass.

ffmpeg -version | grep libass

Then you can do:

ffmpeg -i input.mp4 -vf subtitles=input.srt output.mp4

This will take a bit as it needs to go frame by frame and burn in the subtitles.