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 (3)

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...

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git