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!
> 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.
# Default Output Directory and Pattern
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.
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.
Many people rely on downloaders to actually watch the video.
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?)
Here's an example of something that is very important and desirable to me but doesn't exist anywhere else on the internet.
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.
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).
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.
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.
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.
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.
What’s left to steal?
Meanwhile the majority of Netflix customers is limited to 720p video like it’s 2001. 
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*
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.
I don't have Netflix
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-...
>-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.
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:
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 :-)
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:
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.
I always use it to rip TV or radio shows from German public stations
https://addons.mozilla.org/en-US/firefox/addon/open-with/ is available for firefox and chrome, and lets you open URLs from the context menu. Massive time saver, as you can just right click on a link to a video, and it'll start playing in a separate media player.
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).
--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?
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.
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.
if [ $# -eq 0 ]; then
env mpv "$(xsel -b)"
env mpv "$@"
$ mpv "&& rm -rf /"
Playing: && rm -rf /
[file] Cannot open file '&& rm -rf /': No such file or directory
Failed to open && rm -rf /.
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.
How did you do that? I would really like to have that setup also.
mpv can easily be configured to open full screen on a specific screen.
I've audited the script for the extension I posted and it looks good, I've posted mine here: https://www.pastery.net/dyeamx/
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.
> alias ymp3="youtube-dl --extract-audio --audio-format mp3"
alias mp3='youtube-dl -x --audio-format "mp3" --audio-quality 0 --embed-thumbnail $*'
mkdir /tmp/ytdl && cd /tmp/ytdl
for URL in "$@" ; do youtube-dl -o '%(title)s.%(ext)s' "$URL" --restrict-filenames; done ;
mv /tmp/ytdl/* ~/Desktop/
rm -rf /tmp/ytdl
e.g. youtube-dl -f 140 "$URL"
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 .
So I can have an MP3 song on my iPhone minutes after I’ve watched the video on YouTube.
 I do have Apple Music & Spotify , this is primarily for live/rare versions, and piano covers that I like.
 need both for testing, “officialy” launching https://www.musicbutler.io soon. /shamelessplug
$ youtube-dl --extract-audio --add-metadata --xattrs --embed-thumbnail --audio-quality 0 --audio-format mp3 URL
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).
Edit: Found the list of supported sites. https://github.com/rg3/youtube-dl/blob/master/docs/supported...
If you spin and use youtube-dl to build a crate, we all know, and we don’t respect you. You might win the crowd, but the people who actually bought into their profession and contributed to the community are also in attendance, and are very aware of your intrusion. You will quietly lose gigs without any explanation, and assume promoters simply can’t see your genius until you’re furiously working on 100 precious listens on SoundCloud. Fair use sampling? Go nuts and clean it up after youtube-dl. Five minute record? Make a Beatport account and get it overwith.
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.
It’s called “expanding a conversation with additional perspective that most of this audience is probably unfamiliar with,” including watching it happen to a close friend who thought she could get away with it, but sure, interpret me as angrily ranting at absolutely nobody in this audience because you skipped the “if” that qualifies my pronouns in the part that made this thread upset and would rather talk about your much more interesting obscure classical collection instead.
I love how stupid Hacker News thinks I am, and it’s telling me I’m on the right track in the conduct of my life. Feeling’s mutual, rest assured.
I’d simply offer it but this thread thinks I’m an angry ranter so I’m making you not cower in fear out of respect.
from this thread and other similar to it, it is becoming clear that a vocal segment of HN readers are not concerned with copyright.
Some good discussion there.
It can even download playlists and albums.
It also has support for downloading images from Flickr, to an extent.
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].
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.
Youtube for Kids is another app which is kid-friendly
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)?
1) find something I like is not released in my economy to buy as an MP3
2) find a low(ish)fi video of the original artist playing it at some awesome gig you wish you could go to with the time machine
3) use youtube-dl to dl it, then post process into an mp3 or m4a
4) enjoy listening to glenn gould humming, or keith jarrett humming, or that time the bomb landed next to the string quartet playin in london in 1940, or the one where the film clip of lena horne singing 'stormy weather' is just the perfect version...
I know that i'm outside the rules, but if they don't do something to let me pay for the IPR, but do put a video up free to air, I'm kind-of confused at this point: If I put dark glasses on, while I "watched" the youtube isn't it the same?
When playing a youtube playlist in mpv with youtube-dl, sometimes --load-unsafe-playlists is needed. This is rare however.
The only bug I found is that name escaping sometimes breaks, but I usually name things manually. Ffmpeg audio conversion needs to be done manually, but that's just an extra line.
It can also parse various audio sites, and I think it's what mpv is using for Bandcamp for example.
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?
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...
Also when watching a video, with mpv (which uses youtube-dl for youtube videos etc., I can pin a small video window on top of all other windows and continue doing other stuff on my laptop.
That would make your grammarly problem go away pretty fast.
Firefox and Chrome don’t support it last I checked, and I’m not sure if they even have GPU rendering on Linux by default.
Some players can hook into youtube-dl, so streaming is still possible.
I use this to download for offline viewing (such as when traveling), or to download and number an entire playlist at a time into a directory full of video files.