3

I want to copy from the source mkv-file the video stream (only once) and the German audio stream and all subtitles if available. The Problem is that sometimes is the video stream copied twice in the output-mkv-file. I have following:

ffmpeg -y -i input.mkv -map 0:v:0 -map 0:m:language:ger -map 0:s? -c copy output.mkv

What must I change?

2

Use

ffmpeg -y -i input.mkv -map 0:v:0 -map 0:a:m:language:ger -map 0:s? -c copy output.mkv

You'll need ffmpeg 4.2 or newer.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.