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?

1 Answer 1



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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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