Live data from Hacker News

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

github.com

31–40 of 62 posts

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

#31
post #16

Earlier quoted context omitted.

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

Unquoted URLs with '?' work fine in bash. It's not like it's common to have files named with a URL that could confuse a glob expansion.

It's mainly the "&" which does it, which is pretty common.

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

#32
post #16

Earlier quoted context omitted.

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

Unquoted URLs with '?' work fine in bash. It's not like it's common to have files named with a URL that could confuse a glob expansion.

[deleted]

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

#33
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 '

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.

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

#34
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.

youtube-dl gui allows to queue urls though, convenient

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

#35
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

I have no idea what the code looks like for ytdl, but the concept seems straightforward enough for DASH/HLS segmented encodes. Determine the duration of each segment, do the math to find which segments would be required for the requested part, then do ytdl magic. I'd be more than happy to be forced to have a few seconds before/after the requested time just to avoid the necessity of breaking segments. Just straight download/concat.

We all know how well concept to working code goes though

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

#36
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

One of the primary, if not the most important, youtube-dl use cases is older computers and older installs that cannot handle modern youtube javascript. By not running javascript at all most of the security issues on the modern web can be mitigated. There are lots of responsible people out there running old software. And even more people who are just poor and can't afford the new hardware required for new OSes require…

Exactly. I still supported Perl 5.005 with a number of my projects for precisely that reason. Even now I still try to target around 5.6 or 5.8, despite being quite old.

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

#37

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 '

MP4 (H.264/H.265) is the proprietary one. WebM (VP8/VP9) is open and royalty free (as is the upcoming AV1). Less commonly supported though, most notably by Apple and some TVs (quite import for that use case).

Depends on who you ask. ISO and ITU would insist that VPx are the proprietary (read: non-standard) ones, which is a different sense of proprietary from what you're using (read: costs money to use).

The whole video codec industry was predicated upon a particular licensing structure where everyone was paid to participate in ISO/ITU codec development in exchange for patent ownership over the final standard. That's why Apple never touched VP8/9 - decode blocks for ISO-standard codecs were very plentiful and very good, compared to those you could get for royalty-free Google ones.

Of course, nowadays the ISO/ITU business model is broken[0], so maybe the actual standards will move towards "royalty-free by default". Or AOM codecs will outcompete ISO ones and they become the de-facto standard[1]. But I don't see that happening until and unless Apple actually ships AV1 hardware codec blocks.

[0] Specifically, a good chunk of HEVC patents are only available from a company called Access Advance, a patent pool that has overlapping membership with MPEG-LA's pool. Since there's an overlap, you have to pay for certain parts of HEVC twice, and Access Advance won't reimburse you for the duplicate license. They say you should ask MPEG-LA for a reimbursement, despite the fact that said reimbursement would be more than you actually pay for MPEG-LA's half of HEVC.

[1] One of the founders of MPEG, Leonardo Chiariglione, is very outspoken that royalty-free codecs outcompeting FRAND codecs would mean the end of innovation in video coding. I personally find this a mistaken view (AOM's members were going to be doing the R&D anyway) but that's how the ISO/ITU people think.

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

#38
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

[deleted]

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

#39
Massive thank you to the original author and the original youtube-dl. Wonderful piece of software!

However it's been too long - isn't yt-dlp very far ahead and much healthier in it's organization _today_? Also the insistence of using a dead version of Python is pretty strange and will probably hamstrings the efforts for very minimal gains.

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

#40
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?
Post reply on HN