[FFmpeg-devel] [PATCH] fate: add vf_overlay test for main source with alpha channel

Nicolas George george at nsup.org
Thu Jul 20 18:42:03 EEST 2017


Le duodi 2 thermidor, an CCXXV, Nicolas George a écrit :
> testsrc2 does not handle alpha, though, so most of the video is
> transparent. I will have a look to see if it can be improved.

Have a look at the attached patch.

(Not complete, but working.)

testsrc2=s=1024x768:alpha=255[a];testsrc2=alpha=128[b];[a][b]overlay=x=100:y=50

gives the expected result.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170720/188c46c5/attachment.sig>


More information about the ffmpeg-devel mailing list