Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2014 04:13:49 +0100
From:      Polytropon <freebsd@edvax.de>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Dropping audio in ffmpeg conversion
Message-ID:  <20141207041349.9617643c.freebsd@edvax.de>
In-Reply-To: <20141207002108.GA96985@ozzmosis.com>
References:  <20141206234358.0b17f55f.freebsd@edvax.de> <20141207002108.GA96985@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Dec 2014 11:21:08 +1100, andrew clarke wrote:
> On Sat 2014-12-06 23:43:58 UTC+0100, Polytropon (freebsd@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
> 
> ffmpeg -i in.avi -an out.mp4
> 
> Order of the arguments is important. This won't work as expected:
> 
> ffmpeg -an -i in.avi out.mp4

Thanks to all who answered - this is exactly what I needed,
and it works as expected. You may conclude the amount of my
stupidity by the fact that I did _not_ find this in "man ffmpeg",
even though an explicit search for "-an" answered the question. ;-)

By the way, the SYOPSIS on top of "man ffmpeg" states the
fact that input options come first, _then_ output options.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141207041349.9617643c.freebsd>