Help - Search - Members - Calendar
Full Version: Wavpack Image w/embedded Cue Sheet Using EAC
Hydrogenaudio Forums > Lossless Audio Compression > WavPack
ohdeus
Tools Used:
Wavpack 4.2
EAC v05b2Dao
Foobar2000 v083 - Speacil

It seems the more I read, the more questions I have!

My Goal is to create wavpack Image File with Embedded Cue Sheet incl as much tag info as possible and Replaygain. I hope to be able to Archive music in this way without losing the ability to play and view tracks. I have been sucessful with flac images and I hope to find wavpak as useful if not more.

I am using this command in EAC

-h -m -w "CUESHEET=@CDImage.wv.cue" -w "Track=%n" -w "Title=%t" -w "Artist=%a" -w "Album=%g" -w "Date=%y" -w "Genre=%m" -w "Comment=Exact Audio Copy & WavPack 4.2" %s %d

then I rip by:
EAC: Action --> Copy Image & Create CUE Sheet --> Compressed...

----------------------------------------------------------------------------------
If I am not mistaken its still not possible to embed cue from EAC?
What about replaygain can it be applied from EAC as well?

So, can someone explain to me in clear step by step detail on how to add all the tagging info into the cue and then embed it into the image file? I have attempted to do this with Foobar by right clicking on the file in foobar and selecting properties but still success is evading me.

Is they're a better command line choice the the one I am using?
Is they're a command for adding replaygain at the command line in EAC?

Also, if I am transcoding the image file into ogg or mp3's using a program like dbpoweramp will the data from the APEv2 tag be applied correctly to the ID3 or Ogg tags?

Thank you to all in advance!
dobz
I too would like to know if its possible to apply replaygain after ripping with EAC. single file & cd image and cue methods

Currently i rip with eac to wavpack (seperate files so i can play them on my H140) i use mareo and wapet to to get them all tagged correct with apev2, but how can replaygain be applied?
Cerebus
You and me both.

Wavpack 4.1 thread - RG tool discussion

RG tool request thread
Pop
QUOTE(ohdeus @ Jul 10 2005, 01:37 PM)
Tools Used:
Wavpack 4.2
EAC v05b2Dao
Foobar2000 v083 - Speacil
I am using this command in EAC

-h -m -w "CUESHEET=@CDImage.wv.cue" -w "Track=%n" -w "Title=%t" -w "Artist=%a" -w "Album=%g" -w "Date=%y" -w "Genre=%m" -w "Comment=Exact Audio Copy & WavPack 4.2" %s %d

then I rip by:
EAC: Action --> Copy Image & Create CUE Sheet --> Compressed...

----------------------------------------------------------------------------------
If I am not mistaken its still not possible to embed cue from EAC?
*



For WavPack CDImage*:
-w "CUESHEET=@CDImage.wv.cue" -w "Date=%y" -w "Genre=%m" -w "Comment=Exact Audio Copy & WavPack 4.2" %s %d

*EAC: Action --> Copy Image & Create CUE Sheet --> Compressed...
Save in: Folder where is wavpack.exe
File name: CDImage
Deep_Elem
For the time being, you can use Foobar2k to apply replaygain to WavPack files. You can save the replaygain info in the wavpack file headers, or in the cue sheet.

I don't think you can embed a cue sheet inside a wavpack file, however.
rjamorim
QUOTE(Cerebus @ Jul 10 2005, 12:50 PM)


David is now focusing on code optimizations for the M68k platform, so that it can run smoothly (both decoding and encoding!) on the RockBox. And I gotta say, it does indeed work like a charm in an iRiver iHP 120!

QUOTE(Deep_Elem @ Jul 10 2005, 03:57 PM)
I don't think you can embed a cue sheet inside a wavpack file, however.
*


You can. Use foobar for that.
Deep_Elem
How do I do it? I can't find anything about that in the menus.
dobz
QUOTE
David is now focusing on code optimizations for the M68k platform, so that it can run smoothly (both decoding and encoding!) on the RockBox. And I gotta say, it does indeed work like a charm in an iRiver iHP 120!


I'm using H140 and wavpack on rockbox is working really well (playback,skip,ff,gapless all good) better than flac.., maybe its placebo effect. infact rockbox is in a really useable state, i havnt had a crash or bug in days.

Is there anyway of using foobar from a commandline to replaygain or imbed a cue sheet into wavpack?, i'm just thinking of scripting possibility.
Martin H
QUOTE(Deep_Elem @ Jul 10 2005, 10:24 PM)
How do I do it? I can't find anything about that in the menus.
*


Copy the contents of your Cue Sheet(to paste later).
Add the WavPack image to your playlist in fb2k and rightclick on it and select properties.
Paste the contents of your Cue Sheet into a "CUESHEET" tag and select "update" and then "Reload info from file".

I don't use WavPack or make images myself, so the above is just theory, but i think that it's correct... -Martin.

VCSkier
in this thread, starting at about page 4, i posed the same quesion, and synthetic soul wrote me an awsome batch file that does everything for me. i dont replaygain my wavpack images, so thats not part of the process, but the creation and tagging of the file is all done for you. sorry the thread is pretty bloated w/ my dumb questions; i was very slow at understanding and getting everything together, but synthetic soul was really patient w/ me. regardless, the final product turned out great in my opinion. it might be exactly what you are looking for.
Synthetic Soul
If you want to embed the cuesheet via command line I think there's two main options:

1. Use WavPacks' inbuilt tagging while encoding. As stated above this would mean adding the switch:

-w "CUESHEET=@<path to cuesheet>"

... to you command line.

The switch that you quote in the first post (-w "CUESHEET=@CDImage.wv.cue") will work if the cuesheet is in the same folder as WavPack, or maybe in a folder listed in your PATH environment variable.

2. If the WavPack file has already been encoded you can use my adapted version of Tag, with a command something like:

TAG.EXE -f "CUESHEET=<path to cuesheet>" "<path to wavpack file>"

NB: VCSkier and I have actually worked on the batch files since the thread quoted, which allow him to encode to track MP3s as part of the same process (using ACDIR to pipe the track data to LAME). I'm doing something very similar with my Monkey's Audio archives.

Thanks to VCSkier for his kind words. It was really no problem. smile.gif
Deep_Elem
Ahhh, so it's a tag. Thanks for the tip.
ohdeus
QUOTE(Synthetic Soul @ Jul 11 2005, 01:49 AM)
If you want to embed the cuesheet via command line I think there's two main options:

1. Use WavPacks' inbuilt tagging while encoding.  As stated above this would mean adding the switch:

-w "CUESHEET=@<path to cuesheet>"

... to you command line.

The switch that you quote in the first post (-w "CUESHEET=@CDImage.wv.cue") will work if the cuesheet is in the same folder as WavPack, or maybe in a folder listed in your PATH environment variable.

2. If the WavPack file has already been encoded you can use my adapted version of Tag, with a command something like:

TAG.EXE -f "CUESHEET=<path to cuesheet>" "<path to wavpack file>"

NB: VCSkier and I have actually worked on the batch files since the thread quoted, which allow him to encode to track MP3s as part of the same process (using ACDIR to pipe the track data to LAME).  I'm doing something very similar with my Monkey's Audio archives.

Thanks to VCSkier for his kind words.   It was really no problem. smile.gif
*




I really appreciate your response, Synthetic Soul!

But I am still confused because I must be doing something wrong in the path because when I load the wv file into foobar all I see is CDImage.wv.wav with no tagging info appearing.
The cue file can be found in the same directory but not embedded and when the cue is loaded into foorbar it loads as CDImage.wv.cue and error an occurs.
INFO (CORE) : startup time: 500 ms
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (foo_input_std) : referenced file doesn't exist
INFO (CORE) : opening file for playback :
INFO (CORE) : location: "file://I:\CDImage.wv.cue" (1)
ERROR (foo_input_std) : referenced file doesn't exist
ERROR (CORE) : error opening file for playback :
INFO (CORE) : location: "file://I:\CDImage.wv.cue" (1)

Can you help me understand whats goin on here?

Note: I Used EAC to create the Image file.
Synthetic Soul
See my post here regarding a similar problem with FLAC.

Basically, your cuesheet, "CDImage.wv.cue", is looking for "CDImage.wv" - but EAC has named the WavPack file "CDImage.wv.wv".

Just rename "CDImage.wv.wv" to "CDImage.wv".

Read my other post for some additional help.


Edit: Hang on, are you saying your file is called "CDImage.wv.wav", or was that a typo?

QUOTE(ohdeus @ Jul 12 2005, 10:38 PM)
But I am still confused because I must be doing something wrong in the path because when I load the wv file into foobar all I see is CDImage.wv.wav with no tagging info appearing.

You don't state how you tried to embed the cuesheet in the first place.
ohdeus
QUOTE(Synthetic Soul @ Jul 13 2005, 02:20 AM)
See my post here regarding a similar problem with FLAC.

Basically, your cuesheet, "CDImage.wv.cue", is looking for "CDImage.wv" - but EAC has named the WavPack file "CDImage.wv.wv".

Just rename "CDImage.wv.wv" to "CDImage.wv".

Read my other post for some additional help.


Edit: Hang on, are you saying your file is called "CDImage.wv.wav", or was that a typo?

QUOTE(ohdeus @ Jul 12 2005, 10:38 PM)
But I am still confused because I must be doing something wrong in the path because when I load the wv file into foobar all I see is CDImage.wv.wav with no tagging info appearing.

You don't state how you tried to embed the cuesheet in the first place.
*




I thought my command line option in EAC was correct for embedded cue sheets.
yes my final file is CDImage.wv.wav
And I dont know why my final file is wav instead of wv.

Synthetic Soul
I think the reason that you are left with a WAVE is your switch to embed the cuesheet:

-w "CUESHEET=@CDImage.wv.cue"

This will only work if the cuesheet (and therefore WAVE file) are in the same folder as WavPack.

Because WavPack can't find the file you reference it is quitting.

If you always save your image in the same folder use that in the switch, e.g.:

-w "CUESHEET=@E:\CDBackup\CDImage.wv.cue"

WavPack should then run correctly.
ohdeus
QUOTE(Synthetic Soul @ Jul 13 2005, 12:53 PM)
I think the reason that you are left with a WAVE is your switch to embed the cuesheet:

-w "CUESHEET=@CDImage.wv.cue"

This will only work if the cuesheet (and therefore WAVE file) are in the same folder as WavPack.

Because WavPack can't find the file you reference it is quitting.

If you always save your image in the same folder use that in the switch, e.g.:

-w "CUESHEET=@E:\CDBackup\CDImage.wv.cue"

WavPack should then run correctly.
*





I Still end up with wave file
CDImage.wv.wav
CDImage.wv.cue
Album Log file

Note: When EAC ask for location to save to I select I:\
And EAC settings, directory choice is I:\
And I have tried with Delete Wave after extraction selection (checked & Unchecked)

Log file:
Read mode : Secure with C2, accurate stream, disable cache
Read offset correction : 6
Overread into Lead-In and Lead-Out : Yes

Used output format : C:\Program Files\Lossless\wavpack\wavpack.exe (User Defined Encoder)
256 kBit/s
Additional command line options : -h -m -w "CUESHEET=@I:\CDImage.wv.cue" -w "Track=%n" -w "Title=%t" -w "Artist=%a" -w "Album=%g" -w "Date=%y" -w "Genre=%m" -w "Comment=Exact Audio Copy & WavPack 4.2" %s %d

Other options :
Fill up missing offset samples with silence : No
Delete leading and trailing silent blocks : No
Installed external ASPI interface

Range status and errors
Selected range
Filename I:\CDImage.wv.wav

Peak level 100.0 %
Range quality 100.0 %
CRC 1C1AEF62
Copy OK

No errors occured

End of status report
bryant
ohdeus:
I tried your exact command-line (except I replaced I: with E:) and the WavPack file was created correctly. I'm not sure what's going on there.

But there is another problem. You are creating a single file to be the image of the entire album, but you are also telling WavPack to put the track name and number in the APE tag. This doesn't make sense because there's a different name and number for each track. When I did it exactly like this I get bad names when I load into foobar. Really, if you're using the embedded cuesheet method, then you really only need the cuesheet in there, but you must at least take out the track name and number.

I created a special version of the wavpack command-line program to debug these types of problems that might be handy here. It's exactly like the standard command-line version except it displays the exact list of arguments that it gets (which you normally can't see) and it also writes all output (including any terminating error) to a file called C:\wavpack.log that can be examined to determine why it might have quit. Each run gets added to this file, so it probably shouldn't be used for everyday use.

I uploaded it here:

http://www.wavpack.com/wavpack_debug.zip

Synthetic Soul:
Also, I would like to take this opportunity to personally thank you for all of your help, not just in this thread but in all the others and for the work you put into your batch files. It's all very much appreciated!! smile.gif
Synthetic Soul
From what I can see, the only reason to be left with CDImage.wv.wav is that WavPack is never getting to run.

With this in mind, I think trying the debug version bryant has posted should finally pinpoint your problem. I tested it with your original command and sure enough the log file highlights that the cuesheet switch is the culprit ("error in tag spec: CUESHEET=@CDImage.wv.cue !"). Definately a handy tool to have. smile.gif

To corroborate bryant's results I have also run your current command line with a valid cuesheet path - with no problems.

The -w switch was introduced in WavPack 4.2b3. Can you confirm that you are using the latest version? If I use 4.2b2 with your command line Wavpack exits prematurely. You need to ensure you have 4.2, or 4.2b3+.

QUOTE(bryant @ Jul 14 2005, 08:05 AM)
Also, I would like to take this opportunity to personally thank you for all of your help, not just in this thread but in all the others and for the work you put into your batch files. It's all very much appreciated!!  smile.gif

I'm very glad to be of some help. Many thanks for your recognition, and work.

ohdeus
QUOTE(Synthetic Soul @ Jul 14 2005, 04:42 AM)
From what I can see, the only reason to be left with CDImage.wv.wav is that WavPack is never getting to run.

With this in mind, I think trying the debug version bryant has posted should finally pinpoint your problem.  I tested it with your original command and sure enough the log file highlights that the cuesheet switch is the culprit ("error in tag spec: CUESHEET=@CDImage.wv.cue !").  Definately a handy tool to have. smile.gif

To corroborate bryant's results I have also run your current command line with a valid cuesheet path - with no problems.

The -w switch was introduced in WavPack 4.2b3.  Can you confirm that you are using the latest version?  If I use 4.2b2 with your command line Wavpack exits prematurely.  You need to ensure you have 4.2, or 4.2b3+.

QUOTE(bryant @ Jul 14 2005, 08:05 AM)
Also, I would like to take this opportunity to personally thank you for all of your help, not just in this thread but in all the others and for the work you put into your batch files. It's all very much appreciated!!  smile.gif

I'm very glad to be of some help. Many thanks for your recognition, and work.
*



I downloaded a new wavpack just to be sure.

I Have tried these command line options

-w "CUESHEET=@I:\CDImage.wv.cue" -w "Date=%y" -w "Genre=%m" -w "Comment=Exact Audio Copy & WavPack 4.2" %s %d

And This

-h -m -w "CUESHEET=@I:\CDImage.wv.cue" -w "Track=%n" -w "Title=%t" -w "Artist=%a" -w "Album=%g" -w "Date=%y" -w "Genre=%m" -w "Comment=Exact Audio Copy & WavPack 4.2" %s %d

And This
-h -m -w "CUESHEET=@I:\CDImage.wv.cue" -w "Artist=%a" -w "Album=%g" -w "Date=%y" -w "Genre=%m" -w "Comment=Exact Audio Copy & WavPack 4.2" %s %d

I'm not to sure how I am to use the wavepack_debug file but I put it in place of the original wavpack file and gave it a try with the same results.

I believe after the cdimage is ripped the encoder never even loads.
But I have no error messages either.

And many thanks for all the help - you guys are great!
bryant
QUOTE(ohdeus @ Jul 14 2005, 08:33 PM)
I believe after the cdimage is ripped the encoder never even loads.
But I have no error messages either.
*


Hmm. I think you're right that wavpack.exe is not running. If you select the "check for external program's return code" you might get some information.

Also, under EAC options --> tools do not select "do not open external compressor window" so you can see if a DOS window pops up when wavpack.exe tries to run. If you compress a whole CD image this should be up for at least a minute.

Hope this helps...
ohdeus
QUOTE(bryant @ Jul 14 2005, 11:21 PM)
QUOTE(ohdeus @ Jul 14 2005, 08:33 PM)
I believe after the cdimage is ripped the encoder never even loads.
But I have no error messages either.
*


Hmm. I think you're right that wavpack.exe is not running. If you select the "check for external program's return code" you might get some information.

Also, under EAC options --> tools do not select "do not open external compressor window" so you can see if a DOS window pops up when wavpack.exe tries to run. If you compress a whole CD image this should be up for at least a minute.

Hope this helps...
*



crying.gif This is sooooooooo embarrasing!!!!!!!!

I was trying to save the file on a Hard Drive that was full.

But to be fair I was doing other things wrong that you guys helped tremendously with.

my first wv file loaded with tag info present and is now playing in foobar. Its Great!

All the tagging info seems to be present as well. I have album, artists, track #s, genre, and comment -- very cool.

Almost forgot,
After the wv file is created there is a cue sheet that is not embedded as well, Am I correct to assume I can trash it - It having no use?
Synthetic Soul
QUOTE(ohdeus @ Jul 15 2005, 08:16 AM)
crying.gif This is sooooooooo embarrasing!!!!!!!!

I was trying to save the file on a Hard Drive that was full.

That's not really embarrassing. It's one of those factors you don't tend to really think about.

At least now it is working. smile.gif

QUOTE(ohdeus @ Jul 15 2005, 08:16 AM)
After the wv file is created there is a cue sheet that is not embedded as well, Am I correct to assume I can trash it - It having no use?

Basically, yes. As long as it has embedded successfully you do not need the CUE file any longer. I keep mine as I archive to DVD and I figure a few extra KB won't hurt. I embed because then I only have to really worry about one file corrupting.

Edit: spelling
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.