Have you got an example? I couldn't work out how to do it last time, but it's easier for me to get an Australian geoblocked site going than it is to submit a bug report and wait for someone to use a proxy.
You can search through pull requests to see a few examples, but I wouldn't say it's that simple. Login in and authentication can be very different for each website.
When I want to download a video from a site I always think “it would be great if youtube-dl worked with this niche website, but I think it’s too specific”, then I try and it works, I’m always surprised.
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.
I was using Qutebrowser since some months because I had some problems with how Firefox causing data loss, but I had to go back to Firefox recently because Qutebrowser is too slow and memory-consuming w/ many tabs open, even if suspended (i.e. >= 10 or 15 tabs for me). Firefox 61 now consumes way less memory and no idle CPU at all thanks to a strict Ublock Origin policy (basically no JS or >=1Mb images if you're not a snowflake; I had similar blocking in Qutebrowser too). Is this something you experience too, or maybe caused by my setup?
I set this up recently (the 'Play with MPV' method) after noting that viewing YouTube in the browser had a far greater CPU usage than watching the same in mpv.
I've also given gtk-youtube-viewer a spin but it doesn't do "new videos of your subscriptions" (though it's command=line equivalent 'youtube-viewer -SV' does). Any recommendations out there for similar YouTube frontends?
Also, at least in the UK, youtube-dl can access BBC iPlayer content without the login required on the web.
You can use a feed reader. I have Newsboat set up with a feed that shows all my YouTube subscriptions and a macro that opens the URL from the selected item in mpv.
> 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.
How did you do that? I would really like to have that setup also.
After reading the documentation for mpv I found the options --screen=<default|0-32> and --fs-screen=<all|current|0-32> these are used for selecting a specific screen.
So adding that button requires downloading and installing a file, and it has some references to openwith@darktrojan.net. I am not a web programmer but that doesn't seem right. The open with mpv browser extension, seems cleaner. https://addons.mozilla.org/en-US/firefox/addon/send-to-mpv-p...
Yeah, it didn't look good. The extension you posted downloads and installs the native client on its own, which is worse. However, you can't really do this any better, as the apps are sandboxed and not allowed to launch external programs.
I've audited the script for the extension I posted and it looks good, I've posted mine here: https://www.pastery.net/dyeamx/
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.
Yes, I would have to detach the browser window, move it to the other screen (which is inconvenient because it has to go through a third screen), drop it, fullscreen it, press play, and when it's done close the window.
Much more involved than a single click that never even has to open a new tab.
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.
Videos are horribly choppy when I try to view them fullscreen in a browser. It's like playing a game without V-sync on. The same videos work flawlessly in MPV. Firefox in Ubuntu 18.04 with a Nvidia 750ti and proprietary drivers. YMMV.
Ive been watching this repo for over a while. It's very active and I highly recommend trying it out. It's a pretty nifty project with a lot or activity.
Since letting kids alone on youtube, is clusterf* of a nightmare, this is a godsend tool to archive approved channels to a local media server.
This config file (with separate channel-list- and archive-files) template found here, has proven quite useful to me combined with some minimal batch job:
Another option is to embed youtube videos on your own web page (hosted locally or whatever). You don't need to download the actual videos, the ads tend to be banners (not ones that make you wait to view it). Works great for my 4 year old.
Only thing about embedding is that videos can be removed at any time for any reason (or no reason at all). Plus having the downloaded videos make it easy to load up on an iPad or similar device for offline viewing on long trips where internet access may not be guaranteed.
Well they are only banner ads, not video ads. But I'll admit I pay $10 a month for YouTube Red (actually they just renamed it Premium), which I get my moneys worth since I don't have broadcast or cable tv or netflix.
Doesn't need to be elsagate level, stuff get's questionable to abusive (think unregulated child labor and unnessary emotional stress) really fast.
It's worrysome on both producer and viewer side at pre-teen ages especially.
Parenting against a hyper-engineered viewer retention (recommendation is an euphemism at this point) engine is a lost cause to begin with. Tried supervised youtube with my 3 year old for a while and it's always going places you would never expect, and not in a good way.
Even for quality content, just look what wildbrain or DHX Media?, did in terms of ad-count, to "Yo Gabba Gabba" recently:
I count up 20 partly animated ad overlays plus a preroll in just 20m, who is willing to monitor that as a parent?
The core of the problem I have with the whole thing, is that YouTube prays on the weakest of the weakest, not even me. It's children of parents that simply can't afford daycare and video subscription services, that I worry about the most.
It requires a few lua modules and CLI tools, for example https://github.com/sharkdp/fd - like all the lua scripts I write for my own use.
Also, now that I was going to post it, I went through my system log and noticed it actually has problems if the youtube ID includes a dash (-), because I didn't escape the ID in the ytdl() call at the bottom. I'll leave that as an exercise for the reader.
And, of course, I removed the controversial feeds in the list before posting.
Anyway, it works fine for me - hopefully it can inspire others :-)
I've been using this ever since youtube dropped flash support. Early this year youtube began throttling certain file formats and qualities. The way around this is to call youtube-dl so that it uses an external downloader like,
I wrap the entire thing up in some shell script as a .bashrc function which takes a URL, touches the downloaded file (since youtube-dl saves the youtube file modified date), then opens it in vlc.
When I tried using aria2 to work around the throttling you mentioned, I noticed that simply using aria2 at all (no parallelism with -j/-s) fixed the download rate. The primary difference was the User-Agent header; the standard youtube-dl User-Agent[1] was throttled, but "aria2/1.30.0" was full speed.
The throttling also seemed to depend on which server was sending the file; a bunch of recent uploads were throttled, while an obscure video from 8 years ago with <100 views only had the usual small slow-start delay that was common with videos that probably needed to be fetched completely uncached from from a remote data center.
The throttling problem seemed to go away after a few weeks, and returned again for a few hours a . Is it possible the "throttling" was actually some type of bug or configuration error in Google's network and/or data archives?
It's been my experience that only the split audio/video streams are throttled - it's possible that your obscure video didn't have those available for some reason, meaning that you got the unthrottled combined file. You can force this behaviour by using the "-f best" options, though that means you won't get certain resolutions (1080p) or codecs (opus).
It's possible that this behaviour was designed to be pro-user; I can imagine a circumstance where a DASH (Dynamic Adaptive Streaming over HTTP) client hit a patch of network congestion, dropped to a lower quality, then the network cleared up and it downloaded the rest of the video in low quality before it could switch back. Throttling the speeds to just above the bitrate of the video would solve that.
Mind you, that doesn't explain the user-agent targeting described in other comments...
It obviously seemed like a good idea in 1991 but in retrospect the User-Agent header was probably a bad idea. TBL never anticipated it would be abused by servers for this, and for browser fingerprinting...
`I wrap the entire thing up in some shell script as a .bashrc function which takes a URL, touches the downloaded file (since youtube-dl saves the youtube file modified date), then opens it in vlc. '
Just install mpv, dude.
It works right out of the box, if youtube-dl is in your PATH.
Gotta be careful sometimes. At least one tutorial video site I used it on (where an account was needed) I was blocked and had to open a ticket to re-enable my account by promising not to break their ToS which said something explicit about not downloading a bunch of their videos. (I was using it on whole courses and got flagged)
knowing that downloading the videos/using them outside of what was expressly intended by the provider would be against the TOS is pretty intuitive though, no?
This may be my most favorite piece of software I have installed. Does what it says on the tin, nothing more nothing less. LASER-focused, I really love that about it.
Going off topic, but I must be one of those weird people who prefers mplayer to mpv.
When watching a video, I like not knowing how long the video is. The OSD in mpv spoils it for me. With mplayer, I can set in a config file to have OSD off by default. Couldn't figure out how to do it with mpv. I think I had a few other things in my config that isn't supported by mpv (and some where the mpv team explicitly said they won't - mpv is mplayer without the bloat, after all).
Huh, I wish I knew what you were talking about. I have used mpv for many years now, and I have no OSD while watching -- only when pausing, seeking, and otherwise interacting with it.
I should have clarified. I don't want OSD when seeking, pausing, etc. When seeking, I get a glimpse of the progress bar. That will give me an idea of how much is left.
Hrmm... I'm not sure. At any point in the protocol is there a "copyright bit"? It only takes one bit, and it doesn't even have to be documented as serving that purpose. The StreamboxVCR case ended up cementing into law (because the Streambox people ran out of money and couldn't appear to answer the last appeal by RealNetworks) that disobeying one undocumented bit is all it takes to run afoul of section 1201 of the DMCA. I imagine there might be such a bit in the YouTube stream but I don't know. I'm also not sure how you could defend in court that creating the temporary copy in memory for purposes of playing a stream is given permission, but creating a more permanent one is not. Courts have held that transitory copies in memory are actual copies, and can constitute real infringement, but obviously YouTube gives implicit permission to users to the creation of that copy, and youtube-dl doesn't actually create any additional copies beside that, it just keeps it.
Which is one of the aspects of why the DMCA is such bad law and DRM in general is a complete waste of time.
If you hand someone a stream of bits and a decryption key that turns it into a movie. They will figure out how to keep the decrypted movie around if they want or need to do that.
So then you get into a coevolutionary arms race where content licensing organizations feel they have the right to imposes draconian restrictions on peoples personal electronics. And mandated spyware is not really ethical either.
EitR has more to do with known risks whose acknowledgement is inconvenient. It's not a matter of DGAF, but rather, ignoring in the hopes that it will go away, or the risk will fall on another.
I think it's already been ruled (at least in Europe), that it isn't illegal to download from public streaming platform since "streaming" and "downloading" are the same thing.
I'll go check.
Edit: After checking, yes, of course as long as it's for personal use. It's against youtube TOS, but if the TOS is against the law...
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.
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 something that technologies like EME can hope to eliminate entirely, they can only raise the bar. For Netflix, that's acceptable. They compete with BitTorrent piracy and win on convenience.
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?
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.
I don't know. Netflix is doing a pretty good job shutting down VPN proxying.
Yes, I know there are some providers that still work... Shhhh!
However, it's a lot easier for Netflix to blacklist an IP (or an entire IP range) than it is for a provider to setup a whole new proxy - likely connected via a residential ISP.
But they're not doing a good job in blacklisting debit card providers (providers that let you generate your own unique debit card number and start a free trial on this new card, resulting in using the service for free) or banning shared accounts (i.e. 4 people meet on the internet only for the purposes of buying one account).
When was the last widely available iOS jailbreak available? The last Xbox One one? PS4? Android bootloaders?
Youtube is a different beast, of course, but that's why the powers that be pushed EME down our throat (and maybe it doesn't yet but it WILL require protected media paths and stuff in the future). Once EME is reasonably well done and prevalent -- we'll have to download youtube through the analog hole.
YouTube has the network effect just like every other big provider. You can’t ditch it unless the content you want to see has decided to move elsewhere.
Important and desirable media is almost always available from more than one source. If not, then Sometimes, it's as simple as asking the producer to upload to your preferred streaming endpoint.
What constitutes "important and desirable media" is extremely personal and subjective, and the producer will not always be available to respond to your request.
Here's an example of something that is very important and desirable to me but doesn't exist anywhere else on the internet.
I agree with you overall, but the album actually does exist here: https://yadi.sk/d/SMKn5Af43LitRc. At 320 kbps, it's a little higher quality than YouTube.
By the way, Diamond Harbour is fantastic. What other music do you love?
Well I’ll be. I’ve got a vinyl copy now so I’m in good standing quality wise.
You should check out the Growing Bin web store - there are some fascinating musical rarities and curios there. There’s some great stuff on Jamie Tiller’s label Music From Memory. His mixes (available on Soundcloud) are also excellent, as are those on the Red Light Radio Soundcloud. I could go on...
Do you not realize that you've linked to a YouTube video of a recording of a vinyl record?
In your case, the vinyl record is the other source. Not to mention the other one provided by the other respondent. And a vinyl record is a great source to have -- it will last a lot longer than any other digital link to a stream of a record, if cared for properly.
Your comment made me think of a web portal for uploading videos, so the content creator uploads once, and selects what content platforms he wishes to share it with.
The people behinnd the portal could have a sign-up page so that any platforms that wish to host a non-exclusive copy can sign up in order for uploaders to be able to select them as well. This could potentially cause the portal hosters (internet archive?) to suffer a lot of upload, but then there are no legal troubles whatsoever (assuming the uploader had the copyrights) in preserving or migrating content.
The big networks might refuse to sign up (to prevent such a portal and hence competing content networks from getting a foot in the door regarding network effect), or make it hard to have the single portal entity mediate the uploading to them in the name of the content owner, but in a sense it is not more cat-and-mouse game, but a differently placed one: at upload instead of download.
This would be indeed nice. Which means, obviously, that they would be immediately buried in lawsuits. Sure, they would be in the right, which would make them happy after they're broke.
It is possible that this is true only insofar that they are readily available. If Youtube becomes difficult for his fans to access for some reason, they may find that they can live without his content.
You must have a pretty narrow definition of 'important and desirable', almost all of the content I consume on Youtube is not available elsewhere afaik.
>Important and desirable media is almost always available from more than one source
We don't watch "important and desirable media" in YouTube (and most of us, not anywhere else, there). What we do watch is not really available elsewhere (e.g. certain vloggers, tutorial videos, etc).
Nonetheless, I am sure that you could live without any of the content hosted on those YouTube channels. The word "content" is a fair terminology in this context since if any media is so pigeonholed as to demand being streamed and served from YouTube, it must not be that artistic, thoughtful, or useful to most viewers. YouTube doesn't optimize for utility, art, usefulness, tact, expression, or value. It optimizes for addiction.
That’s the same reasoning of ‘just ask people to use iMessage/Telegram/Signal’. Most people, whether they are producers or persons you want to talk with don’t want to deal with learning an extra platform. Don’t get me wrong, I love Telegram and YouTube not being the only player would make for a healthier market, but it just doesn’t work that way. I mean, how many people do you know that are not on WhatsApp? Its so ubiquitous market penetration is something like 90%+..
I don't know, because I am not on Whatsapp and it's never come up with any of my friends. Nobody thinks any less of me for this, and nobody has ever asked me to get Whatsapp. Perhaps my friends are nicer than others' here, but what ever happened to respecting people's choices?
We live on the internet, a place of infinite possibilities and uses. To suggest that it is natural, convenient, and appropriate to pigeonhole our services in this manner is thoroughly antithetical.
Or we should regulate them, maybe Trump would consider it. It certainly would not cause any sort of economic harm to regulate companies that sit on cash reserves in the hundred billions.
Or you know, reduce your perceived need for said content.
More often that not, that's the choice I make. You make it too hard or intrusive for me to see your content and I stop taking part.
And it's funny, a lot of the time when I do this, I'll see a news article pop up a week/month/year later that said content provider is adjusting its policies, seemingly indicating that others are independently making the same choices.
This has happened several times, most notably when I cancelled our Dish junk right before the big "cord cutter" boom. Stop participating if you do not like it. You will survive.
YouTube while it may contain a lot of video of content is really actually pretty poor product IMO. Lots of buffering, lots of ads, the apps have terrible UX as does the website and now that google is becoming less and less trustful (some would say always were but just becoming more evil with more data) I welcome video content hosted elsewhere. I really like Vimeo not just for the performance and video quality but I also find the interface quite good to use, it would probably need some adjustments if it were to take on the amount of content YouTube has.
12 years ago i built google video downloader as a way to help me learn C#. it took about a month after the release for google to defeat my basic scraping. I did a few iterations to circumvent their changes, and then they changed tact, and erased the project from google. they only let it back into the search results after i stopped maintaining it.
You can actually download the ads with YouTube-dl... I believe it's YouTube only and still named as 'experimental', but theoretically it could be a default to appease the big G.
Yes they would most likely arrive as separate files. Though YouTube-dl could force their main codebase to merge the videos. Regardless from looking around it doesn’t look like ads are downloaded.
Do you know where to find this or if this is definitely true? I tried looking around before and YouTube-dl didn’t have any ad downloading ability. I just tried looking now and at first glance it doesn’t look like it does. Nothing in the changelog for past year either.
In my case a vast majority of use is just to be able to pipe the original stream to mpv/vlc in order to reduce the cpu usage. In the past there was a clear benefit, maybe less so these days.
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.
Well, they don't throttle torrent in any noticeable way (torrenting with 10-20 MB/s or even more is not uncommon). And torrenting is pretty active in Hungary. They also provide ipv6 addresses too, I really can't say anything bad about my ISP. But it could very well be them who do the throttling to Youtube, I can't any way verify that.
I think command line utilities will usually be the last to receive active counter measures as they are generally considered to be used only by geeks which constitute a negligible percent of consumers.
Problem is, just because something is "in the Play Store" doesn't mean it is harmless. It could, for example, contain trackers. So, yes, we should discuss and link them.
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!
I’ve actually used this one for quite a nifty Python script:
Invoke a Workflow from a YouTube video on my iPhone -> Dropbox file gets appended with all the details of video -> Hazel is watching this file and triggers the Python script -> which converts the video to MP3, slaps on relevant tags and cover-art and uploads it to my iCloud Music Library [1].
So I can have an MP3 song on my iPhone minutes after I’ve watched the video on YouTube.
[1] I do have Apple Music & Spotify [2], this is primarily for live/rare versions, and piano covers that I like.
It's especially bad with games because music gets updated and changed all the time. Official soundtracks often leave tracks out, take for example Civilization V which has an official soundtrack with like 30 tracks, when the game itself has more like 300. It's up to avid players of the game to compile and document the full collection.
Game developers by and large don't give a shit if the musician's work is preserved. If they don't make an effort then as far as I'm concerned they're forfeiting their right to take issue with the morality of downloading their game's music.
> Game developers by and large don't give a shit if the musician's work is preserved. If they don't make an effort then as far as I'm concerned they're forfeiting their right to take issue with the morality of downloading their game's music.
That's a very slanted view of the situation. The game developers may not have rights to distribute all of the music as a soundtrack (they would have to have rights to distribute in the context of the game).
In that case there's still noone losing out on potential sales. I don't see why we should lose out on art being preserved just because rights issues prevent it from being made available commercially.
I think youtube-dl/archiver tools present some ethical problems.
If you're publishing something for commercial, do you have a right to one day revoke that item you've published? I think many would say that no, you don't have that right. Fair use and all that.
But if you're publishing your diary or some other personal items about your life, not for something commercial, then I think many would argue that yes, you should have that right. To have the right to make all data about you disappear.
I'm pretty sure RMS explored these ethics before in some of his writings.
Personally, I'm a user of youtube-dl and have written some tools based on cloud tech that helps me automate archival of all media I come across that I find valuable. But I'm not so sure it's completely ethical in all cases.
Do I have the right to go into peoples homes and root through their archived correspondence to find and burn lengthy personal Christmas letters I once sent them? If instead of writing a letter I made a video and sent them a link, and they decided to keep the video around, that would be no different.
They would have no moral right to republish that letter/video, but I would have no moral right to take their copy from them.
If I published my diary or something personal in a newspaper, I would not have that right.
If you upload to youtube and make it public, then that's exactly what it is - public. You may have the right to pull it from Youtube one day, but that's the extent of it.
When doing that. By default, if a playlist contains a single video that's no longer available, youtube-dl will stop downloading the playlist when it hits that video.
When playing a youtube playlist in mpv with youtube-dl, sometimes --load-unsafe-playlists is needed. This is rare however.
252 comments
[ 1.9 ms ] story [ 112 ms ] threadEdit: Found the list of supported sites. https://github.com/rg3/youtube-dl/blob/master/docs/supported...
https://github.com/rg3/youtube-dl/tree/master/youtube_dl/ext...
Is the goal just to use the kernel's process isolation features that you can access with `unshare`?
Or do you mean to just bypass the installation step (because that purportedly contains adware)?
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.
I've also given gtk-youtube-viewer a spin but it doesn't do "new videos of your subscriptions" (though it's command=line equivalent 'youtube-viewer -SV' does). Any recommendations out there for similar YouTube frontends?
Also, at least in the UK, youtube-dl can access BBC iPlayer content without the login required on the web.
How did you do that? I would really like to have that setup also.
https://addons.mozilla.org/en-US/firefox/addon/open-with/
mpv can easily be configured to open full screen on a specific screen.
After reading the documentation for mpv I found the options --screen=<default|0-32> and --fs-screen=<all|current|0-32> these are used for selecting a specific screen.
https://www.pastery.net/vurryk/
I've audited the script for the extension I posted and it looks good, I've posted mine here: https://www.pastery.net/dyeamx/
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.
Much more involved than a single click that never even has to open a new tab.
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.
https://news.ycombinator.com/item?id=8647943 https://news.ycombinator.com/item?id=11452765
Some good discussion there.
This config file (with separate channel-list- and archive-files) template found here, has proven quite useful to me combined with some minimal batch job:
https://www.reddit.com/r/DataHoarder/comments/858ny5/my_yout...
https://old.reddit.com/r/videos/comments/8vs5na/what_kids_re...
disclaimer: i did not watch the video, but guessed from reading the reddit comments
Could you have caked on more hyperbole? Yes, let's just let kids search the Internet and see what they come up with.
Parenting against a hyper-engineered viewer retention (recommendation is an euphemism at this point) engine is a lost cause to begin with. Tried supervised youtube with my 3 year old for a while and it's always going places you would never expect, and not in a good way.
Even for quality content, just look what wildbrain or DHX Media?, did in terms of ad-count, to "Yo Gabba Gabba" recently:
https://www.youtube.com/watch?v=2YN8bUHufPk&list=PLc7QkGFtZU...
I count up 20 partly animated ad overlays plus a preroll in just 20m, who is willing to monitor that as a parent?
The core of the problem I have with the whole thing, is that YouTube prays on the weakest of the weakest, not even me. It's children of parents that simply can't afford daycare and video subscription services, that I worry about the most.
https://gist.github.com/folknor/4d7da1168497eae5eaf404f20c98...
It requires a few lua modules and CLI tools, for example https://github.com/sharkdp/fd - like all the lua scripts I write for my own use.
Also, now that I was going to post it, I went through my system log and noticed it actually has problems if the youtube ID includes a dash (-), because I didn't escape the ID in the ytdl() call at the bottom. I'll leave that as an exercise for the reader.
And, of course, I removed the controversial feeds in the list before posting.
Anyway, it works fine for me - hopefully it can inspire others :-)
--external-downloader aria2c --external-downloader-args "-j 8 -s 8"
I wrap the entire thing up in some shell script as a .bashrc function which takes a URL, touches the downloaded file (since youtube-dl saves the youtube file modified date), then opens it in vlc.
The throttling also seemed to depend on which server was sending the file; a bunch of recent uploads were throttled, while an obscure video from 8 years ago with <100 views only had the usual small slow-start delay that was common with videos that probably needed to be fetched completely uncached from from a remote data center.
The throttling problem seemed to go away after a few weeks, and returned again for a few hours a . Is it possible the "throttling" was actually some type of bug or configuration error in Google's network and/or data archives?
[1] https://github.com/rg3/youtube-dl/blob/master/youtube_dl/uti...
It's possible that this behaviour was designed to be pro-user; I can imagine a circumstance where a DASH (Dynamic Adaptive Streaming over HTTP) client hit a patch of network congestion, dropped to a lower quality, then the network cleared up and it downloaded the rest of the video in low quality before it could switch back. Throttling the speeds to just above the bitrate of the video would solve that.
Mind you, that doesn't explain the user-agent targeting described in other comments...
Just install mpv, dude.
It works right out of the box, if youtube-dl is in your PATH.
It can even download playlists and albums.
It also has support for downloading images from Flickr, to an extent.
mpv also comes close as great software.
When watching a video, I like not knowing how long the video is. The OSD in mpv spoils it for me. With mplayer, I can set in a config file to have OSD off by default. Couldn't figure out how to do it with mpv. I think I had a few other things in my config that isn't supported by mpv (and some where the mpv team explicitly said they won't - mpv is mplayer without the bloat, after all).
If you hand someone a stream of bits and a decryption key that turns it into a movie. They will figure out how to keep the decrypted movie around if they want or need to do that.
So then you get into a coevolutionary arms race where content licensing organizations feel they have the right to imposes draconian restrictions on peoples personal electronics. And mandated spyware is not really ethical either.
Should File->Save Page As... be considered the "elephant in the room" when Firefox is discussed?
https://www.phrases.org.uk/meanings/elephant-in-the-room.htm...
I'll go check.
Edit: After checking, yes, of course as long as it's for personal use. It's against youtube TOS, but if the TOS is against the law...
[1] https://mpv.io
https://sourceforge.net/projects/mpcbe/
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.
Netflix requires an EME module since quite some time, and I'm not aware of any successful cracks.
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
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 something that technologies like EME can hope to eliminate entirely, they can only raise the bar. For Netflix, that's acceptable. They compete with BitTorrent piracy and win on convenience.
Apparently it's possible to trick Netflix into 1080P on Chrome, in at least some cases - https://www.ghacks.net/2018/02/12/watch-netflix-in-1080p-on-...
I don't have Netflix
0. https://www.amazon.com/HDMI-Splitter-Supports-Pass-through-D...
>-Support HDR & HDCP 2.2 Pass-through
Which is not stripping away anything.
Those who remember the old analogue "video stabilisers" used for stripping Macrovision copy protection signals will find this similar.
[1] https://www.wired.com/2010/07/apple-approves-pulls-flashligh...
Yes, I know there are some providers that still work... Shhhh!
However, it's a lot easier for Netflix to blacklist an IP (or an entire IP range) than it is for a provider to setup a whole new proxy - likely connected via a residential ISP.
When was the last widely available iOS jailbreak available? The last Xbox One one? PS4? Android bootloaders?
Youtube is a different beast, of course, but that's why the powers that be pushed EME down our throat (and maybe it doesn't yet but it WILL require protected media paths and stuff in the future). Once EME is reasonably well done and prevalent -- we'll have to download youtube through the analog hole.
Here's an example of something that is very important and desirable to me but doesn't exist anywhere else on the internet.
https://www.youtube.com/watch?v=Fd_p2B8ReqE
By the way, Diamond Harbour is fantastic. What other music do you love?
You should check out the Growing Bin web store - there are some fascinating musical rarities and curios there. There’s some great stuff on Jamie Tiller’s label Music From Memory. His mixes (available on Soundcloud) are also excellent, as are those on the Red Light Radio Soundcloud. I could go on...
In your case, the vinyl record is the other source. Not to mention the other one provided by the other respondent. And a vinyl record is a great source to have -- it will last a lot longer than any other digital link to a stream of a record, if cared for properly.
The people behinnd the portal could have a sign-up page so that any platforms that wish to host a non-exclusive copy can sign up in order for uploaders to be able to select them as well. This could potentially cause the portal hosters (internet archive?) to suffer a lot of upload, but then there are no legal troubles whatsoever (assuming the uploader had the copyrights) in preserving or migrating content.
The big networks might refuse to sign up (to prevent such a portal and hence competing content networks from getting a foot in the door regarding network effect), or make it hard to have the single portal entity mediate the uploading to them in the name of the content owner, but in a sense it is not more cat-and-mouse game, but a differently placed one: at upload instead of download.
You upload your music, and they put it on the various services for a fee. Including YouTube if you select it.
(Cynic, who me?)
We don't watch "important and desirable media" in YouTube (and most of us, not anywhere else, there). What we do watch is not really available elsewhere (e.g. certain vloggers, tutorial videos, etc).
I follow ~360 YT channels, I desire them very much and they are not uploading it anywhere else.
Nonetheless, I am sure that you could live without any of the content hosted on those YouTube channels. The word "content" is a fair terminology in this context since if any media is so pigeonholed as to demand being streamed and served from YouTube, it must not be that artistic, thoughtful, or useful to most viewers. YouTube doesn't optimize for utility, art, usefulness, tact, expression, or value. It optimizes for addiction.
We live on the internet, a place of infinite possibilities and uses. To suggest that it is natural, convenient, and appropriate to pigeonhole our services in this manner is thoroughly antithetical.
More often that not, that's the choice I make. You make it too hard or intrusive for me to see your content and I stop taking part.
And it's funny, a lot of the time when I do this, I'll see a news article pop up a week/month/year later that said content provider is adjusting its policies, seemingly indicating that others are independently making the same choices.
This has happened several times, most notably when I cancelled our Dish junk right before the big "cord cutter" boom. Stop participating if you do not like it. You will survive.
YouTube while it may contain a lot of video of content is really actually pretty poor product IMO. Lots of buffering, lots of ads, the apps have terrible UX as does the website and now that google is becoming less and less trustful (some would say always were but just becoming more evil with more data) I welcome video content hosted elsewhere. I really like Vimeo not just for the performance and video quality but I also find the interface quite good to use, it would probably need some adjustments if it were to take on the amount of content YouTube has.
https://sourceforge.net/projects/gvdownloader/files/stats/ti...
Many people rely on downloaders to actually watch the video.
https://rg3.github.io/youtube-dl/supportedsites.html
> the first rule of youtube-dl is not to talk about youtube-dl
But I agree that people might have mixed feelings on pointing to the ones that work better.
I made another search, through DuckDuckGo, and got a hit that's not among those ~40 and looks good: https://play.google.com/store/apps/details?id=com.aviddapp.o...
Am I hurting them by linking, or any of you for adding feedback?
I have it set so that whenever I use the Termux share intent from another app, it use the shared URL and calls YouTube-DL with some parameters I want.
~/bin/termux-url-opener
~/.config/youtube-dl/configYoutube 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!
[1]: https://en.wikipedia.org/wiki/Wget
Invoke a Workflow from a YouTube video on my iPhone -> Dropbox file gets appended with all the details of video -> Hazel is watching this file and triggers the Python script -> which converts the video to MP3, slaps on relevant tags and cover-art and uploads it to my iCloud Music Library [1].
So I can have an MP3 song on my iPhone minutes after I’ve watched the video on YouTube.
[1] I do have Apple Music & Spotify [2], this is primarily for live/rare versions, and piano covers that I like.
[2] need both for testing, “officialy” launching https://www.musicbutler.io soon. /shamelessplug
Game developers by and large don't give a shit if the musician's work is preserved. If they don't make an effort then as far as I'm concerned they're forfeiting their right to take issue with the morality of downloading their game's music.
That's a very slanted view of the situation. The game developers may not have rights to distribute all of the music as a soundtrack (they would have to have rights to distribute in the context of the game).
$ youtube-dl --extract-audio --add-metadata --xattrs --embed-thumbnail --audio-quality 0 --audio-format mp3 URL
https://github.com/MrS0m30n3/youtube-dl-gui
It also works for YouTube vids which are blocked in your country. :-)
Some other episodes had the different error of unavailable due to copyright claim by [various movie distributors].
It can also parse various audio sites, and I think it's what mpv is using for Bandcamp for example.
Try this:
If you're publishing something for commercial, do you have a right to one day revoke that item you've published? I think many would say that no, you don't have that right. Fair use and all that.
But if you're publishing your diary or some other personal items about your life, not for something commercial, then I think many would argue that yes, you should have that right. To have the right to make all data about you disappear.
I'm pretty sure RMS explored these ethics before in some of his writings.
Personally, I'm a user of youtube-dl and have written some tools based on cloud tech that helps me automate archival of all media I come across that I find valuable. But I'm not so sure it's completely ethical in all cases.
They would have no moral right to republish that letter/video, but I would have no moral right to take their copy from them.
If you upload to youtube and make it public, then that's exactly what it is - public. You may have the right to pull it from Youtube one day, but that's the extent of it.
When playing a youtube playlist in mpv with youtube-dl, sometimes --load-unsafe-playlists is needed. This is rare however.