Browse - Computer Tips - How can I remove the audio from a video file?

Date: 2016jun13
Product: ffmpeg
Keywords: mute, silent

Q.  How can I remove the audio from a video file?


A.  Use the -an option of ffmpeg like this:

ffmpeg -i INPUT-FILE -vcodec copy -an OUTPUT-FILE
For example:
ffmpeg -i original_video.mp4 -vcodec copy -an silent_video.mp4
Breakdown of the options:
-i original_video.mp4 This is the name of the input video -vcodec copy Just copy the video, don't change it at all. -an Audio none silent_video.mp4 This is the name of the output video.
To install ffmpeg on RedHat/Fedora/CentOS:
dnf install ffmpeg