Tuesday, January 6, 2009
DIY gifs on linux... cheat sheet...
DIY gifs on linux. cheat sheet.
# FIRST.
# LIMET THE number of frame per second to something small. )
#(between 5 or 6 is OK ) === -ofps 6
#(SCALE VIDEO TO A thumbnail size) === -vf scale=280:200
$ mencoder *.mpg -ofps 6 -ovc lavc -oac copy -vf scale=280:200 -o
out2avi-thumb-ofps6.avi
xxxxxxxxxxxxxxxxxxxxxxxxx
# NEXT
# TURN YOUR AVI FILE INTO STILL JPEGS.
# KEEP YOUR PROJECT IN A ISOLATED FOLDER WITH NO OTHER jpegs
$ mplayer *.avi -vo jpeg:quality=100
xxxxxxxxxxxxxxxxxxxxxxx
# NEXT.
# TURN jpegs INTO A thumbnail gif.
# USING IMAGE MAGIKS convert comand.
$ convert -verbose -delay 15.3 *.jpg final-thumb280x200-.gif
#------------
#------------
# convert needs non free " mpeg2decode."
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
GET THE non free source from.
# http://www.mpeg.org/MPEG/video/mssg-free-mpeg-software.html
# look for ( mpeg2vidcodec_v12.tar.gz ) this has mpeg2decode in it.
No comments:
Post a Comment