News:

--

Main Menu

Color Range Issue

Started by Cormy1, November 07, 2021, 05:13:00 AM

Previous topic - Next topic

Cormy1

I'm on latest 2.7.9
Are there color fixes on 2.8?

I think I'm still running into the OBS recording weirdness.
_sample is just copy-mode cut of the original file, _sampe is re-encoded HEVC, no filters, no advanced configuration
https://we.tl/t-W35zZaQZdV

eumagga0x2a

The x265 encoder plugin doesn't allow to specify color range. However, color range can be specified in the configuration of Matroska muxer, which partially compensates the omission.

2.8.0 can decode HDR video to SDR with tone mapping. There haven't been any fresh nightlies for a while, however.

Cormy1

How can I tell whether the video is limited or full range?
I can't seem to reconcile the behaviour of my media players with what I should actually be seeing.
That is also true of Avidemux it seems.
When I import this image into Avidemux, the colours are wrong
https://we.tl/t-ia7gseqFoU

If I do the MPEG2->PC step things are worse, as we had outlined in this thread:
https://avidemux.org/smif/index.php/topic,19181.0.html

It seems this issue has come back, but I'm getting the feeling it has to do with my system configuration. I can get different results if I change Intel Graphics driver settings for "input" range from full to limited.
But in the end the colors are always wrong in one way or another and I feel like I shouldn't have a static setting for input... Given that the input ranges would vary depending on the source no?
Worse, if I want to use the NVidia GPU, I have no control over the input ranges. There is no color control in my NVidia control panel.
I really feel lost on this.

I should note that the first video Arsenium video, without the 2 at the end, was made in June 2018 and therefore before whatever fix may have been implemented after that last thread I linked.
Speaking of which, while it is significantly better than it was, I can still see that the video I had wanted to create in that thread has color which is SLIGHTLY off, though it's no longer a white level/contrast issue but seems to just be more... Yellow?

Maybe I should've continued that other thread.
I hope you can see/recreate what I'm talking about, HEVC isn't involved here.
https://we.tl/t-LO9sU9zxp3

eumagga0x2a

Quote from: Cormy1 on November 08, 2021, 05:38:28 PMHow can I tell whether the video is limited or full range?

If luminance (Y) as output by decoder exceeds the range 16-235 called MPEG/studio/tv range, such a video should be considered full range. The opposite is not true: a video with luma strictly within the 16-235 range is not necessarily limited range. Ultimately, without other references, only human perception can tell.

However, JPEG images are technically always full range.

Quote from: Cormy1 on November 08, 2021, 05:38:28 PMI can get different results if I change Intel Graphics driver settings for "input" range from full to limited.

Yes, sure.

Quote from: Cormy1 on November 08, 2021, 05:38:28 PMWorse, if I want to use the NVidia GPU, I have no control over the input ranges. There is no color control in my NVidia control panel.

Do you use a laptop with hybrid graphics? In this case NVIDIA doesn't output to your display but to a buffer controlled by Intel. It simply doesn't have any say here.

Quote from: Cormy1 on November 08, 2021, 05:38:28 PMI can still see that the video I had wanted to create in that thread has color which is SLIGHTLY off, though it's no longer a white level/contrast issue but seems to just be more... Yellow?

Compared to the JPEG picture, yes. On the other hand, the other JPEG looks different in different image viewers / editors (eog vs gimp), so I think that the goal of perfect color fidelity is not worth the effort when applied to video, IMHO.

Cormy1

If by hybrid you mean I have an Intel iGPU and NVidia dedicated GPU, then yes.

But that setting is only for video, it does not affect image import into Avidemux.
Regardless of settings, I get a washed out image when importing the Shirakawa picture while running Avidemux from the NVidia GPU.
I get "correct" images on the Intel iGPU regardless of settings.

https://yande.re/post/show/56263