[FFmpeg-user] Need ffmpeg command for gif joiner

Moritz Barsnick barsnick at gmx.net
Sat May 7 17:50:37 CEST 2016

On Fri, May 06, 2016 at 22:57:15 +0530, Manoj Miyani wrote:
> i want joint mutiple *.gif*  with ffmpeg but issue is that when i have made
> joint gif it was default background as black color.any suggestion for it.

Have you checked the documentation? You can specify the color for the "pad"

$ [...] [0:0]pad=140:70:color=red[t1]; [...]

> here it is command to joint multiple gif.
> * ffmpeg  -f gif -i '/home/manoj/Downloads/Font_1/gt1.gif' -i
> '/home/manoj/Downloads/Font_1/f4.gif' -i
> '/home/manoj/Downloads/Font_1/f3.gif' -filter_complex
> '[0:0]pad=140:70[t1];[t1][1:0]overlay=w' -pix_fmt yuv420p    -y output.gif*

Interesting command. You supply three input files, but use only two.
And you "force" the first one to be recognized as GIF, while the others
are automatic. Any reason for this? (Just trying to help.)


More information about the ffmpeg-user mailing list