2011-02-21, 04:33
This took me quite a while to figure out but I've successfully accomplished playback of DTS wav (44.1khz) files in XBMC on Linux (Ubuntu-Jaunty).
However, upgrading to v.10 of XBMC seemed to break the fix. Thru browsing the forum I found an updated fix. Because there are so many different threads addressing this issue I thought it would be nice to have a central location to contribute solutions to DTS playback woes.
Here is what I have done:
(I have written a Linux shell script to automate the process and posted a link at the bottom of this post)
Create playercorefactory.xml file in ~/.xbmc/userdata
Then add the following into it:
My complete playercorefactory.xml file looks like:
Then, I found that removing pulseaudio alleviated alot of headaches and allowed proper playback of DTS-wav's:
(in shell)
Next, make sure alsa is configured right:
(In shell)
...make sure all pertainant sliders are set maximum! And make sure iec958 output is set to on! Then save the setting
Start up XBMC and press the volume UP button on your remote while attempting to playback a DTS wav file - make sure the volume is at maximum!
If you still don't have playback of DTS-wav or are using a newer version of XBMC ( 10+ ), do the following:
Create a file called advancedsettings.xml in ~/.xbmc/userdata
Then add the following into it:
Now, you should have 44.1 khz DTS wav file playback!
I've written a Linux shell script to automate the process....no guarantees that it will work for everyone, but you can modify it to suit your distro!
http://rapidshare.com/files/449037390/xb...config.zip
Use at your own risk! ;-)
However, upgrading to v.10 of XBMC seemed to break the fix. Thru browsing the forum I found an updated fix. Because there are so many different threads addressing this issue I thought it would be nice to have a central location to contribute solutions to DTS playback woes.
Here is what I have done:
(I have written a Linux shell script to automate the process and posted a link at the bottom of this post)
Create playercorefactory.xml file in ~/.xbmc/userdata
Then add the following into it:
Code:
<!-- dvdplayer can play DTS and wav multichannel tracks -->
<rule filetypes="(dts|wav)" player="DVDPlayer" />
Code:
<playercorefactory>
<players>
<!-- These are compiled-in as re-ordering them would break scripts
The following aliases may also be used:
audiodefaultplayer, videodefaultplayer, videodefaultdvdplayer
<player name="DVDPlayer" audio="true" video="true" />
<player name="DVDPlayer" /> placeholder for MPlayer
<player name="PAPlayer" audio="true" />
-->
</players>
<rules>
<rule protocols="rtv" player="DVDPlayer" />
<rule protocols="hdhomerun|myth|cmyth|rtmp" player="DVDPlayer" />
<rule protocols="lastfm|shout" player="PAPlayer" />
<!-- dvdplayer can play standard rtsp streams -->
<rule protocols="rtsp" filetypes="!(rm|ra)" player="PAPlayer" />
<!-- dvdplayer can play DTS and wav multichannel tracks -->
<rule filetypes="(dts|wav)" player="DVDPlayer" />
<!-- Internet streams -->
<rule internetstream="true">
<rule mimetypes="video/x-flv|video-flv|audio/aacp|application/sdp" player="DVDPlayer" />
<rule mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
</rule>
<!-- DVDs -->
<rule dvd="true" player="videodefaultdvdplayer" />
<rule dvdfile="true" player="videodefaultdvdplayer" />
<rule dvdimage="true" player="videodefaultdvdplayer" />
<!-- Only dvdplayer can handle these normally -->
<rule filetypes="sdp|asf" player="DVDPlayer" />
</rules>
</playercorefactory>
Then, I found that removing pulseaudio alleviated alot of headaches and allowed proper playback of DTS-wav's:
(in shell)
Code:
sudo apt-get purge pulseaudio
Next, make sure alsa is configured right:
(In shell)
Code:
alsamixer
Code:
alsactl store 0
Start up XBMC and press the volume UP button on your remote while attempting to playback a DTS wav file - make sure the volume is at maximum!
If you still don't have playback of DTS-wav or are using a newer version of XBMC ( 10+ ), do the following:
Create a file called advancedsettings.xml in ~/.xbmc/userdata
Then add the following into it:
Code:
<advancedsettings>
<audio>
<dvdplayerignoredtsinwav>true</dvdplayerignoredtsinwav>
</audio>
</advancedsettings>
Now, you should have 44.1 khz DTS wav file playback!
I've written a Linux shell script to automate the process....no guarantees that it will work for everyone, but you can modify it to suit your distro!
http://rapidshare.com/files/449037390/xb...config.zip
Use at your own risk! ;-)