Skip to content

Instantly share code, notes, and snippets.

View wonderer007's full-sized avatar
🎯
Focusing

Haider Ali wonderer007

🎯
Focusing
View GitHub Profile
@wonderer007
wonderer007 / twitter_encode.sh
Created May 13, 2021 06:07 — forked from vincentriemer/twitter_encode.sh
Script to encode videos optimized for Twitter with ffmpeg. NOTE: Read through the entire script before running and modify to your needs, as it is currently configured for my own environment
#!/usr/bin/env bash
set -e
# usage:
# $ ./encode.sh [INPUT_FILE]
#
# NOTE: The output directory is defined in the script (below) because I use this script with Hazel
# START CONFIGURATION ==================