What's the easiest way to convert from FLAC to MP3s on Linux (Debian Sarge)? I have music stored in FLAC format that I need a separate copy of in MP3 format for a portable device. A solution involving something like 'flac -d <file> | <good mp3 encoder>' would do as I could then script it, but the ideal world be a tool where I could say "Oy, you! Take these flac files and put them here as mp3s would you? There's a good chap!" Command-line is another requirement as my box doesn't run x and has no head.
Ta muchly!
PS It's too late for whatever that encoder it is that encodes to multiple formats - I've done my ripping.
Results 1 to 7 of 7
Thread: Converting FLAC into mp3s
-
2005-04-11, 13:36 #1
Converting FLAC into mp3s
Some people think the title of this song is irrelevant,
but it's not irrelevant - it's a hippopotamus.
-
2005-04-11, 16:55 #2
What OS does your personal machine run? Just because the music server is running Linux doesn't mean the conversion needs to be done there. So long as you can access the directories from a Windows box.
I'm in the process of developing a Windows VBS script, "flac2mp3.vbs" that will be run from the command line and can mirror a flac file, complete directory, or entire directory tree to files in mp3 format. It uses flac.exe and then metaflace.exe (to extract tag info) and lame.exe.
If your server runs Linux, but you have a Windows machine on the network then this might be feasible for you. There are undoubtedly also other existing options for you if you do the conversion on a Windows machine.
________
silver surfer reviewsLast edited by JJZolx; 2011-01-22 at 01:36.
-
2005-04-11, 19:01 #3Pat FarrellGuest
Converting FLAC into mp3s
On Mon, 2005-04-11 at 13:36 -0700, max.spicer wrote:
> What's the easiest way to convert from FLAC to MP3s on Linux (Debian
> Sarge)? I have music stored in FLAC format that I need a separate copy
> of in MP3 format for a portable device. A solution involving something
> like 'flac -d <file> | <good mp3 encoder>' would do as I could then
flac -d * | lame -
will work just fine
What else do you need?
You might want to look at my flac2mp3.pl file
on http://www.pfarrell.com/music/slimse...msoftware.html
it handle wildcards and a couple of extra stuff, nothing
that you can't do with shell commands, but it does make it easier
Pat
--
Pat pfarrell (AT) pfarrell (DOT) com
HTTP://www.pfarrell.com
-
2005-04-12, 02:03 #4
Originally Posted by JJZolx
Some people think the title of this song is irrelevant,
but it's not irrelevant - it's a hippopotamus.
-
2005-04-12, 02:05 #5
Originally Posted by Pat Farrell
Some people think the title of this song is irrelevant,
but it's not irrelevant - it's a hippopotamus.
-
2005-04-12, 08:27 #6
Re: Converting FLAC into mp3s
On Tue, 2005-04-12 at 02:05 -0700, max.spicer wrote:
> Pat Farrell Wrote:
> > flac -d * | lame - will work just fine
> > What else do you need?
> I'm guessing that that wouldn't preserve metadata.
true.
You would need some combination of metaflac to extract the data
and whatever id3 tagger you like for reinserting it.
--
Pat
http://www.pfarrell.com/music/slimse...msoftware.html
-
2005-04-21, 16:48 #7
- Join Date
- Apr 2005
- Posts
- 15
here's some software
If you run Linux, or want to run Cygwin/X with Perl on Windows, this software is getting pretty useful...
http://www.seatofthepants.net/?_d=_s2
It does three things that are really useful... first, it will copy most tags from FLAC to mp3 when doing the initial transcoding. Second, if the file hasn't changed, it doesn't do anything. (Some scripts will just always convert everything in a given directory.) Third, it will check to see if just the tags have changed, and if so, just update the tags (not do the conversion again).
It has some shortcomings, notably if a directory is moved, or deleted, there can be stuff in the mp3 output directory which isn't really supposed to be there... but it does about 90% of what I need a script to do...