I have an mkv with multiple subtitle streams. I know I can use mkvextract to extract one of those subtitle streams to a file, for example, sub.srt. I can then burn those subtitles into the new video with ffmpeg like so:
Code:ffmpeg -i video.mkv -vf subtitles=sub.srt out.mp4
I also know I can use -map to select video, audio, and subtitle tracks and encode those into the new video, again something like so:
Code:ffmpeg -i video.mkv -map 0:0 -map 0:1 -map 0:4 -c:v copy -c:a copy -c:v copy out.mp4
However, what I can't figure out is how to transcode a video and burn in the subtitles into the new file (not just adding a subtitle track, but burning them into the video) not by reading it from a subtitle file but directly from the old video stream itself.
Any ideas?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
-
See https://trac.ffmpeg.org/wiki/How%20to%20burn%20subtitles%20into%20the%20video .
The last step. Maybe it only works for picture based subs.
Similar Threads
-
Burn MKV files with Subtitle to DVD
By Zhuge Liang in forum Authoring (DVD)Replies: 1Last Post: 23rd Feb 2012, 03:38 -
Link a subtitle with an audio track (MKV)
By Hansio in forum Blu-ray RippingReplies: 0Last Post: 26th Aug 2011, 05:20 -
How to Remove subtitle track from .MKV ?
By Clifurd in forum SubtitleReplies: 2Last Post: 13th May 2011, 23:32 -
how to add a subtitle track file to an mkv file???
By Sh@DY in forum Video ConversionReplies: 2Last Post: 16th Sep 2010, 19:57 -
Trying to burn an mkv with subtitles, but the subtitles don't burn properly
By geramul in forum Newbie / General discussionsReplies: 15Last Post: 1st Sep 2010, 19:12