DEV Community


Posted on • Updated on

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 $; end
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

nabbisen profile image

Hi, anabero. Thank you for your information with the link.
That's the first to me. I'll try it 😊
Well, I have often felt impressed to know mobile apps have got much more convenient...