3 ms·
A few years ago I went through exactly that kind of holiday todo list and created a few bash scripts for video-to-gif, gif-to-video, and image stabilization. H
by vanderZwan 4y ago
A few years ago I went through exactly that kind of holiday todo list and created a few bash scripts for video-to-gif, gif-to-video, and image stabilization.
Here's the script I cobbled together from various internet searches for the video-to-gif one, it works well enough for that purpose and all you have to do is remove the video-to-PNG bits at the start.:
https://gist.github.com/JobLeonard/5f99b712ba77b7aa82696c1368fd265f https://gist.github.com/JobLeonard/5f99b712ba77b7aa82696c136...
- dontbenebby 4y agoThanks for the code! I'm going to pull down a copy and take a look and then later tweak it... The goal is gonna be to have something where I can give it units of time as arguments and do clips. So for example, you could give it a dot mkv and say from 30 seconds in to 300 seconds in, take that into stills then create a GIF... or an aPNG but... I'll take a look, play around, I need to learn to read undocumented code better this will be a good exercise since it's not some possibly zero day malware that didn't get past noscript like the last time I did that... (But to swing it back to graphics: there a reason people don't use apng more? The reason I got ages ago is PNG is more for line drawings, not raster images like what you'd normally use a JPEG format for, but it's my understanding you can play with settings and get a similar level of compression without the patent encumberment of things like GIF with aPNG, and that it's supported by pretty much every browser except for... [checks wikipedia] Internet Explorer[1]?) Anyways TL;DR: sorry to wall of text you, I'm pounding caffeine and reading the news and jumping between several projects at once -- thanks for the code, I'm going to take a look later -- right now gotta switch locations in ~10 minutes like I'm a Tor circuit ;-) https://en.wikipedia.org/wiki/APNG#Support https://en.wikipedia.org/wiki/APNG#Support