0

I'm new to ffmpeg, sorry if this was asked before already but I can't find the exact solution I'm looking for.

So I have a 250MB .mkv file with subs

And I want to turn it into a .mp4 file with burned in subtitles.

I have found this solution FFMPEG mkv to mp4 conversion loses subtitles

Where they offer:

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

Which works!

But, that makes me end up with 180MB .mp4 file that takes a very noticable hit to the quality with a lot of squares/artifacts popping up in motion on the video.

Is there way similar to this option? ffmpeg -i input.mkv -c copy -c:s mov_text output.mp4

Where I still get a .mp4 file with burned in subtitles but the audio and video quality are the same as source? With the same bitrate and also constant and not variable framerate?

Thank you!

1 Answers1

0

No, you can not burn in subtitles without transcoding. You must also set a bitrate, or quality option if you want to control the quality.

ffmpeg -i input.mkv -vf subtitles=input.mkv -c:v libx264 -preset slow -crf 22 -c:a copy output.mp4

szatmary
  • 3,903