Skip to main content
17 events
when toggle format what by license comment
S Feb 26, 2021 at 20:50 history suggested Connor McCormick CC BY-SA 4.0
Eliminate problem of gifs running 2x
Feb 23, 2021 at 18:55 review Suggested edits
S Feb 26, 2021 at 20:50
Oct 3, 2020 at 11:48 comment added localhost @Ajedi32 Thanks. You forgot the -vf though, it should be ffmpeg -ss 30 -t 3 -i input.flv -vf "fps=10,scale=320:-1:flags=lanczos,split[x][z];[z]palettegen[y];[x][y]paletteuse" output.gif
Apr 30, 2020 at 14:40 review Suggested edits
Apr 30, 2020 at 16:49
Sep 7, 2018 at 7:08 comment added Sudhir Singh Khanger Is there a way to maintain the scale? For example, my video file is 904:774. How do I do it without setting scale=320:-1? Is there a way to automate it without exploding the size?
Jan 8, 2017 at 23:26 comment added Ajedi32 You can also avoid intermediate image files by using the split filter in ffmpeg. No need to pipe anything at all: ffmpeg -ss 30 -t 3 -i "input.flv fps=10,scale=320:-1:flags=lanczos,split[x][z];[z]palettegen[y];[x][y]paletteuse" output.gif
Jan 8, 2017 at 4:28 comment added Steven Huang @Titan believe it's the -r 10 in the first command and the -delay 5 in the second. I changed the delay to 10 also and it seems to play normally now.
Nov 17, 2016 at 16:22 review Suggested edits
Nov 17, 2016 at 17:53
S Oct 15, 2016 at 20:57 history suggested Ciro Santilli OurBigBook.com CC BY-SA 3.0
Add .flv extension to input file to make it easier to understand.
Oct 15, 2016 at 18:53 review Suggested edits
S Oct 15, 2016 at 20:57
Oct 10, 2016 at 13:28 comment added Titan The gif appears to be running at 2x the speed of the source video?
Jul 5, 2016 at 5:50 comment added Clément You should merge the last two convert commands: convert -delay 5 -loop 0 -layers Optimize - output.gif
Dec 9, 2015 at 2:00 comment added raphael This set of commands also works with avconv
Mar 18, 2014 at 12:11 history edited notedible CC BY-SA 3.0
Edited for clarity
S Mar 18, 2014 at 10:04 review Late answers
Mar 18, 2014 at 10:04
S Mar 18, 2014 at 10:04 review First posts
Mar 18, 2014 at 10:28
Mar 18, 2014 at 9:47 history answered notedible CC BY-SA 3.0