[FFmpeg-user] preserving YUV color range of 0-255

Dave Rice dave at dericed.com
Sat Mar 8 18:32:11 CET 2014

On March 8, 2014 at 9:03:58 AM, Carl Eugen Hoyos (cehoyos at ag.or.at) wrote:
Dave Rice <dave <at> dericed.com> writes: 

> encoder : Lavf55.19.102 
> Duration: 00:00:00.03, start: 0.000000, bitrate: 164836 kb/s 
> Stream #0:0(eng): Video: rawvideo (2vuy / 0x79757632), uyvy422 

How did you produce the sample?
This is how I made it: http://github.com/dericed/testpatterner/blob/master/sampler#L2-L26

The reason that I made it is that I’m capturing video from analog sources through a decklink device to uyvy422 and v210. The process results in some Y values in the 0-16 and 235-255 range and I made the test pattern in order to test whether the histogram filter is accurately showing these full range values. In the case of the histogram filter it does plot the higher and lower values but some filters such as extractplanes change the range of the input.


Dave Rice

I wonder if uyvy422 isn't supposed to be MPEG-range, 
not full-range. 

Carl Eugen 

ffmpeg-user mailing list 
ffmpeg-user at ffmpeg.org 

More information about the ffmpeg-user mailing list