As I understand it, that hack is specifically to fool the PS3 into outputing the DTS stream to a receiver, rather than simply allowing playback of media containing DTS. PS3MS uses tsMuxeR for remuxing which does correctly remux DTS audio streams. Serviio uses only FFmpeg, and this unfortunately still has issues with remuxing DTS (
open ticket), particularly for playback on hardware.
The first question though - is this still necessary? Or did some PS3 firmware since 2009 fix this behaviour?
That thread, together with the ones it references, doesn't seem to explain in technical detail what Shagrath did to get this DTS/PCM spoofing working. Any ideas? Or am I going to need to inspect the source code?
EDIT - looks like it uses mencoder/tsmuxer specifically, so it may not be achievable with Serviio:
http://www.ps3mediaserver.org/forum/vie ... t=20#p3236EDIT2 - interesting, there's a python script to do it - apparently it encapsulates DTS in S/PDIF then wraps this in a WAV file:
http://forums.slimdevices.com/showthrea ... #post72541EDIT 3 - been doing some more reading - FFmpeg has an S/PDIF muxer, and can demux DTS in WAV apparently. So I wonder if this can be made to work. I don't see how you can invoke more than one muxer though (is it even possible?). For audio alone we'd need something like:
- Code:
ffmpeg -i input.mkv -vn -acodec copy -f spdif output.wav
but how could a single command line also remux this into mpegts with the video?
Getting this working could be the solution to this topic (passthough of DTS music tracks, by disguising them as LPCM):
viewtopic.php?f=10&t=6317