Log in

View Full Version : Color shifts


Couleur
11th April 2022, 21:50
When using VapourSynth, there are small color shifts depending on what Colour Space/Range I select on OBS, it's most noticeable when setting the colour range to Full

I recommend using NVIDIA's ICAT to compare these videos:
https://i.imgur.com/o2fUmJf.png

You can download a video comparison for each here:
https://cdn.discordapp.com/attachments/924611628006244352/963178563417296896/colors.zip

The ones with a suffix are the ones who went through VapourSynth (imported using ffms2)

Do you guys have an idea of why there is such a shift in color and how to prevent it? (And if you need to specify a certain range/space when importing, how to parse what the video's range/space are beforehand)

poisondeathray
11th April 2022, 22:00
There is actually negligible difference in YUV values (lossy compression).

The ones with the appended suffix are missing the flags and tagging of the files, causing your playback software to handle the files differently

An easy way to parse flags is mediainfo (view=>text)

eg. "601 Full.mkv"
Color range : Full
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601

But "601 Full - Banana.MKV" is missing that data. Normally you would set those flags in the encoder.

Couleur
2nd November 2023, 11:59
But "601 Full - Banana.MKV" is missing that data. Normally you would set those flags in the encoder.


is there a way to copy that over with ffmpeg?