[FFmpeg-devel] avfilter/vf_premultiply : use full range for RGB input
martin.vignali at gmail.com
Sat Mar 17 23:26:59 EET 2018
> Obviously for whatever reason files are tagged as limited, when in fact
> they are full range.
> I couldn't find source of this bug. But your patch is wrong, as it ignores
> color_range if it is set to limited, even if such files are useless.
I think there is two problem here
1 - Frame tagged as limited instead of full
2 - Wrong calculation for rgb in unpremultiply offset
Patch in attach, try to fix the second problem
changing unpremultiply_offset, to avoid very wrong output with rgb input (8
bits or 16 bits)
Not sure it's the best way to fix that.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1479 bytes
Desc: not available
More information about the ffmpeg-devel