[FFmpeg-devel] AVFrame.color_trc wrong since f2ad6238e4c0e99e2fc131ee14c586e87b045680

Pavel Koshevoy pkoshevoy at gmail.com
Thu Sep 17 03:21:13 EEST 2020


On 9/15/20 9:24 PM, James Almer wrote:
> On 9/15/2020 10:57 PM, Pavel Koshevoy wrote:


<snip>


>
> that should be color_transfer=arib-std-b67
>
> Would anyone object if I restored previous behavior?  I'd prefer avoid
> reimplementing SEI parsing outside of libav just to get the correct
> per-frame color_trc...
> Yes, the point of the change was to set color_trc before the frame
> buffers were allocated, so a full revert would break that.
>
> Can you share the sample that reproduces this?
>

I've privately sent a Google Drive link to James for a different smaller sample 
that reproduces the same problem, lg_4k_hlg.ts

     Pavel.



More information about the ffmpeg-devel mailing list