[FFmpeg-user] Extracting frames from HDR video to PNG format - question about PQ nonlinearity [txt]

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jan 24 12:16:58 EET 2020



> Am 24.01.2020 um 09:57 schrieb Michał Kudelski <m.a.kudelski at gmail.com>:
> 
> czw., 23 sty 2020 o 15:47 Carl Eugen Hoyos <ceffmpeg at gmail.com> napisał(a):
>> 
>> FFmpeg does not (yet) support HDR10, the colour space transformation
>> is done as if the input were not HDR (but just 10bit yuv).
> 
> Could you please give me a hint where to find the exact equations of
> transformations made when converting 10bit yuv to 16bit RGB/sRGB in
> the output PNG file?

See http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libswscale/yuv2rgb.c

Carl Eugen


More information about the ffmpeg-user mailing list