Academic Work Personal
|
Linux /
AVI -> animated gif
ProblemYou have an AVI and you want to convert it to an animated GIF. SolutionStep 1 mplayer file.avi -vo gif89a -vop scale=100:100 -frames 240 Meaning: resize to 100 x 100 pixels; take the first 240 frames from the AVI. If it works, stop here. If there is something wrong with the GIF output, then: mplayer file.avi -vo jpeg -vop scale=100:100 -frames 240 It'll produce 240 JPG files. Step 2 mogrify -format gif *.jpg Step 3 convert -adjoin -loop 0 -delay 5 *.gif animation.gif Meaning: infinite loop; leave 5/100 second delay between the images. Note: mogrify and convert are part of the ImageMagick package. |
![]() anime | bash | blogs | bsd | c/c++ | c64 | calc | comics | convert | cube | del.icio.us | digg | east | eBooks | egeszseg | elite | firefox | flash | fun | games | gimp | google | groovy | hardware | hit&run | howto | java | javascript | knife | lang | latex | liferay | linux | lovecraft | magyar | maths | movies | music | p2p | perl | pdf | photoshop | php | pmwiki | prog | python | radio | recept | rts | scala | scene | sci-fi | scripting | security | shell | space | súlyos | telephone | torrente | translate | ubuntu | vim | wallpapers | webutils | wikis | windows Blogs and Dev. * Ubuntu Incident Places Debrecen | France | Hungary | Montreal | Nancy Notes Hobby Projects * Jabba's Codes Quick Links [ edit ] |