Get best yt-dlp quality output:


yt-dlp -f bestvideo+bestaudio/best --merge-output-format mkv URL

*This will get best video and audio source, and merge them into a mkv file with YouTube time stamp at the end. Needs ffmpeg installed from apt or source to work.

Source | Date: September 12th 2023.

Back