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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 15 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.