From owner-freebsd-questions@freebsd.org Fri Jan 5 07:08:02 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B93EEB8428 for ; Fri, 5 Jan 2018 07:08:02 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id B625C79CDC for ; Fri, 5 Jan 2018 07:08:00 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 39906285 for freebsd-questions@freebsd.org; Fri, 05 Jan 2018 13:03:10 +0600 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w0577tdk022211 for ; Fri, 5 Jan 2018 14:07:57 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w0577qix022210 for freebsd-questions@freebsd.org; Fri, 5 Jan 2018 14:07:52 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 5 Jan 2018 14:07:52 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-ID: <20180105070752.GA22162@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> <20180104175156.440fa0c2.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180104175156.440fa0c2.freebsd@edvax.de> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 07:08:02 -0000 Polytropon wrote: > On Thu, 4 Jan 2018 23:34:21 +0700, Victor Sudakov wrote: > > What do you convert ape and flac audio files to mp3 with? > > > > multimedia/ffmpeg does not seem to support encoding to mp3 (only > > decoding), what else could I try? > > Huh? I'm using ffmpeg regularly to convert from mp4 or flv _to_ mp3, > this works quite well. Maybe you need to install an additional encoder, > plugin, or library if you're lacking mp3 support? > > % ffmpeg -i example.flv example.mp3 > > It does what it says on the can. Works for years. :-) I have built ffmpeg-3.4.1_1,1 and holy sh*t! That's what it is trying to install on a headless machine: # pkg install ffmpeg Updating sibptus repository catalogue... sibptus repository is up to date. All repositories are up to date. The following 43 package(s) will be affected (of 0 checked): New packages to be INSTALLED: ffmpeg: 3.4.1_1,1 fontconfig: 2.12.1,1 freetype2: 2.8_1 gnutls: 3.5.16 trousers: 0.3.14_1 tpm-emulator: 0.7.4_2 gmp: 6.1.2 p11-kit: 0.23.9 libtasn1: 4.12 nettle: 3.4 xvid: 1.3.4,1 libx264: 0.148.2795 libvpx: 1.6.1_2 libvdpau: 1.1.1 libXext: 1.3.3_1,1 xproto: 7.0.31 xextproto: 7.3.0 libXau: 1.0.8_3 libX11: 1.6.5,1 libxcb: 1.12_2 libXdmcp: 1.1.2 libxml2: 2.9.7 libpthread-stubs: 0.4 kbproto: 1.0.7 libva: 2.0.0_1 libXfixes: 5.0.3 fixesproto: 5.0 v4l_compat: 1.6.3 mesa-libs: 17.3.0 libxshmfence: 1.2_2 libXxf86vm: 1.1.4_1 xf86vidmodeproto: 2.3.1 libXdamage: 1.1.4_3 damageproto: 1.2.1 libdrm: 2.4.88,1 libpciaccess: 0.13.5 pciids: 20171206 libunwind: 20170113_1 libv4l: 1.6.3_2 jpeg-turbo: 1.5.2 libtheora: 1.1.1_7 libvorbis: 1.3.5_1,3 opencv-core: 2.4.13.1_1 I definitely don't want all that X11 stuff there. What have I missed while building it? I most certainly have OPTIONS_UNSET=X11 im make.conf. I feel there are some knobs I need to disable before building. Do you happen to know which ones? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859