commit 20f13bb5a798a50cd3924d0083274902051c8bcb
parent 25c4db58bf4b1309b0c4ff9f2bfd9bc9e698a5bc
Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 8 Dec 2017 07:45:09 -0500
Add hyperlinks to profiles, add comment on ffmpeg arg
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/links/bin/ffmpeg-to-mp4.sh b/links/bin/ffmpeg-to-mp4.sh
@@ -8,6 +8,8 @@ output=${1%.*}.mp4
# From media9 LaTeX package documentation.
# Generates sufficient keyframes to allow for precise seeking within video.
+# The scale argument ensures that dimensions are divisible by 2, a requirement
+# for MP4 videos using H.264.
ffmpeg -i $1 \
-vf scale="trunc(iw/2)*2:trunc(ih/2)*2" \
-c:v libx264 -profile:v high -pix_fmt yuv420p \
diff --git a/links/bin/t-followers-diff.sh b/links/bin/t-followers-diff.sh
@@ -10,6 +10,6 @@ t followers | \
sed 's/ */ /' | sed 's/ *//g' \
> $tmpfile
-echo "> = unfollowed < = new follower"
-colordiff $tmpfile{-old,}
+echo "< unfollowed > new follower"
+colordiff $tmpfile{-old,} | sed 's/ / https:\/\/twitter.com\//'
echo "To $(wc -l $tmpfile | awk '{ print $1 }') from $(wc -l $tmpfile-old | awk '{ print $1 }') followers"