Help - Search - Members - Calendar
Full Version: Create Flac IMAGE from wave tracks?
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
brainsoft
Is there a way using the usual compliment of console tools to take WAV tracks (and a cue sheet i assume) and convert it into a single flac IMAGE (i'd also like the cue embedded)?

This question comes from trying to have my cake and eatting it to while Using REACT 2.0 and AccurateRip. I have to rip to tracks to utilize AccurateRip, but I'd rather have a single FLAC IMAGE file with embedded everything for my lossless library. The mp3 tracks aren't a problem, but I'd like to edit my REACT config files to and get the best of both worlds.

Any suggestions? It's nice being able to rip in burst mode with AccurateRip because it's so quick and most of my cds are in good shape, but I really want single file albums for my archives!

Can it be done? Or should I just forget about AccurateRip and get started with secure mode ripping?

edit: After reading around some more (in the AutoFLAC thread) I've come across a possible reason to stick with image creation. I've never heard of the possibility of a hidden track at track 01 index 00, but as most things will start at index 01 I'm not surprised. I wonder if any of my cds have such a sneaky treat. I'd like to have exact copies of my cds, but if I didn't know about them before am I actually loosing anything this way?
Empyrean
QUOTE(brainsoft @ Mar 25 2007, 09:50) *

edit: After reading around some more (in the AutoFLAC thread) I've come across a possible reason to stick with image creation. I've never heard of the possibility of a hidden track at track 01 index 00, but as most things will start at index 01 I'm not surprised. I wonder if any of my cds have such a sneaky treat. I'd like to have exact copies of my cds, but if I didn't know about them before am I actually loosing anything this way?


Cases have been found where such a track does exist. It is not typical. Whether you knew about this before, or not, has nothing to do with whether this track could exist on the CDs you own. It is not probable, but it is possible.

QUOTE(brainsoft @ Mar 25 2007, 09:50) *

Is there a way using the usual compliment of console tools to take WAV tracks (and a cue sheet i assume) and convert it into a single flac IMAGE (i'd also like the cue embedded)?


Of course. The easiest way is to use foobar2000. Load up all the Waves in foobar, in their correct order, and highlight them all. Then right-click, select Convert -> "Convert to Album Images with Cuesheet". This will combine all of the Waves into a single wave and generate the appropriate cuesheet. The cuesheet will only have the technical indexing data, so you'll have to go in manually and add the track titles and other information. Then you can compress this Wave using FLAC and embed the cuesheet.

QUOTE(brainsoft @ Mar 25 2007, 09:50) *

Can it be done? Or should I just forget about AccurateRip and get started with secure mode ripping?


I think the easiest way really is to use secure mode ripping. If you want individual tracks to go back and make MP3s from, you can use EAC's "Split Wav by cuesheet" function to generate the individual songs to encode.
brainsoft
I'm looking for a console means to do this, so I can automate it with React. I'm working on getting the last few kinks out of my react config before i start ripping in earnest. I think there will be a version of accuraterip that will do album checks as well as track checks sometime in the future but I've not been able to find more solid information than that.
greynol
Check out shntool.
Empyrean
Another tool I've used for this is CueMake, and it is a command line tool. In two instances it was not able to combine the Waves... it gave an unrecoverable "Overflow" error. That is why I just use fb2k now. However, this is only rare I need to do this, since I obtain full-images from EAC.
brainsoft
QUOTE(greynol @ Mar 25 2007, 14:35) *

Check out shntool.


This should looks like it can do what I want, maybe even in one step since it supports flac. I'll play with this after I get the other bugs worked out. I've added it to the collection in the meantime though, so thanks!

i wish accuraterip just worked for images too, things would be so much easier!
Deep_Elem
To add the track titles into the cuesheet, use the freedb.org tagging feature in foobar2000 or mp3tag.
brainsoft
QUOTE(Deep_Elem @ Mar 25 2007, 21:45) *

To add the track titles into the cuesheet, use the freedb.org tagging feature in foobar2000 or mp3tag.


After some playing around i'm starting to get discouraged. I've not had any luck yet, here's what i'd like to do


Rip a cd as a wav image
Rip a cd as wav tracks, (verified by AccurateRip)
Join those wav tracks into a single image

compare the reference wav image with the created wav image to verify they are the same.

If I was able to do that recombine waves via console into an identical image then I could configure React to rip to tracks (verifying them with Accurate Rip), then convert the tracks directly to mp3 but also convert the wav tracks and to an accurate certifiec flac image for my archives.

I don't know if this is possible, but from the sounds of things that is all the dbpoweramp guys will be doing with accuraterip when they finally add image ripping support. Don't see that we should have to wait if we can do it ourselves now. I've spent all afternoon ripping and reripping and converting reference files with different applications but I'm not getting anywhere yet. console joining based on the eac cuesheet is the key here.
greynol
Why is a single-file image so important to you?
brainsoft
QUOTE(greynol @ Mar 25 2007, 23:43) *

Why is a single-file image so important to you?


one single file with embedded cue and cover is so much neater than having a folder and a bunch of files for each album. I've already got that for my portable collection via mp3, I'd rather keep my archive nice and simple. I know there are many others out there who would also like to have the assurance of accuraterrip and the convenience of image archives.

I've done some more testing, making the different types of cue sheets with EAC and using fb2k to convert them to flac images, then decoding them to wavs and comparing to the reference wav image in EAC but have not had any luck. fb2k won't load the non-compliant cue so i'm not sure how to test if that plus the ripped wav tracks is equilvalent to the original wav image.

I'll play more at this tomorrow
odyssey
Cuetools are able to take the cue and wav you have now and convert to a single wav file and corresponding cue sheet including all INDEX'es
Ryushi
QUOTE(brainsoft @ Mar 25 2007, 06:50) *
[...]
Any suggestions? It's nice being able to rip in burst mode with AccurateRip because it's so quick and most of my cds are in good shape, but I really want single file albums for my archives!

Can it be done? Or should I just forget about AccurateRip and get started with secure mode ripping?
[...]

Hi Brainsoft,

there seems to be a way to rip an image and test single tracks from this image against AccurateRip (preferable against the local DB).

Look here: http://www.hydrogenaudio.org/forums/index....showtopic=53556
Some interesting post from the above thread:
QUOTE(spoon @ Mar 21 2007, 07:17) *
You could lookup wavefiles if you have a cue sheet.

QUOTE(greynol @ Mar 21 2007, 09:59) *
[...]
I actually do check images that I've ripped previously (as a single file or as seperate tracks, it doesn't matter) against the AR database but will not share how for this very reason. I make sure to never submit results from previously ripped tracks but I have no way of keeping someone else from doing this.

and as the howto use knowledge is keep away from the general public maybe this thread will help you:
http://www.hydrogenaudio.org/forums/index....showtopic=53583
QUOTE(Christopher Key @ Mar 21 2007, 00:39) *
Hello All,
I've throw together a pure perl script that calculates the track checksums for a cue/wav file pair and then checks them against the AccurateRip database. [...]

Cya Ryushi
brainsoft
This looks like exactly what I've been looking for, and it's very new too.

Now I just need to figure out how to rip images that will actually verify with that script
Deep_Elem
QUOTE(brainsoft @ Mar 25 2007, 23:25) *

QUOTE(Deep_Elem @ Mar 25 2007, 21:45) *

To add the track titles into the cuesheet, use the freedb.org tagging feature in foobar2000 or mp3tag.


Rip a cd as a wav image
Rip a cd as wav tracks, (verified by AccurateRip)
Join those wav tracks into a single image

compare the reference wav image with the created wav image to verify they are the same.
<snip>


Why on earth would you do this? You don't need to rip twice.
  • Just rip the CD as individual tracks in EAC and verify with accuraterip
  • Use EAC to create the cue sheet for an image file. EAC can do this without ripping the CD
  • Use EAC or shntool to join the ripped tracks into one track at the end. (You don't need to compare two image files. If the tracks were verified by accuraterip they will be fine when you join them together.)
  • Compress image file to flac, wavepack or other lossless codec
brainsoft
QUOTE(Deep_Elem @ Mar 28 2007, 00:02) *

QUOTE(brainsoft @ Mar 25 2007, 23:25) *

QUOTE(Deep_Elem @ Mar 25 2007, 21:45) *

To add the track titles into the cuesheet, use the freedb.org tagging feature in foobar2000 or mp3tag.


Rip a cd as a wav image
Rip a cd as wav tracks, (verified by AccurateRip)
Join those wav tracks into a single image

compare the reference wav image with the created wav image to verify they are the same.
<snip>


Why on earth would you do this? You don't need to rip twice.
  • Just rip the CD as individual tracks in EAC and verify with accuraterip
  • Use EAC to create the cue sheet for an image file. EAC can do this without ripping the CD
  • Use EAC or shntool to join the ripped tracks into one track at the end. (You don't need to compare two image files. If the tracks were verified by accuraterip they will be fine when you join them together.)
  • Compress image file to flac, wavepack or other lossless codec


Verifying them is not going to be part of the regular routine, just to be used until I know that the process is working correctly. My ripped image should be exactly the same as the verified joined waves and cue sheet. When this starts happening I know it's being put back together properly and is an exact lossless image of the cd, AND is the same as everyone elses.

Eac can generate 3 different cue sheets anyways, and they're all a little different, as well as the single wav cue sheet, which I don't think matches any of the other 3 anyways. I may be wrong about that image cue sheet part, but i've not had any luck so far.

There's a perl script posted in a link a few posts back that allows checking of wav/cue sets against the AccurateRip database, which actually would work quite well except for none of my images verifying with it. It works for other people though and I'm still playing with it.
bburl
Any luck brainsoft? I'm trying to do the same thing.
brainsoft
QUOTE(bburl @ May 10 2007, 04:48) *
Any luck brainsoft? I'm trying to do the same thing.


Yes, check out this thread

http://www.hydrogenaudio.org/forums/index....mp;#entry481170

AR checking on image files, exactly what I needed.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.