Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

How do I Drop audio from a MKV with DTS encoding? I am using this command avconv -i Movie.mkv -c:v copy movie.mp4.

I know the command would include the codec command but I don't know how to use it.

share|improve this question

2 Answers 2

up vote 14 down vote accepted

Looks like the option -an should do the trick. Just ran a file, confirmed, new file had no sound.

-an (output)
   Disable audio recording.


share|improve this answer

To my understanding the -an parameter will simply drop audio from the output. If thats not what you wanted, then you need to use the -map command and specify how individual streams from different sources should be mapped to the output. The following example takes only the first stream from the first file (usually video) and audio from the second file.

avconv -i input0.mkv -i input1.m4a -map 0:0 -c:v copy -map 1 -c:a copy output.mp4
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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