GaryOderNichts / moonlight-wiiu

Moonlight Wii U port
GNU General Public License v3.0
143 stars 13 forks source link

Low image contrast, looking like limited RGB stream displayed as full RGB content #46

Open supercurio opened 9 months ago

supercurio commented 9 months ago

Hi! Thanks for this cool project.

My setup:

When streaming my PC, blacks are elevated and whites slightly dimmer. I didn't capture the output to check the RGB values yet but eyeballing it, it looks just like a limited RGB (16-235) stream displayed as full RGB (0-255).

I'm reading in discussions about other moonlight clients that the client can select to be provided a limited or full range stream by the host, hopefully it's the case in the library here as well. Otherwise, either the video decoder or the display shader would be able to complete the conversion - whichever option would provide the least banding.

I'm not familiar with this platform very much to contribute with code, but I can complete further measurement and testing onwards.

GaryOderNichts commented 9 months ago

Hmm interesting. moonlight-common-c states that "the encoder will default to Rec 601" and "Limited" color range "If not set". The display shader also expects Rec 601, so this should be fine.

Further testing and measurements would be appreciated.

encauporce commented 3 months ago

At first I thought there was something wrong with gamma.