Live data from Hacker News

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

github.com

51–60 of 62 posts

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

#52

Earlier quoted context omitted.

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

Alias that to -f 720ish and we’re getting somewhere

Maybe you are looking for

  -S res:720
https://github.com/yt-dlp/yt-dlp#sorting-formats

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

#53

This is a post about youtube-dl. Why are nearly all the comments about yt-dlp? If I didn't know better, I'd think yt-dlp users have massive inferiority complexes because they never seem to miss an opportunity to attempt to recruit everyone else to be just like them, even shamelessly trolling the announcement. When did this turn into Ford vs. Chevy?

Trolling? Some are commenting that keeping the project alive to support old versions of python seems like a weak reason, which is a fair criticism IMO.

My apologies, I didn't remotely intend to suggest every single comment was a troll, but only that there are yt-dlp users that have trolled that thread.

The criticism of supporting python2 is fair, but not unassailable. I am personally against steady progress necessarily breaking in advancing increments things that worked years ago. My opinions on software are my own, but I strongly believe if software works even once, there's no reason it shouldn't work forever. I despise Adobe's and now Apple's models of breaking your old software to force you to purchase again for identical functionality. But I suppose it is a different case when developers are actively working against each other. However, python2 was only recently deprecated. Just because I can't think of an example, it is still likely being used, and there may be 20yo but still useful hw somewhere that does not support any recently released OS or software but is still a worthy youtube-dl utility. Maybe the critics of supporting old versions of python can wait.

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

#54
post #44

Earlier quoted context omitted.

If we are speaking current distributions, Python 3.9 actively refuses to install on Windows 7 and dropped the relevant compatibility code (though I think 3.8 might have had problems installing on it as well).

Windows 7 was also EOL in January 2020. I’m not sure I blame Python 3.9 for failing to support an EOL operating system either.

I don’t think this is a fault that you can blame the Python developers for, necessarily (indeed the end of support is exactly the reason given by the Python developers well in advance), but I certainly do think that it is a plausible scenario where you might end up being forced to use an obsolete version of Python as a result of the decision.

I also think that a curt “EOL operating system” dismissal has a problem that, taken to the extreme, it says that every software author would be justified in following the support schedule of any dependency, however inane that schedule is,—and there’s nothing in that dismissal that would prevenr it being taken to such an extreme.

That is not to say that running Windows 7 now is a particularly smart decision, no patches means no patches after all, no matter the marketing motivation behind that decision. I’m not even sure I’d call this particular part of Microsoft’s support schedule unreasonable. I am failing to find a legal, generally available, and supported Microsoft operating system I’d be willing to run, so one of those parts would have to be given up; but that is not the point.

The point is that there should not be a blank presumption that a vendor declaring EOL on anything at any moment is automatically reasonable and that it is right and proper to follow them. It certainly is simpler to offload that decision to them, but some sort of underlying sanity measure the result could be checked against ought to exist, and the parent comment (not that their stance is unique) is failing to provide any.

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

#55
post #52

Earlier quoted context omitted.

Alias that to -f 720ish and we’re getting somewhere

Maybe you are looking for -S res:720 https://github.com/yt-dlp/yt-dlp#sorting-formats

Also want to save it in .mp4 format, trying it saves it formats in .webm

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

#56
post #10

I wish any of the projects would implement a feature to download parts of a video. Currently that's not possible Request is open since 2013 https://github.com/ytdl-org/youtube-dl/issues/622

It's possible with yt-dlp:

    --downloader ffmpeg --downloader-args "ffmpeg_i:-ss start_time -to end_time"
Though the ffmpeg downloader is quite slow and has no parallelization.

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

#57

Earlier quoted context omitted.

As far as I know current Python distributions are pretty available for older systems.

If we are speaking current distributions, Python 3.9 actively refuses to install on Windows 7 and dropped the relevant compatibility code (though I think 3.8 might have had problems installing on it as well).

yt-dlp currently has no plans to drop support for Python 3.6, which became EOL a month ago. And Python 3.8 will be supported until October 2024.

On Linux (at least a regular x86/x86_64 machine, not sure about other architectures), you can generally easily install an up to date Python version with pyenv.

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

#58
post #33

Earlier quoted context omitted.

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 '

you'll also want to cd to the correct folder because you probably don't want it to go in ~ or some other random location depending on what terminal you launched and how you launched it. CLIs are terrible for people not familiar with CLIs. I love 'em, but GUIs exist (and persist) for good reasons.

With yt-dlp, you can use something like `-P /home/username/Downloads`, and you can even put that in your config so you don't need to manually specify it every time.

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

#59

Earlier quoted context omitted.

Trolling? Some are commenting that keeping the project alive to support old versions of python seems like a weak reason, which is a fair criticism IMO.

My apologies, I didn't remotely intend to suggest every single comment was a troll, but only that there are yt-dlp users that have trolled that thread. The criticism of supporting python2 is fair, but not unassailable. I am personally against steady progress necessarily breaking in advancing increments things that worked years ago. My opinions on software are my own, but I strongly believe if software works even once…

Depends on what you mean by "recently". Python 2 has been EOL for over two years now. The lowest version yt-dlp supports, Python 3.6, was released five years ago, and I would say it's a pretty usable version. The only reason it even took so long for Python 2 to become EOL is because people kept dragging out the transition from Python 2 because of a few annoyances in initial versions of Python 3 that were mostly addressed by 3.3-3.4 or so.

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

#60

Earlier quoted context omitted.

If we are speaking current distributions, Python 3.9 actively refuses to install on Windows 7 and dropped the relevant compatibility code (though I think 3.8 might have had problems installing on it as well).

yt-dlp currently has no plans to drop support for Python 3.6, which became EOL a month ago. And Python 3.8 will be supported until October 2024. On Linux (at least a regular x86/x86_64 machine, not sure about other architectures), you can generally easily install an up to date Python version with pyenv.

My personal machine is on Arch Linux (which recently moved to 3.10 without any major problems) and I know about yt-dlp, so I’m not having any particular problems here :) It’s just that the great-grandparent asked for plausible scenarios for using obsolete Python, and Windows 7 support immediately came to mind.
Post reply on HN