ScratchData LogoScratchData
Back to comp09's profile

asdfscratch3 - asdfmovie scratchitized

COcomp09•Created January 26, 2015
asdfscratch3 - asdfmovie scratchitized
731
714
9665 views
View on Scratch

Description

WARNING: If your computer has less than 8 GB of RAM, you are advised to exit this page immediately. Scratch 3.0 currently has a severe memory usage issue with large numbers of costumes. ▸ asdfscratch: http://scratch.mit.edu/projects/2460272 ▸ asdfscratch2: http://scratch.mit.edu/projects/44358106 ▸ asdfscratch4: http://scratch.mit.edu/projects/45958496 ▸ asdfscratch5: http://scratch.mit.edu/projects/46027794 ▸ asdfscratch6: http://scratch.mit.edu/projects/46042670 ▸ asdfscratch7: http://scratch.mit.edu/projects/46284728 ▸ asdfscratch8: http://scratch.mit.edu/projects/46321260 ▸ asdfscratch9: http://scratch.mit.edu/projects/76520440 ▶ HOW TO WATCH: 1. Click the green flag 2. Enjoy the hilarity that ensues. asdfmovie3 was written by TomSka. Watch the original version here: http://asun.cf/w76gz ▶ HOW I MADE THIS: When making this, I used the Scratch Offline Editor (http://asun.cf/8ir9y). The offline version does not upload everything to the server automatically, which is crucial to the process by which I made this. Using a horribly messy bash command (ffmpeg -i input.mp4 -vf scale=480:-1 -r 15 -f image2pipe -vcodec ppm - | convert -delay 6.67 -loop 0 - output.gif), I converted the asdfmovie3 YouTube video to a 15 fps animated GIF. Using another program (http://asun.cf/j3vrn), I split the animated GIF into 300-frame segments to avoid crashing Scratch. I then imported each GIF into Scratch as costumes, then exporting the sprite. What I did next was very important. I unzipped the sprite file, and ran PNGOUT (http://asun.cf/x5jci) on every PNG file in the folder. The PNGs Scratch outputs when importing a GIF are extremely large and unoptimized, which makes it impossible to fit it in the 50 MB filesize limit. PNGOUT quickly optimized the PNG files to make them much, much smaller. After that, I wrote a small script to correct the checksum discrepancies inside the sprite.json file (http://asun.cf/7c98c), as I modified the files. After each sprite.json file was processed by my script, I zipped the unpacked sprites back into .sprite2 files, then imported them into one big Scratch project. After that, I added some scripts to make it animate, and uploaded the project to this website to make what you see right now. An absolute-time based animation method was necessary to compensate for the fact that not all computers run at the same speed. It's amazing that you have actually made this far reading this. Have some animated gifs! http://asun.cf/9syfu http://asun.cf/ash-0 http://asun.cf/9tk3d http://asun.cf/dqzk7

Project Details

Project ID44880966
CreatedJanuary 26, 2015
Last ModifiedFebruary 17, 2019
SharedMarch 2, 2015
Visibilityvisible
CommentsAllowed