I got a new amp and wanted to stream 24 bit 96 Khz FLAC's to it using a PS3.
I read that PMS had this behaviour at one time through the 'Audio High Fidelity' engine, but that it has been broken for a while.
How I understood the engine worked was:
1) browse the FLAC files from the PS3 using the Video section (not music)
2) PMS uses TsMuxerAudio as the player.
3) TsMuxerAudio + its parent TSMuxerVideo then:
a) creates a dummy video file using fake.jpg
b) use ffmpeg to extract a WAV/PCM file from the .flac OR use flac.exe if the sample rate is divisible by 48000
c) use tsmuxer to combine the above two files into a .ts stream containing MPEG4/ISO/AVC video and LPCM audio
I had a look at the latest code found there were 2 problems in the code. (https://github.com/ps3mediaserver/ps3mediaserver/
1) TSMuxerVideo.launchTranscode(...) had the sample rate params in the wrong order ("-ar",rate,)
2) TsMuxerAudio.isCompatible(...) was failing as it was expecting Format.AUDIO instead of Format.VIDEO
I've testing this on windows 7 by running 'mvn clean package', then installing the produced PMS-setup.exe
I can successfully stream 24 bit 96 Khz FLAC files from my PS3 (and also .avi videos from the same directory).
Bringing up info on the steam on the PS3 shows: [Linear PCM 2Ch. 96Khz 4.6 Mbps AVC 5kbps ]
The patch for this is here http://pastebin.com/eRAzeUwR
I'm not sure on how you accept patches???
On a side note, for those interested... I found that the 'Audio High Fidelity' engine does not work for 24bit 88.2 Khz files.
The final step of using tsmuxer.exe fails with "Sample rate 88200 is not supported for LPCM format. Allowed values: 48000, 96000, 192000".
I have no solution for this and am puzzled as the PS3 in its 'Audio Output Settings' allows 88.2 linear PCM...
I got a 24bit 88.2 Khz FLAC file to stream using the Whitebear Media Server & Logitech Media Server. This was using the 'Music' option of XMB on PS3. My amp showed it was receiving 88.2 Khz.