Dropping audio in ffmpeg conversion

Waitman Gobble gobble.wa at gmail.com
Sat Dec 6 23:17:28 UTC 2014

On Sat, Dec 6, 2014 at 2:43 PM, Polytropon <freebsd at edvax.de> wrote:

> I'm searching for a convenient way to drop audio from
> an AVI file (video and audio) upon conversion to MP4.
> My tool of choice is ffmpeg, which works perfectly fine
> with the default options:
>         % ffmpeg -i in.avi out.mp4
> The quality loss, the "pixelated" and "blocky" output
> is what I expect, and the result file is small. I just
> can't find a way to get rid of audio (which I don't
> need). Reading "man ffmeg" told me about "sinks" which
> "do nothing", but I'm too stupid to conclude how to use
> them properly. What I want to have is a converted video
> with no audio track at all (also smaller file size).
> Can ffmpeg do this, or do I have to "preprocess" the
> input file with mencoder somehow?
> Does anybody know how to proceed?
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"

I think it's -an switch.

Waitman Gobble
Los Altos California USA

More information about the freebsd-questions mailing list