From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 00:02:48 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75D1BC4B for ; Sun, 7 Dec 2014 00:02:48 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41CFA29B for ; Sun, 7 Dec 2014 00:02:48 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id ey11so2951228pad.38 for ; Sat, 06 Dec 2014 16:02:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=SDfWzkDfvalc0qzk5hNX3SkZCpZrWbCdECHN8ZtXM60=; b=TBOPDpGruLJ4+ySAfVRgk16PhndWYrINykXgGvXhn5avAsjcDFHG4hrcKtAIXv8QLO QbBD05uiPxnZ0hb7vv3aMSEhRH4SnLiH8C3YttyLgVbAFipZkOh0Jj3l5BwP/2DwnoBI DdE+Fq6KKdSvsUlpylf5+kKjt2XTA/UYkXJ4wpo9v+Xt4vQbRli8RGlQ3p04VnliVR2B f8+HXUCe2nd/tDB7YEKIIr5k/cFm7M8xLQGHewbX40td4klz3ygxn1du6OeRW8mYrAaA u6EklstOqAuQYJi6h2FR9YkVA1E8l5ln/tofl8d53AbDJ8GPrhdu3pRroL84RQKoIfOx RBbw== X-Received: by 10.66.124.196 with SMTP id mk4mr40429428pab.144.1417910567679; Sat, 06 Dec 2014 16:02:47 -0800 (PST) Received: from [192.168.111.116] ([120.29.118.234]) by mx.google.com with ESMTPSA id yp5sm31585111pbb.16.2014.12.06.16.02.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Dec 2014 16:02:46 -0800 (PST) Message-ID: <54839927.10002@gmail.com> Date: Sun, 07 Dec 2014 08:02:47 +0800 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "William A. Mahaffey III" Subject: Re: Dropping audio in ffmpeg conversion References: <20141206234358.0b17f55f.freebsd@edvax.de> <548399D1.8070405@hiwaay.net> In-Reply-To: <548399D1.8070405@hiwaay.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 00:02:48 -0000 William A. Mahaffey III wrote: > On 12/06/14 17:17, Waitman Gobble wrote: >> On Sat, Dec 6, 2014 at 2:43 PM, Polytropon 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@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> I think it's -an switch. >> > > Out of curiosity from this thread, I decided to install ffmpeg & > possibly play around w/ it. Here's the transcript: > > [root@kabini1, /etc, 12:20:50pm] 332 % pkg install -y ffmpeg > Updating FreeBSD repository catalogue... > Fetching meta.txz: 100% 968 B 1.0k/s 00:01 > Fetching digests.txz: 100% 2 MB 341.9k/s 00:06 > Fetching packagesite.txz: 100% 5 MB 354.7k/s 00:15 > Removing expired repository entries: 100% > Processing new repository entries: 100% > FreeBSD repository update completed. 23602 packages processed: > 17694 updated, 147 removed and 41 added. > Updating FreeBSD_new_xorg repository catalogue... > FreeBSD_new_xorg repository is up-to-date. > > nspluginwrapper-1.4.4_4 is locked and may not be modified > The following 15 packages will be affected (of 0 checked): > > New packages to be INSTALLED: > ffmpeg: 2.3.5_3,1 [FreeBSD] > linux_base-f10: 10_9 [FreeBSD] > linux-f10-xorg-libs: 7.4_1 [FreeBSD] > linux-f10-fontconfig: 2.6.0_1 [FreeBSD] > linux-f10-expat: 2.0.1_1 [FreeBSD] > linux-f10-pango: 1.28.3_1 [FreeBSD] > linux-f10-png: 1.2.37_2 [FreeBSD] > linux-f10-cairo: 1.8.0_3 [FreeBSD] > linux-f10-gtk2: 2.14.7_5 [FreeBSD] > linux-f10-tiff: 3.8.2 [FreeBSD] > linux-f10-jpeg: 6b [FreeBSD] > linux-f10-atk: 1.24.0_1 [FreeBSD] > schroedinger: 1.0.11_3 [FreeBSD] > libx264: 0.142.2455 [FreeBSD] > opencv-core: 2.4.9_1 [FreeBSD] > > The process will require 209 MB more space. > 33 MB to be downloaded. > Fetching ffmpeg-2.3.5_3,1.txz: 100% 8 MB 380.5k/s 00:24 > Fetching linux_base-f10-10_9.txz: 100% 16 MB 366.0k/s 00:48 > Fetching linux-f10-xorg-libs-7.4_1.txz: 100% 1 MB 316.6k/s 00:05 > Fetching linux-f10-fontconfig-2.6.0_1.txz: 100% 118 kB 121.1k/s 00:01 > Fetching linux-f10-expat-2.0.1_1.txz: 100% 65 kB 67.2k/s 00:01 > Fetching linux-f10-pango-1.28.3_1.txz: 100% 274 kB 281.3k/s 00:01 > Fetching linux-f10-png-1.2.37_2.txz: 100% 150 kB 154.2k/s 00:01 > Fetching linux-f10-cairo-1.8.0_3.txz: 100% 353 kB 361.8k/s 00:01 > Fetching linux-f10-gtk2-2.14.7_5.txz: 100% 3 MB 351.0k/s 00:09 > Fetching linux-f10-tiff-3.8.2.txz: 100% 241 kB 247.5k/s 00:01 > Fetching linux-f10-jpeg-6b.txz: 100% 115 kB 118.1k/s 00:01 > Fetching linux-f10-atk-1.24.0_1.txz: 100% 144 kB 148.0k/s 00:01 > Fetching schroedinger-1.0.11_3.txz: 100% 396 kB 405.9k/s 00:01 > Fetching libx264-0.142.2455.txz: 100% 407 kB 208.4k/s 00:02 > Fetching opencv-core-2.4.9_1.txz: 100% 1 MB 401.3k/s 00:04 > Checking integrity... done (11 conflicting) > Checking integrity... done (0 conflicting) > Conflicts with the existing packages have been found. > One more solver iteration is needed to resolve them. > The following 5 packages will be affected (of 0 checked): > > Installed packages to be REMOVED: > nspluginwrapper-1.4.4_4 > > New packages to be INSTALLED: > schroedinger: 1.0.11_3 [FreeBSD] > libx264: 0.142.2455 [FreeBSD] > opencv-core: 2.4.9_1 [FreeBSD] > ffmpeg: 2.3.5_3,1 [FreeBSD] > > The process will require 49 MB more space. > > nspluginwrapper-1.4.4_4 is locked and may not be modified > whew !!!! that took (43.233 cpu + 5.569 sys) sec., 2:50.10 elapsed > time tot, 28.6% CPU efficiency > (207 text, 2549 data, 46500 max) KB, (0+1411) io, 7318 pfs + 0 > swaps > [root@kabini1, /etc, 6:03:18pm] 333 % > > in short, it tried to install linux-f10, rather than relying on > linux-c6 .... pkg bug ? ffmpeg package bug ? pilot error ? TIA for any > clarifications .... > I also have this problem.