Plex is transcoding full 3840x2160 video to h264 1080p

Server Version#:1.21.0.3711
Player Version#: 5.5.1 (Xbox App)

this is a crosspost from the reddit sub, but i’m getting issues with some 3840x2160 videos being transcoded to 1080p because, “Video stream exceeded coded resolution of 3840x2160”

i look at the log and the “codedHeight”: 2176.

i think this issue was supposed to be fixed a previous version of the app, v2.60.2 (5.3.1)

  • Fix playback issues with 4K videos encoded at dimensions larger than 3840x2160

but it is transcoding the video in this version. is this a bug?

EDIT: i optimized the video with original quality. it encoded it to 4k, h264. when i play the optimized version in plex, it transcodes it to 1080p because, “Video stream exceeded coded resolution of 1920x1080.” another bug?

1 Like

Also having this issue. Anything will play if its 1080p or below, whether its HEVC or H.264. But if its, for example, 2160p/4K it will say it’s above the resolution of 1920x1080 and will attempt to transcode to 1080p. Quite annoying to say the least…

i don’t have this issue with every 2160p video. it’s just some with a codedHeight higher than 2160, for instance, 2176.

I’m also experiencing this on an XSX, latest app and Plex server versions. Content that is a full 3840x2160 is being transcoded because of the height issue, but other 4K content plays fine.

Transcoding to 1080p if the coded resolution exceeds 2840x2160 is indeed expected behaviour. The video decoder on the Xbox cannot handle resolutions higher than that and will fail to start playing (and previously crashed the decoder and then app).

Transcoding to a lower resolution in these situations is unfortunately the only solution, but making sure the content is encoded with a resolution not exceeding 2840x2160 can help you to avoid these transcodes.

However if you’re seeing optimized content that is still encoded at that resolution then that is something we should look into. I’ll file an issue for that.

Hmmm its coded to 2176

I assume Plex is actually aware of 2176 as a normal size … that’s the expected “Coded Height” for “4K UHD” media. The decoder crops to the max “Height” of 2160, per the HEVC spec. The console must work with that too?! Right?

I’m super curious to hear if that’s really the issue. I can’t imagine it is, if “4K UHD” works at all. But consoles do such surprising things …

@Moussa?

Yes, that is the expected behaviour for decoders that implement the spec but the Xbox decoder behaves differently. In previous OS versions it would cause a crash, but now it simply refuses to play the video. This is the only viable solution for now unfortunately until something changes with decoder support.

1 Like

is this something that we should bring up to Xbox support? the xbox video decoder should be able to play the 2176 coded files as is?

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