Hacker News new | ask | show | jobs
by anta40 791 days ago
I previously used yt-dl, then yt-dlp. So for it works nice.

But, CLI only can be intimidating for non-tech users. Let's say there are multiple high resolutions of a video: 1280x720, 1920x1080, 2650x1440, 3840x2160 etc. By default, yt-dlp will fetch the highest one, which is 3840x2160. I want 1920x1080 instead. What I do is fetch the 1920x1080 video and the highest quality audio, then join those with ffmpeg.

A GUI to easily do that is definitely a nice addition.

1 comments

    ytdl -f "bestvideo[height<=1440]+bestaudio/best[height<=1440]" --add-metadata --no-mtime --sponsorblock-remove default %* -o C:\tmp\ytdl%%(title)s-%%(id)s.%%(ext)s --exec ""c:\Program Files\VideoLAN\VLC\vlc.exe" --one-instance --playlist-enqueue {}"
This is the batch file I use on my gaming/media machine, you can season to taste (replace 1440 w/ 1080)