Written by marcelpetrick
on April 7, 2016
You can use a crappy app or some webservice … or DIY!
1 |
$ ffmpeg -t 3 -ss 00:00:04 -i INPUTVIDEO.mp4 -b:v 2048k -vf scale="500x281" OUTPUT.gif |
read: start at second 4 with length 3, use high quality-conversion, downscale (because scaling with ‘convert’ will result in artifacts because of the color-indexing), out-filename
If some rotation is needed (-vf “transpose=2” is also an option, but the quality suffered), add it afterwards via convert.
1 |
$ convert -rotate 270 OUTPUT.gif OUTPUT_rot.gif |
Leave a Reply
You must be logged in to post a comment.