DSD gets converted to PCM when compressing with Wavpack

Bug reports go here.
TimvHerpen
Posts: 9
Joined: Thu Oct 12, 2017 10:04 am

DSD gets converted to PCM when compressing with Wavpack

Post by TimvHerpen »

I'm trying to batch convert a lot of DSF files to Wavpack which supports lossless DSD compression since V5.0.
But somehow the files end up bigger than the original files, even when using the latest wavpack.exe instead of wavpackdll.dll built-in to XR3.
When I specify the options for the decoder (-hxl --import-id3) it doesn't behave like it does in PowerShell.
Image
On the bottom left are the output files of XR3, on the right are the input files and the output files of wavpack.exe using PowerShell(seen on top left)
Image
dBpoweramp also tells me that the sample size/rate of XR3's output files is 32bit/176,4KHz and doubles the original file size which means that it's doing some weird conversions.
Image
Foobar2k confirms my thoughts as it doesn't recognize XR3's output file as DSD.
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: DSD gets converted to PCM when compressing with Wavpack

Post by admin »

Please try the latest beta version - viewtopic.php?f=16&t=40
Also, please configure Wavpack Encoder to use wavpackdll.dll.
TimvHerpen
Posts: 9
Joined: Thu Oct 12, 2017 10:04 am

Re: DSD gets converted to PCM when compressing with Wavpack

Post by TimvHerpen »

I was using 1.67 beta and tried both wavpack.exe and wavpackdll.dll, gave the same results
TimvHerpen
Posts: 9
Joined: Thu Oct 12, 2017 10:04 am

Re: DSD gets converted to PCM when compressing with Wavpack

Post by TimvHerpen »

Issue is fixed with the latest beta!
maarroyo
Posts: 2
Joined: Sun Jul 29, 2018 7:05 pm

Re: DSD gets converted to PCM when compressing with Wavpack

Post by maarroyo »

Hi!

I'm really liking XRecode am about to purchase, but I think this issue still persists.
I'm trying to convert my SACD ISO collection to compressed Wavpack. The file size is much larger compared to extracting the DSF with `sacd_ripper` and then using `wavpack.exe` to encode.

Any help is appreciated.
Thanks!
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: DSD gets converted to PCM when compressing with Wavpack

Post by admin »

Please install the latest beta version - viewtopic.php?f=12&t=40
maarroyo
Posts: 2
Joined: Sun Jul 29, 2018 7:05 pm

Re: DSD gets converted to PCM when compressing with Wavpack

Post by maarroyo »

Great I think it is working as expected now. However, it is using the `normal` compression level even when the setting is set to high. I've verified this as `wavpack.exe` when using `normal` compression outputs an equivalent file in comparison to xrecode. Is there some particular setting I'm missing?
graveller39
Posts: 10
Joined: Tue Nov 20, 2018 7:32 pm

Re: DSD gets converted to PCM when compressing with Wavpack

Post by graveller39 »

Not sure if I should start a new thread for this or not. The thread indicates the issue was solved - it would appear by installing the latest beta version? That was 2018 though and I'm now having what seems to be the same problem in 2024.

I've been trying to convert some .dsf files to wavpack, but the resulting files are approximately twice as big. Should they not be substantially smaller?

I'm using version 1.140 set to use wavpackdll.dll in lossless mode.

Any idea what could account for this?
admin
Site Admin
Posts: 964
Joined: Wed Nov 17, 2010 12:56 pm

Re: DSD gets converted to PCM when compressing with Wavpack

Post by admin »

Please make sure you are using those options:
https://imgur.com/od76oJA
i.e. Enable "Use wavpack.dll" and disable the "Always transcode".
graveller39
Posts: 10
Joined: Tue Nov 20, 2018 7:32 pm

Re: DSD gets converted to PCM when compressing with Wavpack

Post by graveller39 »

Thanks! I had "Always transcode" checked - unchecking it worked.

What does transcode do? and when might one want to use it?
Post Reply