a figure wearing a shirt and scarf with a floating crystalline head

proto's notes ⋄

originally written 2026-11-02

Yt-dlp

yt-dlp is an actively maintained fork of youtube-dl. It is a commandline tool that can download music and audio from sites like youtube, bandcamp, soundcloud, and 100s of other sites. I have two aliases set up for the most common yt-dlp funtions I need

# download best audio, convert to wav 
yt-dlp -f bestaudio -x --audio-format wav $argv[1] -o "%(title)s.%(ext)s" 
# download best audio/video, convert to mkv, and embed the thumbnail
yt-dlp --embed-thumbnail -f "bv+ba/b" --remux-video mp4 $argv[1] -o "%(title)s.%(ext)s"