2024-04-28, 06:33 PM
(This post was last modified: 2024-04-29, 12:42 AM by swensonator. Edited 1 time in total.)
OK. So I finally figured out what the problem was, and it leads to some more questions.
I had seen the issue I described with some specific files and had continued using those same files in my subsequent testing. Finally I went back and started performing a more systematic test of all my 4k files and realized that some of them played perfectly fine on Jellyfin while others did not. The difference between files that stuttered/froze and those that did not was the audio codec. Every file with Dolby TrueHD with Atmos audio causes Jellyfin to have issues. DD+ is fine. TrueHD without Atmos is fine. DTS:MA/XLL is fine.
I do *NOT* have a Dolby Atmos capable receiver, but I would have assumed that the receiver would simply ignore the spatial metadata and play the underlying TrueHD audio stream. Other apps, like Disney+, appear to work that way just fine (the TV shows the Dolby Atmos logo on supported videos). And that doesn't explain why the video would be stuttering in Jellyin.
In the short term, most of my blu rays have a DTS XLL option for audio, and I can simply rip that track instead. It does however raise the question as to why Jellyfin is experiencing these issues, Kodi is not, and other apps that are also outputing Dolby Atmos (e.g. Disney+) are also not having issues. Interestingly, I do *NOT* get the Dolby Atmos logo when playing videos through Jellyfin or Kodi. I know that some TV manufacturers limit the abilities of 3rd party applications to bitstream certain audio codecs. Maybe the TV is causing the Dolby Atmos to be incorrectly interpreted and therefore cause problems for Jellyfin playback?
I had seen the issue I described with some specific files and had continued using those same files in my subsequent testing. Finally I went back and started performing a more systematic test of all my 4k files and realized that some of them played perfectly fine on Jellyfin while others did not. The difference between files that stuttered/froze and those that did not was the audio codec. Every file with Dolby TrueHD with Atmos audio causes Jellyfin to have issues. DD+ is fine. TrueHD without Atmos is fine. DTS:MA/XLL is fine.
I do *NOT* have a Dolby Atmos capable receiver, but I would have assumed that the receiver would simply ignore the spatial metadata and play the underlying TrueHD audio stream. Other apps, like Disney+, appear to work that way just fine (the TV shows the Dolby Atmos logo on supported videos). And that doesn't explain why the video would be stuttering in Jellyin.
In the short term, most of my blu rays have a DTS XLL option for audio, and I can simply rip that track instead. It does however raise the question as to why Jellyfin is experiencing these issues, Kodi is not, and other apps that are also outputing Dolby Atmos (e.g. Disney+) are also not having issues. Interestingly, I do *NOT* get the Dolby Atmos logo when playing videos through Jellyfin or Kodi. I know that some TV manufacturers limit the abilities of 3rd party applications to bitstream certain audio codecs. Maybe the TV is causing the Dolby Atmos to be incorrectly interpreted and therefore cause problems for Jellyfin playback?