From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 00:21:18 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 6ED20E7F for ; Sun, 7 Dec 2014 00:21:18 +0000 (UTC) Received: from icp-osb-irony-out4.external.iinet.net.au (icp-osb-irony-out4.external.iinet.net.au [203.59.1.220]) by mx1.freebsd.org (Postfix) with ESMTP id DF924639 for ; Sun, 7 Dec 2014 00:21:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AngGAEqcg1R8lVcA/2dsb2JhbABZgwaBKrNSAQEBAQEBBpkWAoEOFgEBAQEBfYQDAQEDATo/BQsLDRQlDwUYMROIMgjUOwEBAQEGAQEBAR6GJ4ooB4MhgRUFlV+Df4ZhKIw3hAMrMIJDAQEB X-IronPort-AV: E=Sophos;i="5.07,531,1413216000"; d="scan'208";a="387284119" Received: from unknown (HELO smtp.phoenix) ([124.149.87.0]) by icp-osb-irony-out4.iinet.net.au with ESMTP; 07 Dec 2014 08:21:09 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 201715B2; Sun, 7 Dec 2014 11:21:08 +1100 (AEDT) Date: Sun, 7 Dec 2014 11:21:08 +1100 From: andrew clarke To: Polytropon Subject: Re: Dropping audio in ffmpeg conversion Message-ID: <20141207002108.GA96985@ozzmosis.com> References: <20141206234358.0b17f55f.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141206234358.0b17f55f.freebsd@edvax.de> User-Agent: Mutt/1.5.23 (2014-03-12) 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 00:21:18 -0000 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