Here's a little yad program that uses yt-dlp, ffmpeg, and ffprobe as backends. Paste in the Youtube playlist (or single video) that you'd like to download and select output directory, resolution, video and audio codecs. Tick the checkboxes if you want to trim silence from the start and end of videos and/or merge all videos in playlist to one video.
0.5 is a bit of a re-write. This version won't overwrite an existing file if the same file name already exists in the save directory, you will be prompted to select available audio and video, you can input video url links from non-youtube sites that yt-dlp supports. If you want just the video (no audio) from a youtube link, you can select null for your audio source. If you want just the audio (no video) from a youtube link, you can select null for your video source. The original intent of this script was to download as well as strip silence and merge files of a youtube playlist and that is still a function if a playlist link is submitted.