From owner-freebsd-questions@freebsd.org Thu Jan 4 17:52:04 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 3D555EA9670 for ; Thu, 4 Jan 2018 17:52:04 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from bca5.email-od.com (bca5.email-od.com [207.246.239.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B8817635F for ; Thu, 4 Jan 2018 17:52:03 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1515088325; x=1517680325; h=x-thread-info:date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; bh=J/47T64oL2cyJj/7614Kgspi9jDFD75s6HHDnXzkLjI=; b=U4FEAoVT3Ko4Go9O23iwIIkTp7bzdRNvBi+0DsnFaO6mpUZBrNysToYizK/zloXIIg148YJbtchPfYUUgHmFwCFQPspxgal13huzio22EFrlqipnynXzDU9ENjLSxYzlEexF2dhvsL/RnWwLmXfcBfqTuovf24iFluqkFqIdOHc= X-Thread-Info: NDI1MC4xMi44MTAwMDAwMTQyOTgxMC5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r5.us-east.aws.in.socketlabs.com (r5.us-east.aws.in.socketlabs.com [52.204.195.176]) by bca2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 11:51:51 -0500 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r5.us-east.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 4 Jan 2018 11:51:48 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1eX8k6-000AVD-4O; Thu, 04 Jan 2018 16:51:46 +0000 Date: Thu, 4 Jan 2018 16:51:45 +0000 From: Steve O'Hara-Smith To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Convert .flac and .ape to mp3 Message-Id: <20180104165145.57260d5690b958a46390b9d9@sohara.org> In-Reply-To: <20180104163421.GA15692@admin.sibptus.transneft.ru> References: <20180104163421.GA15692@admin.sibptus.transneft.ru> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) X-Clacks-Overhead: "GNU Terry Pratchett" 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.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 17:52:04 -0000 On Thu, 4 Jan 2018 23:34:21 +0700 Victor Sudakov wrote: > Dear Colleagues, > > 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? The package doesn't support creating mp3 files for legal reasons, but if you build the port and enable the LAME option then you can encode mp3s with ffmpeg. Alternatively you can build the lame port decode to pcm (or wav) and then encode with lame. I'm fairly sure that all the mp3 encoders require building ports for legal reasons. -- Steve O'Hara-Smith