7 ms·
Thus far I have seen every gif blink except, for someone hits a hole-in-one, earthquake 4 and old faithful erupts. I'm tempted to open the gifs and check the f
by deletes 13y ago
Thus far I have seen every gif blink except, for someone hits a hole-in-one, earthquake 4 and old faithful erupts.
I'm tempted to open the gifs and check the frequency.
EDIT:
I have looked at GIF format: http://www.onicos.com/staff/iz/formats/gif.html http://www.onicos.com/staff/iz/formats/gif.html
Then I opened the image with fhread and found the offset for the delay time. Look for: Delay Time (1/100ths of a second). ( Since the delay time has only 2 bytes reserved that means the max delay would be 65535. That is why some gifs have more frames than the other, when by logic all would need to have the same count )
Then I opened the image with photoshop which shows every frame on a separate layer.
Then you just multiply the delay with the number of frames.
I got the ratio of 3786.72 to 1 for earthquake-1 to earthquake-4. e1 is about ~3s so that would make e4 occur every ~3 hours.
The ratio should be correct. But my seconds calculation was off by a factor of 4 for some reason. Maybe I missed some format specific stuff. You can try it for the rest of the GIFs if you want.
EDIT2:
A very quick estimate, looking in the other files:
hole-in-one: ~50 minutes
old faithful erupts: ~4 hours
Wiki says 45 to 125 minutes. http://en.wikipedia.org/wiki/Old_Faithful http://en.wikipedia.org/wiki/Old_Faithful
- tim333 13y agoYeah, how do you do that? I saved the gif and opened it in apple preview which show the frames but not the frame rate. Photoshop perhaps?
- kalleboo 13y agoOn the Mac, GraphicConverter[0] has been my go-to app for this kind of random graphic stuff since the mid-90's (wow, it's a 22 year old app now!). "Movie Information" in the windows menu says there's a 300 second period on the Old Faithful GIF. [0] http://www.lemkesoft.de/en/products/ http://www.lemkesoft.de/en/products/
- dredmorbius 13y agoThat would be far too high a rate. Old Faithful erupts approximately every 90 minutes, or 5400 seconds (though it can vary quite a bit -- 45 - 125 minutes): http://en.wikipedia.org/wiki/Old_Faithful http://en.wikipedia.org/wiki/Old_Faithful
- ctz 13y agooldfaithful.gif has a 93.9 minute delay (8 655 second frames, plus a 392 second one). Which is about right. (ImageMagick's identify program outputs the frame delays when you give it -verbose. Units are hundreths of seconds.)
- kps 13y agofor i in *.gif; do eval "print -f '%-21s %7.2fs\n' $i \$(($(gifsicle --info $i | sed -n -e 's/.*delay \(.*\)s/\1/p' | tr '\n' +)0))"; done Assumes a shell that does floats, i.e. not bash. amelia.gif 7.79s bieber.gif 4.73s bike.gif 24.93s birth.gif 0.24s book_mockingbird.gif 42.05s bottles.gif 1.27s car_china.gif 1.89s car_elsewhere.gif 1.03s car_germany.gif 5.80s car_japan.gif 4.01s car_us.gif 6.95s cat.gif 21.30s cat_mockingbird.gif 1.82s death.gif 0.56s denverpizza.gif 1.27s dog.gif 15.60s dogbite.gif 7.01s domain.gif 0.64s eagle.gif 2.69s earthquake1.gif 2.43s earthquake2.gif 24.26s earthquake3.gif 242.60s earthquake4.gif 2426.00s facebook.gif 4.32s fire_dept.gif 23.00s flight.gif 0.93s heartbeat.gif 0.86s holeinone.gif 180.00s house.gif 6.22s iphone.gif 0.93s keys.gif 2.43s kiss.gif 5.53s littleleague.gif 1.23s meteor.gif 1.15s ndsex.gif 1.38s oldfaithful.gif 5640.00s parliament_toilet.gif 10.06s phoenix.gif 2.05s phoenixshoes.gif 1.08s pulsar.gif 1.40s recycled.gif 4.64s shark.gif 0.83s tattoo.gif 2.06s turnsignal1.gif 0.94s turnsignal2.gif 0.90s us_cancer.gif 18.99s us_cancer_death.gif 54.34s vibrator.gif 2.99s wedding.gif 0.75s wikipedia.gif 0.67s
- deletes 13y agoYou can take any tool that can process .gif. The fun part is doing it yourself and learning something in the progress. I downloaded a .gif editor, but decided to not use it.
- dblotsky 13y agoSo simple, so unreadable, but so perfect.
- eCa 13y agoHere is the relative frequency: oldfaithful.gif 1 earthquake4.gif 2.3 earthquake3.gif 23.2 holeinone.gif 31.3 us_cancer_death.gif 104 book_mockingbird.gif 134 bike.gif 226 earthquake2.gif 232 fire_dept.gif 245 cat.gif 265 us_cancer.gif 297 dog.gif 362 parliament_toilet.gif 561 amelia.gif 724 dogbite.gif 805 car_us.gif 812 house.gif 907 car_germany.gif 972 kiss.gif 1020 bieber.gif 1192 recycled.gif 1216 facebook.gif 1306 car_japan.gif 1406 vibrator.gif 1886 eagle.gif 2097 earthquake1.gif 2321 keys.gif 2321 tattoo.gif 2738 phoenix.gif 2751 car_china.gif 2984 cat_mockingbird.gif 3099 pulsar.gif 4029 ndsex.gif 4087 bottles.gif 4441 denverpizza.gif 4441 littleleague.gif 4585 meteor.gif 4904 phoenixshoes.gif 5222 car_elsewhere.gif 5476 turnsignal1.gif 6000 flight.gif 6065 iphone.gif 6065 turnsignal2.gif 6267 heartbeat.gif 6558 shark.gif 6795 wedding.gif 7520 wikipedia.gif 8418 domain.gif 8813 death.gif 10071 birth.gif 23500
- Moru 13y agoOr you could just cheat and go to http://www.explainxkcd.com/wiki/index.php/1331 http://www.explainxkcd.com/wiki/index.php/1331 but yes that takes away some of the fun :-)
- nitrogen 13y agoThe GIMP (http://gimp.org http://gimp.org) is very handy for editing animated GIFs. Each frame is loaded as a layer, with the frame's duration appended to the layer name.