SACD/DSDIFF playback in XBMC

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
HeresJohnny Offline
Senior Member
Posts: 130
Joined: Mar 2011
Reputation: 2
Location: Germany
Post: #1
A request with a sidewise glance at the upcoming AE engine:

Would love to see SACD ISO and DSDIFF playback in XBMC. Code can be found here:

http://code.google.com/p/sacd-ripper/
http://sacddecoder.sourceforge.net

Thanks for considering it!
find quote
samuelyung Offline
Junior Member
Posts: 5
Joined: Jun 2011
Reputation: 0
Post: #2
I would love to have it too!
I'm trying to get around it by adding an external player (foobar2000) but because the tracks are in cuesheet (cue/dff) the album will then played multiple times if I select the first track...Frown
find quote
haden Offline
Junior Member
Posts: 7
Joined: Nov 2009
Reputation: 0
Location: Rome (Italy)
Thumbs Up  up Post: #3
Thanks for considering it!
find quote
Turrican2 Offline
Junior Member
Posts: 23
Joined: Mar 2009
Reputation: 0
Post: #4
This would be amazing, but I understand that there is no much demand.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #5
Hi there. About a two weeks ago I e-mailed the creator (Maxim Anisiutkin) of the foo_sacd.dll code asking if I could port it to XBMC as part of the AE sub-system. I have not received an answer yet. I have a very strong interest in this as well.

DSD, especially DST multi-channel playback is very CPU-intensive, and even on a decent rig it can stutter with other processes running, so I have my doubts as to whether visualizations can still run. But to have the code ported/adapted would be great as horsepower keeps increasing.

He has released his code, so it's open-source, but it's still also copyrighted material. For that reason I wanted his permission to proceed.

I'll try again to contact him - I have around 60 SACD's ripped to ISO, and prefer not to convert them all to FLAC.

With AE we can get 24-bit audio, so conversion to FLAC becomes feasible, but if I can get permission to port the code all the better.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
(This post was last modified: 2012-02-16 19:30 by DDDamian.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,049
Joined: Jan 2011
Reputation: 134
Location: Arizona, USA
Post: #6
Quote:He has released his code, so it's open-source, but it's still also copyrighted material. For that reason I wanted his permission to proceed.

Both are already released under an open source license? sacddecoder is LGPL and sacd-ripper is GPL v2
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #7
Ned Scott Wrote:Both are already released under an open source license? sacddecoder is LGPL and sacd-ripper is GPL v2

Yep. Whatcha think? I've been through the code at a glance and with AE it's gonna sound pretty sweet at 24/88.2 or 24/176.4. It transcodes to PCM so it's an easy enough mesh. In Foobar they sound outstanding. I can pass floats straight to AE.

There'll be some work probing the .ISO file to determine that it's an SACD as opposed to a DVD image, the rest is adhering to the XBMC decoder API, but the gist of it is already done.

I figured with AE it's worth doing. I e-mailed him again today, but I guess it's cool license-wise.

EDIT: One other bit of fun will be integrating the "inside view" of the .iso. Most people keep the full iso as opposed to seperating out the various tracks. The foobar plugin looks inside the iso and returns the track list, so this will take some work to integrate into XBMC's list functions.

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
(This post was last modified: 2012-02-17 05:00 by DDDamian.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #8
Pls see attached:

Code:
[i]
Date: Thu, 16 Feb 2012 23:03:55 +0400
Subject: Re: Hoping to port/adapt foo_sacd
From: xxxxxxxxxxxxxxx@gmail.com
To: xxxxxxxxxxxxxxx@hotmail.com


Hi Damian,

Yes, sure. Use the code at your discretion. [/i]


On Thu, Feb 16, 2012 at 9:29 PM, Damian Huckle <xxxxxxxxxxxx@hotmail.com> wrote:

------------------------------------------------------------------------
From: xxxxxxxxxxxx@hotmail.com
To: xxxxxxxxxxxx@gmail.com
Subject: Hoping to port/adapt foo_sacd
Date: Wed, 8 Feb 2012 14:46:31 -0500



Hi there,

Wonderful job on the SACD decoder. I help out a little on a free, open-source media player called XBMC, available here: http://xbmc.org/

I was thinking that SACD playback would be a great addition to this multi-codec, multi-platform player.
  
I wondered if you would allow me to use some of your code to make this happen!

Cheers,
Damian

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
(This post was last modified: 2012-02-17 05:08 by DDDamian.)
find quote
pike Offline
Project Manager
Posts: 4,820
Joined: Sep 2003
Reputation: 28
Location: Sweden
Post: #9
you know Im no dev, but maybe it's worth looking into (if possible) offloading the decoding to cuda or the alternatives ?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #10
GPU offloading is one possible solution to the decoding problem, but it might turn out a better idea to take advantage of modern CPU's SIMD and vectorize the filter code instead. It depends on the algorithmic structure - more FIR or more IIR like - which hardware is more up to the task.

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
find quote
Post Reply