sYCC (sRGB/BT.601/BT.709) AVC file is decoding off-by-one
This video:
Color space : YUV
Chroma subsampling : 4:4:4
Color range : Limited
Color primaries : BT.709
Transfer characteristics : sRGB/sYCC
Matrix coefficients : BT.601
Codec configuration box : avcC
sample is decoded a little bit wrong: it has limited range 8 bit YCbCr values that are 120, 90, 201. Since the decoded by BT.601 matrix values must be in sRGB already it is a very good test. Those values are R'G'B' 238, 77, 44, see https://res18h39.netlify.app/color; while VLC outputs 237, 76, 45. 120, 90, 201 YCbCr values can be checked from the raw planes (including BTW superwhite and superblack in limited range) as can be extracted by ffplay -i 2.mp4 -vf extractplanes=y; ffplay -i 2.mp4 -vf extractplanes=u; ffplay -i 2.mp4 -vf extractplanes=v
(Be carefull about 10 bit samples, if you will use this trick of mine, ffplay + extractplanes is broken there, use ffmpeg + extractplanes to 16 bit per component png.)
You can check the decoding for mpv, it is correct there. The decoding in Chrome is also a little bit wrong due to a known issue, see my report there as well. https://bugs.chromium.org/p/chromium/issues/detail?id=1056267#c217
Sample is here: 2
I tasted latest VLC 3.0 nigtly, VLC 4.0 is crashing though.