Re:Adventures with ffmpeg and color ranges
by the-dude on Wednesday May 29, 2019 @04:42PM
(#20045216)
Are you sure about that? Logitech sells H264-encoding cameras which do yuvj420p ( which is full range as I understand it ).
YT and other platforms have no problem ingesting these videos. Also the RPi Broadcom chipset does not seem to care.
From Rec. 2020 wikipedia article: Since a larger color space increases the difference between colors an increase of 1-bit per sample is needed for Rec. 2020 to equal or exceed the color precision of Rec. 709.
The "correct" solution is to use a modern colorspace (rec 2020) with 10 bits encoding (or 12 bits, if you can). UHD standard mandates at least 10 bits.
On the '821 you could gain 1 bit by degrading to an older color space - 709.
Full 0-255 range should never be used - they are invalid according to the standard. None of the hardware codecs are validated for 0-255 - you're asking for trouble here. Expect ghosting and weird motion artifacts accumulating from one I-frame to the next I-frame.