lostb1t / replex

Remix your Plex hubs
205 stars 7 forks source link

Force Max feature causes 4K transcode #59

Closed eandrade92630 closed 1 year ago

eandrade92630 commented 1 year ago

I noticed when the force Max quality feature is enabled 4K movies are transcoded down to 1080 SDR.

eandrade92630 commented 1 year ago

Just for reference I ran a simple pass thru proxy that only captured requests/responses but did not modify any parameters and it still causes 4K transcoding. I do not understand why. If I stop running the pass thru proxy and essentially route the decision endpoint to a non existent endpoint everything works fine.

lostb1t commented 1 year ago

That is interesting. Can you tell me how I can reproduce this?

Also what happens if you route all traffic through Replex?

eandrade92630 commented 1 year ago

If I route all traffic through replex I get the same issue. The only fix I've found so far is to just redirect the decision endpoint to something null or 404. I'm looking into other possible solutions.

lostb1t commented 1 year ago

what steps do you take to reproduce? I can't reproduce with a 4k item. Is this across clients?

also use the latest replex image. Some fixes in there.

eandrade92630 commented 1 year ago

This is happening regardless of replex. Like I said, I replaced replex with a pass thru proxy to capture the headers and requests and even with a pass thru proxy 4K content was being transcoded to 1080p. Can you confirm the details of the video you're reproducing with? Are you sure it's 4K? Is it HDR or SDR? H.265 or H.264?

eandrade92630 commented 1 year ago

I believe I've found the fix. It seems the videoQuality parameter MUST be removed completely if it's a 4K video in order to stream in original/max quality.

Edit: idk what changed, it went back to transcoding. This is not the solution.

lostb1t commented 1 year ago

Closing this because it's an plex issue not an Replex issue. Might want to check on plex discord for help