Skip to main content

Topic: Wavpack with CDex (Read 4466 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • PhyloBrag
  • [*]
Wavpack with CDex
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?

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
Wavpack with CDex
Reply #1
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?

  • PhyloBrag
  • [*]
Wavpack with CDex
Reply #2
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!

  • dutch109
  • [*][*][*]
Wavpack with CDex
Reply #3
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.
Vorbis -q2/5 (Android/PC) & WavPack -hhx6m
https://playnoise.com/

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
Wavpack with CDex
Reply #4
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.

  • dutch109
  • [*][*][*]
Wavpack with CDex
Reply #5
I tried with -i and it works (I also had to check "send WAV header to stdin" in CDex).

Thank you very much bryant 
Vorbis -q2/5 (Android/PC) & WavPack -hhx6m
https://playnoise.com/

  • Andavari
  • [*][*][*][*][*]
Wavpack with CDex
Reply #6
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
Complexity of incoherent design.