

You will get an output that something like this: What if we want to get a different subtitle? First we need to figure out the track number for that subtitle by running ffmpeg ‑i input_file.

This command will grab the default subtitle track and export it as a srt file: Let’s take a look at one of the lesser-known (and kinda unexpected) features.įFmpeg can easily extract embedded subtitles from videos. FFMpeg is the swiss army knife of video editors and motion artists worldwide.
