Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    I see that you have done two things here: (1) written the commands as a Windows (.BAT) command script, and  (2) provided a different combination of filters (none of the other answers uses both fps=10 and scale=-1:-1).  Sun’s answer already gave us a batch file, and that one (like the shell scripts in pje’s answer and thevangelist’s answer) has the advantage that it assigns the list of filters to a variable (once),  … (Cont’d) Commented Apr 21, 2017 at 19:09
  • 1
    (Cont’d) …  so it doesn’t need to spell out the list twice (as your batch file does).   (I presume that this creates a risk that, if the user edits the script to change one of the lists but not the other, the inconsistency will cause a problem.)   Can you at least explain your choice of filters (fps=10,scale=-1:-1)?   (See notedible’s answer for an example of an explanation of parts of a command.) Commented Apr 21, 2017 at 19:09
  • 1
    @Scott You said correct, so I write a new useful script in here: github.com/NabiKAZ/video2gif Commented Apr 23, 2017 at 6:46
  • 1
    github.com/NabiKAZ/video2gif works great even in 2022!
    – Ray Hulha
    Commented Mar 17, 2022 at 15:49