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

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

0

Browse other questions tagged .