social media clips
i love my idol fancams and clips so i decided to save maybe half a second in sharing my idol clips with this script. it’s a simple yt-dlp wrapper, where the first argument is the youtube link, and the second is your desired filename (minus the extension; it’ll always be an MP4 file).
#!/usr/bin/env bash
#
# yt-dlp wrapper for quickly making clips
# to share on social media
URL="$1"
FILE_OUT_NAME="$2"
if [ $# -eq 0 ]; then
echo "Usage: snsclip [URL] [FILENAME]"
exit 1
fi
yt-dlp -f "ba+bv*[height<=1080p]" -o "$FILE_OUT_NAME" "$URL" --merge-output-format mp4
- proven.lol
provena1a8da