Closed RushingAlien closed 3 months ago
More information: when video is played with gstreamer the color looks accurate, but not if with ffmpeg. Maybe this is because gst looks at colorimetry data directly while ffmpeg relies on metadata?
I think this can be added. But note this is almost always not want you want.
Hello, OBS has a pixel format setting for video in the advanced tab where we can choose between full range (0-255 for 8-bit yuv) or limited range (16-235) color range.
Color Range setting
FFMPEG VAAPI result
Recording with this state with the ffmpeg vaapi encoders in OBS results in a video with full color range (Levels)
obs-vaapi result
However the obs-vaapi encoded ones are still encoding in
limited
while OBS is giving full range frames, causing bad color mapping when playbacked.In this image, the top part is what the color should look like, the bottom part is what shows when obs-vaapi encoded video is play-backed.
Additional Information
https://gstreamer.freedesktop.org/documentation/video/video-color.html
looks like this can be set via
GstVideoColorimetry