Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #u need imagemagick, gifsicle and ffmpeg
  2. convert -delay 0 $(for i in $(seq 0 144); do echo ./earth-${i}.jpg; done) -loop 0 ./animated.gif
  3. gifsicle ./animated.gif > ./out.gif --optimize
  4. ffmpeg -f gif -i ./out.gif -vcodec libx264 -pix_fmt yuv420p ./outfile.mp4
  5. rm *.jpg *.gif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement