Skip to content

Instantly share code, notes, and snippets.

@cmfcmf
Last active January 2, 2016 17:39
Show Gist options
  • Save cmfcmf/8337971 to your computer and use it in GitHub Desktop.
Save cmfcmf/8337971 to your computer and use it in GitHub Desktop.
convert test.gif test%05d.jpg
ffmpeg -r NUMBER_OF_JPG_PICTURES_GENERATED -i test%05d.jpg -y -an test.avi
@cmfcmf
Copy link
Author

cmfcmf commented Jan 16, 2014

After executing the first line, count the number of pictures generated, and then replace NUMBER_OF_JPG_PICTURES_GENERATED by this number and run the second line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment