Skip to content

Instantly share code, notes, and snippets.

View apcro's full-sized avatar
💭
Github's user dashboard really is rubbish

Tom Gordon apcro

💭
Github's user dashboard really is rubbish
  • Typeform
View GitHub Profile
@apcro
apcro / devert
Last active November 9, 2019 07:10 — forked from cfr/devert
Fix vertical video by placing a blurred image in the background. This script accepts a width/height for resizing.
#!/usr/bin/env sh
# original from http://stackoverflow.com/a/30819570/187663
if [ $# -lt 2 ]
then
echo "Usage: devert {input video filename} {input image filename}"
echo "Usage: devert {input video filename} {input image filename} {width} {height}"
echo ""
echo "Excluding the width and height will generate a video at 1280x720"
exit;
fi