Set gif image as background for video

Examples and samples for those who develop software with FFmpeg.
Post Reply
thanhhieu2009p
Posts: 1
Joined: Fri Jul 22, 2016 2:11 pm

Set gif image as background for video

Post by thanhhieu2009p » Fri Jul 22, 2016 2:19 pm

i want set Set gif image as background for video, i use this code
ffmpeg -loop 1 -i image.gif -i video.mp4 -filter_complex "overlay=(W-w)/2:(H-h)/2:shortest=1,format=yuv420p" -c:a copy output.mp4
but not success. Image
https://drive.google.com/file/d/0Bx6gts ... sp=sharing
please help

pandy
Posts: 54
Joined: Mon Feb 24, 2014 1:46 pm

Re: Set gif image as background for video

Post by pandy » Thu Aug 04, 2016 8:54 am


Post Reply