<p>Use</p>

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

<p>You'll need ffmpeg 4.2 or newer.</p>

CC BY-SA 4.0
2019-12-12T18:53:49.937Z
2019-12-12T18:53:49.937Z
Gyan
<p>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:</p>

<pre><code>ffmpeg -y -i input.mkv -map 0:v:0 -map 0:m:language:ger -map 0:s? -c copy output.mkv
</code></pre>

<p>What must I change?</p>

<ffmpeg>
ffmpeg output file includes two video sequences but input file only one
JörgBanda
# ffmpeg output file includes two video sequences but input file only one

(Asked by: username_0 on 2019-12-12)

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?

**Tags:** ffmpeg


---

## 1 answers

### Answer by username_1 on 2019-12-12. Score: 2 | Accepted answer

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.


---

