[FFmpeg-devel] avfilter/vf_premultiply : use full range for RGB input

Paul B Mahol onemda at gmail.com
Sat Mar 17 21:54:21 EET 2018


On 3/17/18, Martin Vignali <martin.vignali at gmail.com> wrote:
> Hello,
>
> Patch in attach change premultiply/unpremultiply filter for RGB input
> to process it at full range
>
> Avoid very strange result in unpremultiply mode
>
> To test :
> ./ffmpeg -i ./fate-suite/mov/mov_alpha_premult.mov -vf
> unpremultiply=inplace=1 resStraight.png -y
>
> ./ffmpeg -i ./fate-suite/mov/mov_alpha_premult.mov -vf
> format=gbrap16,unpremultiply=inplace=1 resStraight16.png -y
>
> Martin
>

So you are basically removing support for limited RGB?

Those checks are there for the reason, fix your samples.


More information about the ffmpeg-devel mailing list