From owner-freebsd-questions@freebsd.org Sun Oct 30 00:42:58 2016 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 7B2D9C1DA7A for ; Sun, 30 Oct 2016 00:42:58 +0000 (UTC) (envelope-from freebsd@edvax.de) 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 3EAA2B92 for ; Sun, 30 Oct 2016 00:42:57 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-250-109.dynamic.qsc.de [92.195.250.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 54EC43CDDC; Sun, 30 Oct 2016 02:42:55 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u9U0gsIn004522; Sun, 30 Oct 2016 02:42:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 30 Oct 2016 02:42:54 +0200 From: Polytropon To: "Brandon J. Wandersee" Cc: freebsd-questions@freebsd.org Subject: Re: LAME Package Question Message-Id: <20161030024254.0040d84c.freebsd@edvax.de> In-Reply-To: <86r36yof35.fsf@gmail.com> References: <20161028213914.0876d1cf@KoggyBSD.org> <20161029053035.7801824a.freebsd@edvax.de> <86eg2zszef.fsf@gmail.com> <20161030020935.9536133b.freebsd@edvax.de> <86r36yof35.fsf@gmail.com> 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2016 00:42:58 -0000 On Sat, 29 Oct 2016 19:28:14 -0500, Brandon J. Wandersee wrote: > > Polytropon writes: > > > On Sat, 29 Oct 2016 16:46:24 -0700, Mehmet Erol Sanliturk wrote: > >> On Sat, Oct 29, 2016 at 12:55 PM, Brandon J. Wandersee < > >> brandon.wandersee@gmail.com> wrote: > >> > >> > > >> > Polytropon writes: > >> > > >> > > There might be alternatives: "toolame" and "twolame" are present > >> > > in the ports collection. They probably have packages available. > >> > > Maybe you can use one of them to replace "lame"? > >> > > >> > Those are both MP2 encoders, while LAME is an MP3 encoder. > >> > > >> [...] > >> I can not say anything about why MP3 is needed , but considering the > >> following page may deduce that there are free and usable licensed > >> alternatives ( some intermediary steps may be used : for example : Convert > >> MP3 to WAV , Play WAV ) ( Please consider other links in that page ) : > >> > >> > >> https://en.wikipedia.org/wiki/Comparison_of_free_software_for_audio > >> ( Comparison of free software for audio ) > > > > The "lame" _encoder_ is utilized by many other programs. Its > > absence might cause problems for example for the following > > construct: youtube-dl -> ffmpeg -> lame. So if there is a > > way to switch from "lame" to a different encoder which can > > be installed via "pkg install", the installing & updating > > problem could be solved. > > Also, LAME is itself open-source and is widely considered *the* standard > MP3 audio encoder, while MP3 is widely considered *the* standard digital > audio format. I think that is the main reason why "lame" is in use for so many cases, as stand-alone program and as dependency or library (e. g. libmp3lame <- ffmpeg <- youtube-dl). > As a side note, transcoding MP3 to WAV---or any other lossy format to > any other loss-less format---isn't really a good idea. Except you want to create audio CDs from MP3 files (to play them in a device that doesn't read MP3 data CDs). :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...