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

Martin Vignali martin.vignali at gmail.com
Sat Mar 17 21:46:50 EET 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-avfilter-vf_premultiply-use-full-range-for-RGB-input.patch
Type: application/octet-stream
Size: 2579 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180317/f103e21c/attachment.obj>

More information about the ffmpeg-devel mailing list