[FFmpeg-user] Levels and Primaries
krueger at lesspain.de
Wed Feb 12 13:55:38 CET 2014
On Wed, Feb 12, 2014 at 1:23 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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.
Sorry, that was a misunderstanding. I thought you meant raw video
input. That's of course an easy way to dump the pixel values.
More information about the ffmpeg-user