Live data from Hacker News

YouTube-dl is under new management, will be happy to see new PRs

github.com

11–20 of 62 posts

Re: YouTube-dl is under new management, will be happy to see new PRs

#11

I'm using yt-dlp, and a very small change really made me go "cool" is Color numbers.. I just wish for functions I could pick mid 720p'ish as a setting that includes audio+video, and not have to pick the audio and video formats. Theres a worst and a best option, but I'd want a middle quality to save space.

You can totally do that! See the section on Format Selection[0].

From my reading of it, doing this would work for what you want:

  -f 'bv*[height
[0] https://github.com/yt-dlp/yt-dlp#format-selection

Re: YouTube-dl is under new management, will be happy to see new PRs

#12

I'm using yt-dlp, and a very small change really made me go "cool" is Color numbers.. I just wish for functions I could pick mid 720p'ish as a setting that includes audio+video, and not have to pick the audio and video formats. Theres a worst and a best option, but I'd want a middle quality to save space.

You can do that with the arguments

    (bestvideo[height=720]/bestvideo)+bestaudio/best
bestvideo[height=720] = download the best 720p resolution

/bestvideo = otherwise download the best available (540p, 480p etc)

Re: YouTube-dl is under new management, will be happy to see new PRs

#13
post #3

Earlier quoted context omitted.

Yeah that’s completely nuts to me, I’ll continue to recommend yt-dlp for the significant future.

Is there any GUIs for yt-dlp?

Command is insanely simple (and I don’t use a lot of shells normally)

Copy your youtube url

Go to your command shell

yt-dlp -v pasted url

Watch the download. Done.

Re: YouTube-dl is under new management, will be happy to see new PRs

#14
post #13

Earlier quoted context omitted.

Is there any GUIs for yt-dlp?

Command is insanely simple (and I don’t use a lot of shells normally) Copy your youtube url Go to your command shell yt-dlp -v pasted url Watch the download. Done.

You'll want to surround the pasted URL with quotes, or else the question mark in all non-shortened YouTube video URLs will confuse the shell.

Also, I suggest adding `-f mp4` to avoid getting a video in Google's proprietary video format. (Yes, I know, but basically…)

yt-dlp -f mp4 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'

Re: YouTube-dl is under new management, will be happy to see new PRs

#15
post #12

I'm using yt-dlp, and a very small change really made me go "cool" is Color numbers.. I just wish for functions I could pick mid 720p'ish as a setting that includes audio+video, and not have to pick the audio and video formats. Theres a worst and a best option, but I'd want a middle quality to save space.

You can do that with the arguments (bestvideo[height=720]/bestvideo)+bestaudio/best bestvideo[height=720] = download the best 720p resolution /bestvideo = otherwise download the best available (540p, 480p etc)

This has a few issues, I think. For example, using bestvideo prevents you from downloading formats that contain both video and audio, it only downloads video-only formats.

> otherwise download the best available

This will potentially download much higher than 720, if 720 is not available. Probably better to go lower for OP's usecase.

See my sibling comment for a better format selector.

Re: YouTube-dl is under new management, will be happy to see new PRs

#16
post #13

Earlier quoted context omitted.

Command is insanely simple (and I don’t use a lot of shells normally) Copy your youtube url Go to your command shell yt-dlp -v pasted url Watch the download. Done.

You'll want to surround the pasted URL with quotes, or else the question mark in all non-shortened YouTube video URLs will confuse the shell. Also, I suggest adding `-f mp4` to avoid getting a video in Google's proprietary video format. (Yes, I know, but basically…) yt-dlp -f mp4 ' https://www.youtube.com/watch?v=dQw4w9WgXcQ '

This is one of my favorite things I don’t have to worry about with zsh + oh-my-zsh, pasted URLs being auto quoted.

Re: YouTube-dl is under new management, will be happy to see new PRs

#17
post #2

The reason to continue the project and not focus together on the more maintained fork [1] is to keep support for python 2.6 and 3.2? In 2022? For a thing that is made to talk to the internet? Python 2.6.7 was released in 2011. Python 2.x overdue EOL was in 2020. Python 3.2.6 was released in 2014. That's has to be one of the worst reasons for duplicating efforts ever. [1] https://github.com/yt-dlp/yt-dlp

To play the devil's advocate… one of the uses of youtube-dl is to grab a video so it can be watched on lower-spec machines that might not be able to handle playing a YouTube video in a web browser. Such machines might also be stuck on older operating system releases which don't have easy access to cutting edge Python distributions.

That's just my guess at the logic here, anyway.

Re: YouTube-dl is under new management, will be happy to see new PRs

#18
post #9
post #6

Earlier quoted context omitted.

I think the original project isn't actively maintained any more: https://github.com/ytdl-org/youtube-dl/graphs/commit-activit... 910 PRs, but only 3 commits to master since July 2021.

You commented this on a post literally just explaining the project has a new maintainer as of six hours ago.

Maybe the post is too nuanced.

Re: YouTube-dl is under new management, will be happy to see new PRs

#19
post #3

Earlier quoted context omitted.

Yeah that’s completely nuts to me, I’ll continue to recommend yt-dlp for the significant future.

Is there any GUIs for yt-dlp?

Search for yt-dlp on flathub. There was a GUI for it, but it is too generic to remember it now. VideoDownloader?
Post reply on HN