Just wanted to write a short article on my experience trying to get Dolby Digital 5.1 from the Playstation 4 (not slim, not pro) when playing Blurays with DD5.1, DTS and DTS-HD audio, 'cos I tried all sorts of options and hopefully this article will save you the time :D
There are a few things to consider:
- The PS4 settings menu, for defining audio priority and format
- The PS4 Bluray player application settings menu
- Whether you're outputting over HDMI or Optical
- Whether your TV is passing the audio on correctly
- Checking the Sonos app, under Settings, About My Sonos System, to check the PLAYBAR "Audio In" status.
First I followed the steps outlined in this helpful article: https://en.community.sonos.com/home-theater-228993/home-theater-and-television-recommendation-megathread-6735001?utm_source=twitter&utm_medium=owned&utm_content=Null&utm_campaign=new_to_sonos&linkId=34068092
However, there's a problem with that article. It claims the PS4 can transcode DTS into DD5.1. It can't. At least, not in my experience, and I'll go into that more below.
From that article there's also a link to this article specifically for the PS4 settings: https://sonos.custhelp.com/app/answers/detail/a_id/3837/?_ga=1.132502414.1616669579.1487196271
I originally had the PS4 set to output over HDMI and to the TV, and then have the TV output optical to the Soundbar. I couldn't get DD5.1 at all that way, so I tried optical straight from the PS4 to the Soundbar. Bingo, DD5.1 from the PS4 system screens, and also for apps like Netflix if the show has 5.1 audio. Then I popped in a DD5.1 audio bluray (Dark Knight), and only got stereo...
In the PS4 Bluray application, hit Options, scroll to the right, and hit settings. On the audio settings, select "Bitstream (mixed)", and bingo again - DD5.1 coming through to the soundbar, so that was great.
I then tried a DTS bluray (Wall-e), and all I was getting was stereo. From the PS4 Bluray player app settings menu, "Bitstream (mixed)" didn't even come up as an option. Similarly for a DTS-HD Bluray (Kubo and the two strings). For Wall-e and Kubo, all I could get out of the PS4 was stereo, either by HDMI via the TV or by Optical straight to the Playbar.
So I wondered if, perhaps, the PS4 is outputting DTS or DTS-HD, and that needs to be transcoded into DD5.1 somewhere, and it looked as though my TV wasn't doing it (Samsung UE46F6500). The audio menu on the TV lists options for PCM, Dolby Digital, DTS Neo 2.5, but I can only ever get PCM.
So I wanted to bypass the TV entirely and see if I can set the audio on the PS4 to HDMI priority as per the article above, but have the HDMI go into an audio splitter, and have the audio taken from there and put into the sounbar, with the video carrying on by another HDMI into the TV set.
With that setup, the DD5.1 was coming through the splitter over HDMI>Optical, for the PS4 system screens, as with optical, but when I tried the blurays I got the same response as above. so DTS and DTS-HD wasn't being transcoded to DD5.1 over optical or over HDMI to a splitter. That, combined with the fact that the PS4 bluray player settings screen doesn't offer "Bitstream (mixed)" for DTS and DTS-HD blurays, makes me believe the PS4 quite simply does not transcode DTS or DTS-HD in any way.
The same trial-end-error approach was done with the PS3, and that managed DD5.1 output over optical for DD5.1, DTS and DTS-HD blurays. So when it comes to physical formats, all of which are DTS and DTS-HD these days - it's PS3 all the way for me.
Hopefully that helps you find out what works best for you!