You might need MPlayer and ImageMagick for this
sudo apt-get install mplayer imagemagickThe for the animated gif
mplayer -ao null -ss 0:00:01 -endpos 4 /path/to/video -vo jpeg:outdir=Extracted
cd Extracted
convert -delay 10 *.jpg -loop 0 animate.gifIf you want your full video to be converted to gif you could use this (byexamples archives)
mplayer -vo gif89a /path/to/videoFor the explanation of the mplayer part please see the referenced site, for the convert please see http://www.imagemagick.org/Usage/anim_basics/.
0 comments:
Post a Comment