ffmpeg: remove audio from movie

nabbisen

nabbisen

Posted on August 9, 2019

ffmpeg: remove audio from movie

ffmpeg is an open source command-line tool that enables us to convert audio or video formats.

-an option disables audio recording.
You can remove audio from movie:

$ ffmpeg -i example.mp4 -an example-nosound.mp4
Enter fullscreen mode Exit fullscreen mode

Beside, an instant one-liner program to process multiple files with fish shell is like this:

$ for x in ./*.mp4; ffmpeg -i $x -an $x.no-sound.mp4; end
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
nabbisen
nabbisen

Posted on August 9, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ffmpeg: remove audio from movie
movie ffmpeg: remove audio from movie

August 9, 2019