From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kxlw0-0006xf-Bx for garchives@archives.gentoo.org; Wed, 05 Nov 2008 17:12:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3976E03C2; Wed, 5 Nov 2008 17:12:46 +0000 (UTC) Received: from mail-gx0-f18.google.com (mail-gx0-f18.google.com [209.85.217.18]) by pigeon.gentoo.org (Postfix) with ESMTP id 723ECE03C2 for ; Wed, 5 Nov 2008 17:12:46 +0000 (UTC) Received: by gxk11 with SMTP id 11so290gxk.10 for ; Wed, 05 Nov 2008 09:12:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=I2dkamSmU2kGoHcc2dDMcjpYDmhmqkR1rt3LBbAvpwQ=; b=bFapyI59eARRc6Qhhq0VDs/FXgKf5/QR8ngoHQ4UCtPlZYcO8scn7LsnOeSlIs+/V0 J3BXjq7u90lPH766lnmJDE0G/hjTgszaPk4dnENKannJfKnPcQzEgnWdxpw3E/kDGnvn xLbEVwGpx62hfaWDv6TG1x3P6xIAvnueMUa9c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=mmKGvQcSJxXsSc1Hd8Ra/VEttgFqZHJo+mlEUFmS7vL+4QUkUeg7X8sH49m+6Z+EBm AC2UJ0MAL+GOBFTqsj1/PU09seVy2YMjl+mhHB3SEbgaXmbRXGm68wRUee3SgqnazqR1 9/v85racNwDUVsKhaJ6jm8vtq1sOEiyG2L09o= Received: by 10.90.68.12 with SMTP id q12mr885971aga.30.1225905164287; Wed, 05 Nov 2008 09:12:44 -0800 (PST) Received: by 10.90.81.1 with HTTP; Wed, 5 Nov 2008 09:12:44 -0800 (PST) Message-ID: <38af3d670811050912u27d19e36t909ceb2724961de3@mail.gmail.com> Date: Wed, 5 Nov 2008 15:12:44 -0200 From: "Jorge Peixoto de Morais Neto" Sender: jorgepeixotomorais@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] FLAC to mp3 converters? In-Reply-To: <5bdc1c8b0811041004k41ee926h9bba478c10c8117a@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bdc1c8b0811041004k41ee926h9bba478c10c8117a@mail.gmail.com> X-Google-Sender-Auth: 8a02939ef3ee1491 X-Archives-Salt: e51b842e-633d-41c2-9b7e-841d6e780acb X-Archives-Hash: b652caca1c298ba1a1dca93a16745fb0 On Tue, Nov 4, 2008 at 4:04 PM, Mark Knecht wrote: > Hi, > I'm wondering if anyone has a good way to convert a large hierarcy > of directories populated with FLAC files to a new set of directories > using mp3 instead? The FLAC directory contains something like 20000 > files so I need the converted structure to replicate the original. > Most likely the tool has to be very tolerant of file naming, unicode, > etc., as there are likely to be any number of strange things in there. > > Possibly something in perl or, for the likes of me, even something GUI based. I wouldn't trust something GUI-based; it would probably call the mp3 encoder with suboptimal default settings. I would write a script myself. For flac decoding use (of course) media-libs/flac; for mp3 encoding, media-sound/lame. You can probably chain them in a pipe, using flac -dc infile.flac | mp3lame - outfile.mp3 . Read lame's man page and write a shell (or perhaps python/perl) script.