Get yt-dlp:
A feature-rich command-line audio/video downloader - yt-dlp/yt-dlp
github.com
Get yt-dlp FFMPEG builds:
FFmpeg Builds for yt-dlp. Contribute to yt-dlp/FFmpeg-Builds development by creating an account on GitHub.
github.com
Extract them to the same folder, open a command prompt in the folder and try this:
yt-dlp.exe -f "bestvideo[height<=720]+bestaudio/best[height<=720]" -r 2M URL
yt-dlp.exe -f "bestvideo[height<=720]+bestaudio/best[height<=720]" -r 2M https://www.youtube.com/watch?v=JZTVchX8qJs
This will find the best quality audio & video for a stream at 720p which i find is best for archiving stuff as i don't need 4k or anything like that.
Change 720 for whatever res you prefer.
-r will limit the download to 2M handy to avoid flooding your connection and pissing off housemates, getting stuttering etc. Change as required.
URL is the full url of the stream/video.
yt-dlp.exe -F URL
will give you the available formats for a stream, DASH will usually throttle at some point so i avoid it.
yt-dlp can do some pretty complicated things especially if you combine it with aria2c, so read the wiki and do some searches for tutorials if you want more complicated things. I've pretty much settled on that command as my go-to rip command.