Reputation: 203
I've been trying to extract subtitles from an mp4 file but I can't get the output format right.
I have reason to believe that this is an image based subtitle format.
What's the correct command the extract the subtitles so that I can view the subtitle images?
Thank you!
Upvotes: 1
Views: 2227
Reputation: 119
The OP asked to extract subpictures, not text subtitles. The correct command to extract subpictures would be something like this:
ffmpeg -i src.m4v -c copy -map 0:2 dest.en.sup
Change the "2" in the parameters to -map to select the track with subpictures.
If you do have text subtitles (as opposed to subpictures) to extract, this will work:
ffmpeg -i src.m4v -c srt -map 0:2 dest.en.srt
Upvotes: 0