[FFmpeg-user] Bit Depth of PNG Overlay with Alpha channel

Gyan Doshi gyandoshi at gmail.com
Sat Nov 25 13:57:57 EET 2017

On 11/25/2017 3:20 PM, Pete Willis wrote:
> We have a transparent PNG file with a drop shadow. The drop shadow when overlayed onto a Mov is rendering very dark.

This is usually related to whether the input color pixels are straight 
or pre-multiplied.


     ffmpeg -I TEST-1.mxf -i test-1.png -filter_complex 
'[1]premultiply=inplace=1[img];[0][img]overlay' -c:v libx264  -profile 
high10 -map '[out]' out2.mp4


More information about the ffmpeg-user mailing list