If you know, you know. The `ffmpeg` command line options. ๐คจ
Let me collect some function definitions on this page. I'll be adding more over the years to come, for sure.
function video-resolution ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of default=nw=1 $argv end # remember to download lower resolutions for smaller laptops yt-dlp --list-formats URL yt-dlp --format N URL # download audio only yt-dlp --extract-audio --audio-format mp3 URL # extract audio without converting ffmpeg -i input.mp4 -vn -acodec copy output.aac # convert to mp3 ffmpeg -i input.mp4 output.mp3
โ#ffmpeg โ#fish