Plex fails to play some HDR HEVC videos. Error v_interleaved_write_frame(): Invalid argument

Server Version#: 1.41.3.9314
Player Version#: 10.25.0.2403
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

I have some HDR HEVC videos that fail to direct play on all of my devices (LG WebOS, Android TV, Android Phone), but work when using any transcoding quality. The link for one of these videos is this one. I have re-downloaded the video, refreshed the library, re-analyze, and cleared the server cache, but direct playback still does not work. The devices I am trying support HDR, and my phone can play the video locally with VLC, but not with Plex. When I try to play the file locally, it doesn’t even open. So I looked into the logs and found the following errors:

Error parsing AAC extradata, unable to determine samplerate.
av_interleaved_write_frame(): Invalid argument
Error writing trailer from media-%05d.ts: Invalid argument

Now I have migrated to TrueNAS with Plex inside a Docker container. I have a 4060ti and an i9-9900k. In the past when I had a Windows PMS the direct play for that video worked fine, but that was 1.40 or older version. Not all HEVC has problems and my movie libraries don’t have issues, just some HDR video demos like this. I noticed that most of MPEGTS container have problems

Finally, I downloaded the Plex Preview Experience. And there I have another error:

MediaCodeAudioRenderer error,index=2,format=(1,null,null,audio/mp4a-latm,aac,-1,unknown,[-1,-1,-1,0,null],[0,0]),format_supported=NO_EXCEEDS_CAPABILITIES

If anyone could shed some light on this issue I would appreciate it.

Having more research this is a Player issue after all. On Android MPEG-TS is not supported by ExoPlayer by default according to this Supported formats  |  Android media  |  Android Developers. However, it seems to be kind possible to force support enabling constant bitrate seeking as discussed here Customization  |  Android media  |  Android Developers. This would require developer implementation, for those wondering, nothing you can do as end-user

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.