Last active
February 4, 2020 01:39
-
-
Save samson-sham/18f71593f0c6bfe40619e33d773fb95f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat 1580736977_init.mp4 $(ls -v 1580736977_53*.m4s | xargs -I % echo '%') > video.mp4 | |
montage *.jpg -tile 10x30 -geometry +0+0 -background none sprite_%03d.jpg | |
convert sprite*.jpg -sampling-factor 4:2:0 -strip -quality 60 -interlace JPEG -colorspace RGB compressed-%03d.jpg | |
ls -v sprites*.jpg | cat -n | while read n f; do mv -n "$f" "shifted-$(($n-1)).jpg"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment