IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
How can I mass-convert FLAC+cue images to mp3 individual tracks?
ech3
post Aug 17 2012, 01:34
Post #1





Group: Members
Posts: 120
Joined: 13-December 01
Member No.: 632



I have thousands of albums in FLAC+cue (single image) format on an external drive.

I'd like to convert all those to separate mp3 tracks on another drive with the same directory structure.

For example:

g:\The Beatles - Abbey Road\abbey road.cue (abbey road.flac is there too)

convert that to:

h:\The Beatles - Abbey Road\01 Come Together.mp3
h:\The Beatles - Abbey Road\02 Something.mp3
...

Doing this one album at a time would be excruciating. I'm looking for a batch solution (or a command line program or script) that I can let run unattended for as long as necessary.

I don't think Foobar2K can do this. Maybe CueTools can, I'm a novice with that program.

I'm using Windows XP Pro or Windows 7.

Thanks!
Go to the top of the page
+Quote Post
db1989
post Aug 17 2012, 01:37
Post #2





Group: Super Moderator
Posts: 5147
Joined: 23-June 06
Member No.: 32180



QUOTE (ech3 @ Aug 17 2012, 01:34) *
I don't think Foobar2K can do this.

Yes, foobar2000 can do this. Why did you think it couldn’t?

Load cuesheets; use Converter with LAME and your chosen formatting pattern for the destination filenames.

QUOTE
Maybe CueTools can, I'm a novice with that program.
Probably, but it sounds like you’re already more familiar with foobar2000.
Go to the top of the page
+Quote Post
ech3
post Aug 17 2012, 02:55
Post #3





Group: Members
Posts: 120
Joined: 13-December 01
Member No.: 632



I know F2K can create new subdirectories during conversion based on artist name, album name, etc from the cue sheet but is there a way to have it use a matching subdirectory on another drive? (the identical path name, just a different drive letter)

Unfortunately, my cue sheets aren't as consistent as I'd like.

I was able to come up with a simple dos batch file that *almost* worked. It was only able to convert the entire .flac image to one .mp3 image. I couldn't figure out the splitting part:

FOR /R %%I IN (*.flac) DO flac -d -c "%%I" | lame -V 5 --vbr-new - "F:%%~pI%%~nI.mp3"
Go to the top of the page
+Quote Post
Kohlrabi
post Aug 17 2012, 08:14
Post #4





Group: Super Moderator
Posts: 953
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



$substr(%path%,4,255)

This post has been edited by Kohlrabi: Aug 17 2012, 08:18


--------------------
Audiophiles live in constant fear of jitter.
Go to the top of the page
+Quote Post
Venyos
post Sep 8 2012, 23:51
Post #5





Group: Members
Posts: 17
Joined: 15-April 06
From: Lloret De Mar
Member No.: 29575



Still looking for answer or you did the job?


--------------------
Listening to music is the best pastime.


Go to the top of the page
+Quote Post
ech3
post Sep 9 2012, 00:49
Post #6





Group: Members
Posts: 120
Joined: 13-December 01
Member No.: 632



Still looking for an answer....

Go to the top of the page
+Quote Post
flaminio
post Sep 9 2012, 02:16
Post #7





Group: Members
Posts: 20
Joined: 24-May 09
Member No.: 70075



QUOTE (ech3 @ Sep 8 2012, 16:49) *
Still looking for an answer....


I think xrecode2 can do this -- http://xrecode.com
Go to the top of the page
+Quote Post
eahm
post Sep 9 2012, 02:50
Post #8





Group: Members
Posts: 882
Joined: 11-February 12
Member No.: 97076



The ONLY one that keeps the exact path of the original files with folders and everything is Easy CD-DA Extractor. I personally don't like software that doesn't let you change/upgrade/100% manually configure the codec, also I have no idea if Easy CD-DA Extractor works with CUE files, I'm sure it does, you have to try it.

Good alternatives: foobar2000 does the job perfectly, just play with the variables and CueTools is perfect as well.

This post has been edited by eahm: Sep 9 2012, 03:12
Go to the top of the page
+Quote Post
Venyos
post Sep 9 2012, 08:24
Post #9





Group: Members
Posts: 17
Joined: 15-April 06
From: Lloret De Mar
Member No.: 29575



QUOTE (ech3 @ Sep 9 2012, 01:49) *
Still looking for an answer....


my skype is Venysv, or send me mail, ill explain you in real time


--------------------
Listening to music is the best pastime.


Go to the top of the page
+Quote Post
pharm
post Sep 10 2012, 13:42
Post #10





Group: Members
Posts: 2
Joined: 2-August 10
Member No.: 82716



QUOTE (ech3 @ Sep 9 2012, 00:49) *
Still looking for an answer....


If you're up to installing lame, perl and metaflac on your machine, then I have a perl script which takes flacs with an embedded cue sheet and spits out mp3 files in appropriately named directories.

It was written for my own personal use though, so it's a bit rough around the edges. I'll stick it up on github if anyone wants to take a look at it.
Go to the top of the page
+Quote Post
Maggi
post Sep 10 2012, 14:14
Post #11





Group: Members
Posts: 119
Joined: 31-May 07
Member No.: 43892



uhm ... I use foobar2000's converter

just drag your cuesheets into a new playlist
right click that playlist -> contents -> convert
adjust your encoder settings
set "Destination" to the parent folder that contains the "artist - album" folders, so in your case h:\
enable "Generate multi-track files" using this pattern: %artist% - %album%\%track% %title%
save as preset for later use and let it run
Go to the top of the page
+Quote Post
ech3
post Sep 17 2012, 02:17
Post #12





Group: Members
Posts: 120
Joined: 13-December 01
Member No.: 632



Thanks for the suggestions on Foobar2K everyone. After messing around with it some more and using your suggestions, I think I have the solution:

In the Converter Setup/Destination window use the Output Path/Specify Folder option and change it to "G:\Jazz" (i.e. the parent directory)

In the "Output Style and file name formatting" section, use the option: Convert each track to an individual file.

Specify the name format: %directoryname%/%tracknumber% - %title%

The part I had been missing was the %directoryname% parameter. My own fault for not R-ing TFM.

This post has been edited by ech3: Sep 17 2012, 02:23
Go to the top of the page
+Quote Post
eahm
post Sep 17 2012, 02:47
Post #13





Group: Members
Posts: 882
Joined: 11-February 12
Member No.: 97076



Glad to know Easy CD-DA Extractor isn't the only one after all smile.gif I've setup my foobar2000 in a perfect way for my use and hopefully I will never need to change it again.

This post has been edited by eahm: Sep 17 2012, 03:38
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th April 2014 - 03:10