INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: WavPack compressed DSD streamed over DLNA anyone?  (Read 3592 times)

Archimago

  • Recent member
  • *
  • Posts: 20
WavPack compressed DSD streamed over DLNA anyone?
« on: September 07, 2017, 01:08:32 am »

Got a bunch of DSD64 and DSD128 files compressed and tagged as WavPack (WV). Recognized in JRiver 23 just fine.

Anyone know if DLNA streaming of WV-compressed DSD files can be done?

Can JRiver decompress the WV and stream as if DFF or DSF?

Thanks...
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71465
  • Where did I put my teeth?
Logged

Archimago

  • Recent member
  • *
  • Posts: 20
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #2 on: September 07, 2017, 10:29:29 am »

Thank JimH,
Here's the test scenario:
Raspberry Pi 3, Volumio, DLNA to JRiver 23

When I stream a .DFF file to Volumio, it plays the DSD file fine (DoP to USB DAC). However, when I try to play WV compressed DSD, not able to play.

Anyone else had any success?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71465
  • Where did I put my teeth?
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #3 on: September 07, 2017, 10:37:50 am »

You're using JRiver MC23 as a DLNA Server?

And you're playing to Volumio as a DLNA Renderer?

Correct?

DLNA doesn't officially support DSD or WavPack.  It might work if both sides do support it, but you would might need to add the protocols.  In MC, you can add supported file types to the DLNA Server settings.

You're asking a lot of the poor Pi.  ;)

Logged

Archimago

  • Recent member
  • *
  • Posts: 20
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #4 on: September 07, 2017, 10:50:35 am »

Hi Jim,
Yeah, the Pi 3 is acting as DLNA renderer. And Volumio does allow DSD playback...

However, I don't think it's asking much of the Pi since I can already playback the DSD file! But the problem is that it's only playing back if on the MC server side it's an uncompressed DFF/DSF file...

Is there a way for MC23 to intercept the WV playback of a DSD file, do the decompression and present it to the DLNA renderer in a DFF-type form? I suspect this would be a first for those of us wanting to put PCM and DSD in the same library, allowing DSD to be both tagged and compressed (through WavPack 5), streaming to inexpensive DLNA devices like the Pi as it would handle DFF.

Certainly a nice feature upgrade not seen elsewhere I think, opening up the WV format's value!
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7400
  • The color of Spring...
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #5 on: September 07, 2017, 11:59:54 am »

Is there a way for MC23 to intercept the WV playback of a DSD file, do the decompression and present it to the DLNA renderer in a DFF-type form?

Don't think so. Any type of conversion will go through a PCM conversion step, including DSD to DSD.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

Archimago

  • Recent member
  • *
  • Posts: 20
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #6 on: September 07, 2017, 01:21:36 pm »

That's unfortunate...

Hopefully something can be done to open up the use of WV DSD in the streaming ecosystem. Not sure how many new features are left to add, and I see this as something that is certainly worth upgrading for!
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7400
  • The color of Spring...
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #7 on: September 07, 2017, 01:28:31 pm »

I'm not aware of any software or app at the moment that can do a WavPack 5 DSD to DFF or DSF conversion without re-encoding and going through a PCM step first. Meaning I don't know any apps that can do re-packaging instead of re-encoding, like dff2dsf on macOS. If you can find DFF (or better yet DSF which supports metadata) versions of the WV DSD files you have, that might work out better when streaming (as you know already). DSF is what I use for my DSD needs.

It's worth pointing out too that WavPack 5's DSD support is rather new still. I've actually never seen any WavPack DSD files, just ISOs, DFFs and DSFs.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

Archimago

  • Recent member
  • *
  • Posts: 20
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #8 on: September 08, 2017, 01:55:49 am »

Hi A D,
Sure you can losslessly decode a WavPack DSD .WV file to DFF without re-encoding through PCM:

wvunpack --dff <input.wv> <output.dff>

Source code's available... From what I see, a simpler and less CPU intensive algo than DST which JRiver can already decode/decompress with DFF files (but alas DFF cannot be tagged) in realtime on a decent computer.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7400
  • The color of Spring...
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #9 on: September 08, 2017, 04:15:50 am »

Ah, you *should* be able to decode WV to DSF too using the same method, according to the manual.

wvunpack --dsf <input.wv>

I just tested this, and it works. If there's album art over 1MB, add --allow-huge-tags too. You *might* also need --import-id3 too. Even though there's an extra step involved (DFF/DSF to WV back to DFF/DSF) I can indirectly unpack DFF or DSF to DSF or DFF. :P

Very interesting, I'll have to play around with this more. :P
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

Archimago

  • Recent member
  • *
  • Posts: 20
Re: WavPack compressed DSD streamed over DLNA anyone?
« Reply #10 on: September 10, 2017, 11:31:40 am »

Exactly... All the more reason why I would *love* to see WV become some kind of standard with DSD files :-).

I don't know about others, but JRiver taking leadership in making this work across the DLNA streaming ecosystem would be a "must have" feature I'd easily put money down for!
Logged
Pages: [1]   Go Up