Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 can I strip the audio track out of a video file with FFmpeg?

share|improve this question

migrated from Apr 10 '11 at 10:06

This question came from our site for professional and enthusiast programmers.

up vote 73 down vote accepted

You remove audio by using the -an flag.

ffmpeg -i example.mkv -c copy -an example-nosound.mkv

Full ffmpeg documentation here.

share|improve this answer

You probably don't want to reencode the video (a slow and lossy process), so try:

ffmpeg -i [input_file] -vcodec copy -an [output_file]

(n.b. some Linux distributions now come with the avconv fork of ffmpeg)

share|improve this answer
avconv -i [input_file] -vcodec copy -an [output_file]

If you cannot install ffmpeg because of existing of avconv try that .

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.