I actually use -f bestvideo+bestaudio, since it downloads and muxes the best combination of DASH video and audio.
ArchiveTeam also has a recommended list of flags for archival: https://www.archiveteam.org/index.php?title=YouTube
ArchiveTeam also has a recommended list of flags for archival: https://www.archiveteam.org/index.php?title=YouTube
It does that by default. (If you have ffmpeg)