falomarine.blogg.se

Ffmpeg copy video audio and subtitles
Ffmpeg copy video audio and subtitles





ffmpeg copy video audio and subtitles ffmpeg copy video audio and subtitles

I've tried all sorts of variants using c:s (not even sure if that's the right way to call subtitle tracks), but the results I get tend to be worse than what I already have (when I do get them to run they seem to be missing, so they can't even play).

ffmpeg copy video audio and subtitles

The topics online out there about subtitles tend to map all the streams to accomplish this or they talk about importing subtitles, neither of these I want, but even if I try to map all the subtitle tracks I get an error saying that filtering and stream copying can't be used together.Ĭommand I'm running: $ ffmpeg -i color.mkv -vf colorchannelmixer=.3.4.3:0.3.4.3:0.3.4.3 \ I'm running a filter to turn the video to greyscale (taken from ffmpeg documentation), which works fine, and by default it's picking the right audio stream, so I'm good there, but it also seems to be picking the first subtitle track, which is not the subtitle track I want. I want to turn it to greyscale, just use the first audio track, and use the eng subtitle track 6 (according to ffmpeg -i this is labeled as stream 0:11) mkv with 1 video stream, 2 audio streams, and 12 subtitle tracks.







Ffmpeg copy video audio and subtitles