Last active
April 17, 2022 15:39
-
-
Save aaronpenne/c73a75f8cbc8613b50c3b4bfc8cad2e4 to your computer and use it in GitHub Desktop.
Revisions
-
aaronpenne revised this gist
Apr 17, 2022 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,9 @@ ffmpeg -i IMG_0021.jpeg -i IMG_0029.jpeg -i IMG_0026.jpeg -filter_complex "[0][2 # Expand image by adding colored padding convert unpadded.png -background "#ECE7DD" -gravity center -extent 7200x4000 padded.png # Crop video, centered ffmpeg -i in.mp4 -filter:v "crop=in_w-30:in_h-18" -c:a copy out.mp4 # Convert Quitcktime screen recording to gif ffmpeg -i screen_recording.mov -pix_fmt rgb24 -r 20 -s 400x400 out.gif -
aaronpenne revised this gist
Feb 22, 2022 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,7 @@ ffmpeg -i IMG_0021.jpeg -i IMG_0029.jpeg -i IMG_0026.jpeg -filter_complex "[0][2 convert unpadded.png -background "#ECE7DD" -gravity center -extent 7200x4000 padded.png # Convert Quitcktime screen recording to gif ffmpeg -i screen_recording.mov -pix_fmt rgb24 -r 20 -s 400x400 out.gif # Image to hex outputs convert hole.png txt: | grep -o "#\w*" | sed -e 's/^/"/g' -e 's/FF$/",/g' | tail -n +2 | pbcopy -
aaronpenne revised this gist
Feb 8, 2022 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,4 +2,7 @@ ffmpeg -i IMG_0021.jpeg -i IMG_0029.jpeg -i IMG_0026.jpeg -filter_complex "[0][2][1]hstack=inputs=3" combined.png # Expand image by adding colored padding convert unpadded.png -background "#ECE7DD" -gravity center -extent 7200x4000 padded.png # Convert Quitcktime screen recording to gif ffmpeg -i screen_recording.mov -pix_fmt rgb24 -r 20 -s 400x400 out.gif -
aaronpenne created this gist
Jan 28, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # Combine multiple images into one (three singles into one row of three) ffmpeg -i IMG_0021.jpeg -i IMG_0029.jpeg -i IMG_0026.jpeg -filter_complex "[0][2][1]hstack=inputs=3" combined.png # Expand image by adding colored padding convert unpadded.png -background "#ECE7DD" -gravity center -extent 7200x4000 padded.png