HydrogenAudio

Lossless Audio Compression => WavPack => Topic started by: PhyloBrag on 2006-08-02 04:15:17

Title: Wavpack with CDex
Post by: PhyloBrag on 2006-08-02 04:15:17
I've been trying to get this to work for some time now.
I'm using the string:
-b320x6 -w "artist=%a" -w "album=%b" -w "title=%t" -w "tracknumber=%tn" -w "date=%y" -w "genre=%g" - %2

and when wavpack.exe pops up to encode, it just sits there. no numbers. no nothing.

does anyone know what the problem is?
Title: Wavpack with CDex
Post by: bryant on 2006-08-02 04:31:30
I've been trying to get this to work for some time now.
I'm using the string:
-b320x6 -w "artist=%a" -w "album=%b" -w "title=%t" -w "tracknumber=%tn" -w "date=%y" -w "genre=%g" - %2

and when wavpack.exe pops up to encode, it just sits there. no numbers. no nothing.

does anyone know what the problem is?

I have never used CDex, but the string you specify looks okay (assuming the audio is going to be piped into wavpack.exe). I would eliminate the "x6" until you have it working because that's going to make it slooow and I think that "year" is a better choice than "date" (at least it's more compatible with the plugins I made for WavPack).

When you say nothing happens, it sounds like it's just waiting for data. If it doesn't get a wav header it won't even display the 0% done message. Is there some option in CDex to tell it to use pipes?
Title: Wavpack with CDex
Post by: PhyloBrag on 2006-08-02 05:14:41
Ah, I got it. i had to append %1 %2 (file in file out)
the parameter i was using was meant for on-the-fly encoding only, and that never works for me anyway.

thanks for pointing me in a better direction of thought!
Title: Wavpack with CDex
Post by: dutch109 on 2006-08-20 14:07:44
I have a problem with CDex 1.70b2 and WavPack 4.31, I use the following string :
Code: [Select]
-h -m -w "Artist=%a" -w "Title=%t" -w "Album=%b" -w "Year=%y" -w "Track=%tn" -w "Genre=%g" - %2

I checked "On-the-fly encoding" in CDex, and it doesn't work : I get an error from CDex (something like "can't send data to the encoder") and then CDex just crash. 
What am I doing wrong ?
I tried without on-the-fly encoding, and it works fine, but I REALLY need on-the-fly encoding because otherwise it's two times slower.
Title: Wavpack with CDex
Post by: bryant on 2006-08-20 18:02:33
I have a problem with CDex 1.70b2 and WavPack 4.31, I use the following string :
Code: [Select]
-h -m -w "Artist=%a" -w "Title=%t" -w "Album=%b" -w "Year=%y" -w "Track=%tn" -w "Genre=%g" - %2

I checked "On-the-fly encoding" in CDex, and it doesn't work : I get an error from CDex (something like "can't send data to the encoder") and then CDex just crash. 
What am I doing wrong ?
I tried without on-the-fly encoding, and it works fine, but I REALLY need on-the-fly encoding because otherwise it's two times slower.

I think maybe CDex also needs the -i option to force WavPack to ignore the [incorrect] length in the wav header.

If that's not it you can try the "debug" mode of WavPack to see what it's complaining about.
Title: Wavpack with CDex
Post by: dutch109 on 2006-08-20 19:39:12
I tried with -i and it works (I also had to check "send WAV header to stdin" in CDex).

Thank you very much bryant 
Title: Wavpack with CDex
Post by: Andavari on 2006-08-20 22:02:12
Yeah CDex doesn't like on-the-fly checked when using a command line encoder. Also placing this at the end will let CDex know what the source file and destination file are:  %1 %2