I have a directory full of short video clips in .AVI format, and I want to remove the audio from all of them. I'm using Ubuntu 12.04.
I tried this command:
find -name '*.avi' -exec ffmpeg -i {} -an -vcodec copy {} \;
But while it did remove the audio, it also reduced each clip down to just a few frames. They are originally about 1 to 2 minutes long each, and should stay that way.
This might just be because ffmpeg can be buggy sometimes. Or maybe there's a better way of formatting the syntax.
In any case, whether it's with ffmpeg or a different command, is there a way I can reliably remove the audio from a bunch of clips without changing the video in any way?