I hereby claim:
- I am galori on github.
- I am galori (https://keybase.io/galori) on keybase.
- I have a public key whose fingerprint is 084D A109 279D A7E2 2642 BB39 3E1B 94C6 ACDD 45D7
To claim this, I am signing this object:
Demo2 |
Demo |
#!/bin/sh | |
echo 'usage: ./ffmpeg_to_gif.sh ~/Downloads/test.mov ~/Downloads/test.gif' | |
palette="/tmp/palette.png" | |
filters="fps=15,scale=1000:-1:flags=lanczos" | |
ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette | |
ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2 |
I hereby claim:
To claim this, I am signing this object:
(I put this together from comments on my reddit post, and included and credited all the additions from the comments)
* Install Virtual Box | |
* Install latest ubuntu server on it | |
* sudo apt-get install dkms build-essentials gcc gcc++ make xserver-xorg xserver-xorg-core | |
* sudo reboot | |
* sudo mount /dev/cdrom /media/cdrom | |
* cd /media/cdrom | |
* sudo ./VBoxLinuxAdditions-x86.run | |
* install RVM |
# show a version of a file from a commit or branch (without checking out) | |
git show master:app/models/sku.rb | |