-
Notifications
You must be signed in to change notification settings - Fork 238
Description
I was streaming my own screen for testing and noticed an issue with decreasing contrast.
All encoding types have this issue, with MJPEG suffering the most. In my testing, the effect seems to be that 255->~235 and 0->~16 with x264, which would line up with an improperly decoded 'limited rgb' or 'tv range' gamut (16-235 instead of 0-255, a historical artifact that is still usually the default). If this is the case, then I think the best solution would be to make sure the encoding is done in the 'full range' or 'pc range' mode (0-255). This should also decrease color banding in the output. See https://academysoftwarefoundation.github.io/EncodingGuidelines/tests/greyramp-fulltv/fullrange.html which also has example ffmpeg commands.
If this is the issue, it would mean that the stream was encoded as tv range but labelled as full range. I'm not certain that this is the problem, but it seems like a possibility. It is also possible that this is a completely unrelated issue with client side rendering.