From owner-freebsd-questions@FreeBSD.ORG Sat Dec 6 22:44:02 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 9CBFD1E5 for ; Sat, 6 Dec 2014 22:44:02 +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 5E276BC2 for ; Sat, 6 Dec 2014 22:44:02 +0000 (UTC) Received: from r56.edvax.de (port-92-195-18-117.dynamic.qsc.de [92.195.18.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 07DD53CC07 for ; Sat, 6 Dec 2014 23:43:58 +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 sB6MhwVM010658 for ; Sat, 6 Dec 2014 23:43:58 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 6 Dec 2014 23:43:58 +0100 From: Polytropon To: FreeBSD Questions Subject: Dropping audio in ffmpeg conversion Message-Id: <20141206234358.0b17f55f.freebsd@edvax.de> 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 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: Sat, 06 Dec 2014 22:44:02 -0000 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, ...