Linux – Changing subtitle format with ffmpeg

ffmpeglinuxsubtitles

How can I change the subtitle format of a movie to .srt for example?

I have any movie (sound, video and an embedded subtitle). I just want to change the subtitles to .srt while leaving everything else the same. If there is a better way to do that than with ffmpeg, then I'd be fine with that too.

Current state

audio codec: x, video codec: y, subtitle format: z

Desired state

audio codec: x, video codec: y, subtitle format: .srt

Best Answer

FFmpeg has a SubRip encoder, so

ffmpeg -i input.mkv -c copy -c:s srt out.mkv
Related Question