Live data from Hacker News

Youtube-dl: Command-line program to download videos

github.com

191–200 of 253 posts

Re: Youtube-dl: Command-line program to download videos

#191
post #178

Earlier quoted context omitted.

Depends what we mean by 'crack'. A few years ago I was surprised to see that Netflix in Chrome on Linux didn't prevent screen-capture. If I recall correctly, On Windows, it won't let you screenshot Netflix - you get a black box instead. Failing that, it's possible to record high-quality analogue output from, say, a Playstation 3. Failing that, it's always possible to point a camera at a screen. Piracy of video isn't…

Only Windows with Edge can play 4k. Chrome is 720p.

Have you tried Netflix on Edge? Maybe it's just anecdotal, but I've tried multiple i7 (3xxx, 5xxx, 7xxx and 8xxx series) and Ryzen 1700/1700x systems (GPU: NVIDIA 960M, 970, 1050, 2 different 1070 TIs) and ALL of them lag horribly while using Edge. Loading Netflix is slow. Selecting a profile takes several seconds. The entire browser locks up. I generally find a show using Firefox, then open Edge and search manually to get my 1080p playback. I'm wondering if it's just a bug but it's been like this on 4 different computers so far. Netflix the App itself is also incredibly laggy on Windows 10, not sure if the issues are somehow related to one another. Am I the only one who has this?

Re: Youtube-dl: Command-line program to download videos

#192

I feel like the first rule of youtube-dl is not to talk about youtube-dl. I keep expecting Google (and all the other sites it works on) to start taking active measures to disable it. At some point YouTube is going to require an EME module to play even "free" videos.

Last time I talked to Youtubers about this, they acknowledged that there are several important things that youtube-dl can do which the official YT API cannot; the biggest feature is that youtube-dl can archive Creative Commons-licensed footage.

Youtube does occasionally attempt to break CLI tools. get-flash-videos has been beaten down hard by JS-powered authentication, but youtube-dl emulates the JS player. Ads are still broken in youtube-dl, although strangely nobody seems to want to fix them!

Re: Youtube-dl: Command-line program to download videos

#193

Earlier quoted context omitted.

...and specify to only grab the videos as mp3's to download that perfect song/mix playlist!

Aspiring DJs do this, then play out the files they got from youtube-dl via Serato or whatever, then every other minimally competent DJ in the room immediately knows what’s happening based on how obviously shit it sounds. Practice mixing in headphones and playing room scale PA are two different ballgames, and when amplified, any youtube-dl format is as obvious to me as a file being ripped from source vinyl. YouTube do…

Now that's a strange rant. Not everyone who wants to download Youtube files to MP3 is downloading electronic dance music for the purpose of playing it live as a DJ.

In my personal case, it tends to be relatively obscure classical music. Due to the "nature of the genre" there are quite a number of pieces that have never been studio recorded and exist only in OTA radio recordings, or are only available on long out-of-print vinyl, sometimes from foreign sources.

I honestly tend to prefer other sources other than Youtube personally and will only plunk from there as a last resort (Youtube is a place that is more "perishable" than others, which is why I Youtube-DL instead of just relying on the stream), but Youtube has attracted some curators of recordings of this sort.

Re: Youtube-dl: Command-line program to download videos

#194
post #168

I have an alias setup in my .bash_profile to easily download and save as .mp3 file: > alias ymp3="youtube-dl --extract-audio --audio-format mp3"

Thank you! I did not even know it could do that!

Better to just grab the widely supported AAC (m4a) audio, than perform a lossy to lossy transcode to mp3 if quality matters. For speech (lectures etc) low bitrate Opus sounds great and saves space when/where it matters, but isn't as widely compatible.

e.g. youtube-dl -f 140 "$URL"

Re: Youtube-dl: Command-line program to download videos

#195
post #138

Earlier quoted context omitted.

> which will be cracked within days if not hours. Netflix requires an EME module since quite some time, and I'm not aware of any successful cracks.

All Netflix-exclusive shows are available up to 4K on torrent networks: https://thepiratebay.org/search/house%20of%20cards%202160p/0... https://thepiratebay.org/search/orange%20is%20the%20new%20bl... https://1337x.to/search/ozark+2160p/1/ What’s left to steal? Meanwhile the majority of Netflix customers is limited to 720p video like it’s 2001. [1] [1] https://help.netflix.com/en/node/55763

> Google Chrome up to 720p

  Internet Explorer up to 1080p

  Microsoft Edge up to 4K*

  Mozilla Firefox up to 720p

  Opera up to 720p

  Windows 8 app up to 1080p

  Windows 10 app up to 4K*
(from your link). And people wonder why I still use torrents...

Re: Youtube-dl: Command-line program to download videos

#196

Earlier quoted context omitted.

Not everyone has fast enough bandwidth to watch live videos. Many people rely on downloaders to actually watch the video.

And by not everyone you can very well mean Youtube itself. I'm in Hungary, sometimes I watch gameplay videos that are only enjoyable in at least 720p and Youtube can't keep up with the bandwidth. I have a 1 gbit connection. And Youtube won't buffer the whole video if you pause it. youtube-dl is really a must in this situation.

I'm not familiar with the situation in hungary but isn't it more likely that your ISP is throttling or otherwise artificially limiting the connection to Youtube, Netflix and other services with bandwith-heavy content.

Re: Youtube-dl: Command-line program to download videos

#197

Earlier quoted context omitted.

While I agree with you in principle (and have used a very similar setup for many years), I don't think HN is pro-DRM/IP enough to worry. At some point YouTube is going to require an EME module to play even "free" videos. ...which will be cracked within days if not hours.

> which will be cracked within days if not hours. Netflix requires an EME module since quite some time, and I'm not aware of any successful cracks.

You can strip HDCP from HDMI 2.2 [0] and then just capture that stream. Very easy to do. Anything that can be seen on your screen can be captured and shared.

0. https://www.amazon.com/HDMI-Splitter-Supports-Pass-through-D...

Re: Youtube-dl: Command-line program to download videos

#199

The most useful part of youtube-dl is that it works with mpv, so you just pass a URL on the command line and MPV just plays the video in it. I have two monitors, so I put a button on my Firefox toolbar to launch MPV with the current URL, and configured MPV to start fullscreen on the second monitor immediately and quit when done. It's made my video-watching experience on the web an order of magnitude better.

Sincere curiosity: is there any advantage over playing full screen via a browser? I'm a heavy youtube-dl user and command line addicted myself, but cannot imagine an advantage in using youtube-dl for live-playing a video, when using the browser seems to give the same experience.

Depends what's being watched, but quite often with content like How-To's, conference talks, and lectures etc I take advantage of having speed control on a keypress ('[' or ']' = +/- 10%), left arrow to skip back a few seconds, backspace to drop to normal speed if I miss something, 's' for screenshot of an interesting graph or chart etc... At other times I might make more use of ',' and '.' to step back and forth one frame at a time or '4' to increase the brightness.

Using key presses to navigate through and control media like this feels vaguely reminiscent of the first few times you really grok the power of editing a huge file with some well articulated vim or emacs commands. Also mpv seems less resource intensive whilst the browser has a lot of tabs open.

Re: Youtube-dl: Command-line program to download videos

#200

Earlier quoted context omitted.

Not the GP, but NewPipe is the one I'm familiar with. It's available on F-Droid.

I use NewPipe, but my friend does not sideload apps or use F-Droid, that's why I'm asking for Play Store options.

It's unlikely that you will find a long standing play store app with youtube-dl built in.
Post reply on HN