Skip to content

Script to create a gif from a standard android screen grab .mp4 video via imagemagick

License

Notifications You must be signed in to change notification settings

hotpodata/andVidToGif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

andVidToGif

Simple script to create a gif from a standard android screen grab .mp4 video via imagemagick and ffmpeg

Dependencies

OSX

  • imagemagick
    • brew install imagemagick
  • ffmpeg
    • brew install ffmpeg

Usage

./andVidToGif.sh -i screendump.mp4 -o screendump.gif

File to large?

I recommend shrinking your gif via https://github.com/pornel/giflossy

./gifsicle -O3 --lossy=80 -o screendump_shrunk.gif ./sreendump_source.gif

Method

  • create tmp folder
  • dump each frame into the tmp folder as a png
  • shrink each png down to 1/4 original size
  • stitch pngs together into output gif
  • nuke tmp folder

About

Script to create a gif from a standard android screen grab .mp4 video via imagemagick

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages