0

how to use ffmpeg to convert mov file to gif , and gif is resized directly?

Here is the raw file

I firstly convert mov to gif,

ffmpeg -i input.mov -pix_fmt rgb24 output.gif,

then use imageMagick to resize the gif.

convert   output.gif -coalesce temporary.gif
convert -size 756x1504   temporary.gif -resize 189x376 smaller.gif

Here is the result:

000

How to use ffmpeg to do this directly, without using imagemagick

dengApro
  • 311
  • 5
  • 13
  • 1
    Have you tried using the resizing options in ffmpeg? Please do some research before asking. (https://trac.ffmpeg.org/wiki/Scaling) – slhck Nov 14 '19 at 13:10
  • 1
    See the duplicate question for various options related to creating GIFs with ffmpeg, including resizing. – slhck Nov 14 '19 at 13:11

0 Answers0