Misplaced Pages

File talk:2004 Indonesia Tsunami Complete.gif: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 13:59, 7 January 2005 edit66.194.217.220 (talk)No edit summary← Previous edit Latest revision as of 10:56, 2 November 2006 edit undoCan't sleep, clown will eat me (talk | contribs)101,994 editsm Reverted edits by 212.85.18.7 (talk) to last version by Cantus 
(12 intermediate revisions by 10 users not shown)
Line 4: Line 4:
---- ----
$ mplayer TITOV-INDO2004.mov -vo png $ mplayer TITOV-INDO2004.mov -vo png

bryantclements


$ convert -scale 40% 00000001.png start.gif $ convert -scale 40% 00000001.png start.gif

Latest revision as of 10:56, 2 November 2006

Did this by grabbing the movie from NOAA, convert it into .png images with "mplayer", then using imagemagick ("convert") to convert the images to correctly cut smaller images (40% size of original video). And finally I used "whirlgif" to compose the animated gif. One optimization I did was to animate only the part of the movie that actually moves and let the surrounding world just be a background image in the animated gif.

These are the commands I used on my Debian GNU/Linux box:


$ mplayer TITOV-INDO2004.mov -vo png


$ convert -scale 40% 00000001.png start.gif


$ for f in *.png; do convert -crop 370x280+90+100 -crop 458x380-90-100 $f tmp.png; convert -scale 40% tmp.png $f.s.gif; echo $f; done


$ ls > incfile.half

(and then I edited incfile.half to only contain i.s.gif where i is an even number with leading zeroes)


$ whirlgif -loop 10000 -globmap -o "2004 Indonesia Tsunami Complete.gif" -time 10 start.gif -off 36:40 -i incfile.half


However, I dont seem to reach the extremely small filesize of the other animated gif (750 kbyte vs 150 kbyte). If someone knows any other ways to optimize the animated gif, please tell me.--Malu5531 15:40, 30 Dec 2004 (UTC)

File talk:2004 Indonesia Tsunami Complete.gif: Difference between revisions Add topic