Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]
@fritsch - o.k., so I think I've got it... The key being this sentence: "By default XBMC takes the original 16-235 levels and expands them to 0-255."

So xbmc assumes that input video files have preserved the 16-235 range from the original source material, and by default scales this to 1-255, which is then either re/de-scaled to 16-235 (Limited) for output to a t.v. or left alone (Full) for output to a monitor. So when viewing on a monitor, you're stuck with either banding (if you expand) or incorrect levels (if you don't).

Two things that still confuse me: 1) if I play that full-range grayscale ramp video with all scaling turned off ("Limited" kodi / "Full" xrandr), the ramp is smooth, but the range is clearly smaller than the same file played in the stock ubuntu Videos application, which displays a deeper black / brighter white. Does this indicate that all/most video players are assuming a 16-235 range for .mp4 content, and scaling accordingly?

2) is this a valid assumption to begin with? I would think that it would make more sense for the ripping/encoding application to apply the scaling (along with dithering to clean up the banding) itself, given that 16-235 is really a broadcast thing... or at least that there would be info embedded in the files indicating the correct range, and that kodi / other video apps would read this, rather than assuming anything.
Reply


Messages In This Thread
Chromebox and Qwerty Air Mouse - by rahjer - 2014-08-13, 04:51
Wake from suspend K400 - by dontknowhow - 2014-08-20, 16:05
DisplayPort - by Charles R - 2014-08-29, 21:33
HP Chromebox 4Gb - by P3ws - 2014-09-20, 08:51
BIOS update fails - by gkingsmill - 2014-10-17, 12:05
Great Expierience - by pmpartners - 2014-12-06, 16:00
3D support (auto swtich) - by zaldwaik - 2014-12-23, 07:27
RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - by meeotch - 2015-02-19, 00:16
High Idle CPU - by ToBeFrank - 2015-02-28, 03:29
HELP!!! - by code_19 - 2015-03-22, 04:49
R3.15 - 2015/03/19] - by nickr - 2015-03-25, 20:55
Skipping Frames - by busta.rhymes - 2015-07-29, 15:40
External disks not sleeping... - by sixburgh - 2015-10-14, 22:02
ChromeBOX2 success in dualboot - by fishypops - 2015-11-08, 19:05
Confirm Bricked Chromebox - by Bogustime - 2016-03-20, 19:24
(LibreELEC Bluetooth not working - by jerndl - 2017-01-06, 18:20
New Audio Problem - by Pajoe - 2019-01-19, 01:20
RE: New Audio Problem - by Matt Devo - 2019-01-19, 11:13
Powering on with TV turned off - by robca - 2021-07-18, 21:20
RE: Powering on with TV turned off - by robca - 2021-07-21, 19:10
Logout Mark Read Team Forum Stats Members Help
ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]37