[FFmpeg-user] Levels and Primaries

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 12 13:23:32 CET 2014

Robert Krüger <krueger <at> lesspain.de> writes:

> I would expect it to return the luminance byte that was
> encoded (for 8 bit) regardless of whether it is in 
> broadcast range or full range.

Yes, you are right.


> Then IMHO the easiest thing for Rio to do to be 
> completely sure would be to set a breakpoint where the 
> frame is decoded in ffmpeg (Rio, let me know if you 
> need help finding the right line) and look at the 
> decoded luminance bytes in the debugger (or, if you do 
> not want to use a debuger, hack your own log statements 
> into the code to output individual pixel values, if you 
> encode/decode an all black or white picture I guess you 
> really only need to output the first luma value).

I still don't understand how any of these can be easier 
than looking at rawvideo output.

Carl Eugen

More information about the ffmpeg-user mailing list