Page 1 of 1

White Clipping

Posted: 17 Dec 2017, 15:53
by barong
I have noticed MrMC is clipping whites in SDR playback.
Using this file:
https://m.youtube.com/watch?v=3vCn5JXny8w

Values over 234 are clipped. Playing this back in the inbuilt YouTube app works fine with no clipping.

I notice that there is a setting under acceleration that stops it from clipping, but it also elevates the black level to full range/0 instead of video black /16.

Wondering if there can be another option that leaves video black at 16 but doesn’t clip whites eg. 16 - 253?

Hope this makes sense.

Re: White Clipping

Posted: 17 Dec 2017, 17:00
by davilla
The choice is limited (16 - 234) or full (0 - 255). There is no video spec for 16 - 253.

You can always adjust brightness/contract for ffmpeg/videotoolbox but not avfoundation codecs.

Re: White Clipping

Posted: 17 Dec 2017, 17:12
by cosmoxl
davilla wrote:
17 Dec 2017, 17:00
The choice is limited (16 - 234) or full (0 - 255). There is no video spec for 16 - 253.

You can always adjust brightness/contract for ffmpeg/videotoolbox but not avfoundation codecs.
16-253 is actually what I get with the ATV4 using AVF, or other "native players", and with roku devices, and what I used to get with shield TV, all using ycbcr 444 8bit.

Re: White Clipping

Posted: 17 Dec 2017, 23:39
by barong
davilla wrote:
17 Dec 2017, 17:00
The choice is limited (16 - 234) or full (0 - 255). There is no video spec for 16 - 253.

You can always adjust brightness/contract for ffmpeg/videotoolbox but not avfoundation codecs.
That may be the case, but just about all other media players operate this way with black level 16 and not clipping whites.
Youtube, TV's inbuilt player (various manufacturers), various kodi boxes etc.

I understand if it is a limitation of the Apple TV 4K though and it can't be implemented.

Re: White Clipping

Posted: 18 Dec 2017, 01:31
by davilla
They might operate this way but the actual video content comes in two forms for SDR. Limited or Full. There is nothing in between.

If you want to 'boost' the white levels, use the contrast setting in the video OSD. A value of 43-45 should create the desired effect.

Note, All XBMC/Kodi/SPMC/MrMC share the identical code for color range scaling. They all treat limited as 16-235. That is the spec definition of limited range for video content.