Correcting Video Levels

Nicolas Dufresne nicolas at
Fri May 13 20:47:45 UTC 2022

Le jeudi 12 mai 2022 à 07:57 -0700, Patrick Cusack via gstreamer-devel a écrit :
> GStreamer team,
> I am capturing video using a BlackMagic Video device, sending out using a VP9
> encoder, and then using a payloader for use with webRTC. When I view the
> stream, my blacks and whites are mapped 16-235 instead of 0-255. Is there a
> way to correct this? WIth ffmpeg, I can use a filter graph and and set the
> input and output scale “scale=in_range=limited:out_range=limited”.

I don't think our converters current handle this, but the range is part of the
colorimetry= filed in caps. Would be nice to fix this of course, range
conversion seems pretty handy.

> Thanks,
> Patrick

More information about the gstreamer-devel mailing list