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

wm4 nfxjfg at googlemail.com
Sun Mar 18 10:26:30 EET 2018


On Sat, 17 Mar 2018 20:46:50 +0100
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

I thought all alpha in ffmpeg is "straight" (not premultiplied). Was I
lied to?


More information about the ffmpeg-devel mailing list