From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 03:13:59 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E78D3EEE for ; Sun, 7 Dec 2014 03:13:59 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A81C26BF for ; Sun, 7 Dec 2014 03:13:59 +0000 (UTC) Received: from r56.edvax.de (port-92-195-5-37.dynamic.qsc.de [92.195.5.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id A222D3CE8F; Sun, 7 Dec 2014 04:13:50 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sB73DnDo003069; Sun, 7 Dec 2014 04:13:49 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 7 Dec 2014 04:13:49 +0100 From: Polytropon To: andrew clarke 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> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2014 03:14:00 -0000 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, ...