News for hackers. Stuff that matters.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by ChrisArchitect on Thursday August 26, 2021 @05:17PM (#28320929)
haven't paid attention to this since all the drama last year but again - what are all of you using youtube-dl for? Archiving your channel subs?
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by Larrikin on Thursday August 26, 2021 @06:43PM (#28321991)
I've started saving anything I ever watch more than once. Cooking recipes, music videos, learning materials, etc.

I started when a group I listened to removed all the content they had put up over the past year and said it was promotional material for their latest album which was garbage.

Ads have gotten so bad that any videos over three minutes have multiple ad breaks so watching longer music videos or sets are just completely ruined when watching on YouTube.

I wish there was a good set up for single watch videos since the ad algorithm tries to anticipate good places for breaks, which often times is right before punch lines to joke and when you skip over the ad they tend to put you back a few milliseconds ahead of where you stopped which can ruin jokes. I rarely watch for enjoyment (as opposed to learning) on a computer so I don't get the benefit of using an ad blocker like Ad Nauseam.

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by IronWolve on Thursday August 26, 2021 @07:21PM (#28322298)
Good for saving music videos or concerts to throw up on the tv at the cabin on the weekends.

Theres tons of place without internet access, or I dont have a device with internet access.

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by formerly_proven on Thursday August 26, 2021 @05:27PM (#28321051)
My experience is that the internet is really bad at forgetting the stuff you want gone, but really good at turning all your bookmarks into 404s and parked domains (another reason why bookmarks are pretty much worthless). So if you don't save it, it'll be gone next time you're trying to look it up. Doubly so if it is something even mildly controversial (now or then).
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by TeMPOraL on Friday August 27, 2021 @04:52AM (#28325634)
> Doubly so if it is something even mildly controversial (now or then).

Triply so if it's hosted by a corporation.

Looking at you, Microsoft. For all the good[0] things you're doing for developers using your platforms, I'm still angry at the way your documentation links rot. It seems that everything that ever linked to MSDN prior to ~2015 will now have their links redirected to 404 or "buy new Surface" page. Hell, plenty of internal links are broken too. It's particularly apparent when trying to read about C++ and COM (vs. C#/.NET, which seems to be MS's main focus).

--

[0] - In a pragmatic, day-to-day dev experience sense. Explicitly not talking about wider ethical issues here.

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by krick on Thursday August 26, 2021 @08:54PM (#28323055)
Literally everything.

1. I download whole channels if there's a series I want to watch.

2. I download music, since youtube is a really quite nice music library.

3. I download long videos before I watch it, because it's just more pleasant to rewind the thing when it's already on your SSD. Also, it won't freeze spoiling a beautiful scene because of some stupid WiFi problem.

4. Even if I don't download it before watching, I still use mpv to watch it, which uses youtube-dl internally, because mpv is a much nicer video-player than what you can have in a browser.

And I'm sure I forgot some important use-cases. Browsers are evil, js-apps are stupid, don't use them, if you can.

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by Ruthalas on Friday August 27, 2021 @01:15PM (#28330428)
If you feel like chatting with others who also archive YouTube content, consider stopping by my discord server: https://discord.gg/xjj538vD

We maintain a central list [1] of content that various members have archived, such that when content is removed from YouTube, people can direct inquiries to contributors who have archived that content.

It's a small way to keep track of what things have been successfully archived, and occasionally direct efforts to preserve specific content.

[1] https://tinyurl.com/v4rpe9w

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by nsomaru on Friday August 27, 2021 @05:15AM (#28325732)
What is your workflow for this?
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by hansel_der on Friday August 27, 2021 @06:36AM (#28326144)
this effectively extracts media urls from the current page, puts them into a m3u file and let's you open it with any application https://addons.mozilla.org/en-US/firefox/addon/play-with/

mpv itself uses ytdl (or others) for accessing streming sites and will buffer the whole vid if you crank up cache settings like:

  cache=yes
  demuxer-max-bytes=5G
  demuxer-max-back-bytes=5G
  prefetch-playlist=yes
  force-seekable=yes
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by crazygringo on Thursday August 26, 2021 @06:13PM (#28321653)
1) Videos disappear. Anything I think I might want to watch again in the future, I always download rather than bookmark. Not just YouTube but any video site (e.g. Reddit).

2) When Internet is flaky or doesn't exist. I've downloaded whole sets of tutorial videos for example to watch on a plane.

3) Stuff in 4K where my video player does a better job with hardware acceleration than my web browser does

I mean out of all the video I watch from the internet, 95% is streaming, but youtube-dl is for that other 5% that falls into the three categories above.

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by arthur2e5 on Friday August 27, 2021 @04:57AM (#28325648)
A recent example of videos disappearing is when Radio TV Hong Kong got a new, more pro-Beijing head. The “inflammatory” stuff first went down, followed by anything older than 1 year on YouTube as cover.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by Aachen on Thursday August 26, 2021 @06:39PM (#28321951)
Safekeeping, offline viewing, producing derivative works (it's great they allow setting CC licenses on videos, but are subsequently hostile to anyone trying to actually use those rights), and viewing on platforms where the browser or player doesn't work (that's been a few years by now though, now that all my hardware is newer and I'm no poor student anymore).

A great example I recently saw is someone extracting the audio feed and double checking the Doppler shift of a passing quadcopter to confirm a speed claim. It checked out and the math was included. Stellar comment. Harder to do if obtaining the video's data is made hard.

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by ronnier on Thursday August 26, 2021 @06:04PM (#28321548)
I made a tool for myself so I could 1 click download videos to my iphone's camera roll. It's based on youtube-dl. I like to share raw videos and do not like to share URLs. I use this tool to make that easy -- I copy a url and run the iOS shortcut and the video auto saves to my camera roll.

https://github.com/rroller/media-roller

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by vxNsr on Thursday August 26, 2021 @11:32PM (#28324028)
Where do you direct share videos that will allow >5min of 1080p?
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by hansel_der on Friday August 27, 2021 @07:18AM (#28326363)
telegram for example
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by ufo on Thursday August 26, 2021 @09:31PM (#28323306)
I also use it to stream videos, not just for downloading. I can watch using a native video player (such as mpv) instead of the web interface. More control over the playback speed and less buffering when I pause or fast forward. Very useful for longer lectures and presentations.

    mpv --ytdl-format="best[height<=720]" "$URL"
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by arp242 on Thursday August 26, 2021 @06:04PM (#28321553)
My internet connection can be flaky, and just downloading stuff and playing it locally works a lot better. YouTube tries very hard to minimize the buffer size to only what's needed – which makes a lot of sense at their scale – but it also means that less-than-stable internet connections are difficult because it'll never buffer enough to bridge the 3 minute outage.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by boomboomsubban on Thursday August 26, 2021 @05:49PM (#28321356)
Watching videos in my media player rather than my browser. Hardware acceleration has better support in mpv than Firefox.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by austhrow743 on Thursday August 26, 2021 @07:10PM (#28322195)
Watching YouTube videos with no or poor internet connection.

Watching many high res videos without destroying phone data plan.

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by cfn on Friday August 27, 2021 @03:57AM (#28325370)
For me was YouTube playing the same add every few minutes on almost every video I watched (some tooth paste ad) on the iPad. I started by downloading the videos on a PC and watching them later from my NAS but in the end I gave up on YouTube on the iPad and bought a Surface Pro.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by thewebcount on Thursday August 26, 2021 @07:40PM (#28322450)
I genuinely hate using YouTube because it's awful. Random pop-ups all over the page. Weird suggestions on the sidebar because I don't have an account and don't want one. Ads that start in the middle of a sentence and play again if you rewind, etc. so you can't actually understand the video you're watching. So I wrote an app that takes a YouTube URL, downloads the video with youtube-dl, and just plays it in a normal OS window. No web browser needed. No junk. It's awesome!
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by lorenzhs on Friday August 27, 2021 @05:03AM (#28325683)
You can just run “vlc https://youtube.com/watch/…”. There’s also YouTube-dl integration for mpv if I’m not mistaken.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by dryfish on Friday August 27, 2021 @06:52AM (#28326228)
I did the same but it's all bodged together which means I usually don't watch anything from Youtube.

It's a shame that the only video links on HN seem to be from Youtube.

Re:Yt-dlp – A YouTube-dl fork with additional features and f... by xelxebar on Thursday August 26, 2021 @09:28PM (#28323287)
You might also enjoy invidio.us, in the off chance you end up stranded on a remote island without youtube-dl handy.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by sralbert on Thursday August 26, 2021 @06:16PM (#28321689)
I download Twitch vods and Youtube videos at home and copy them to my work PC to listen to during the day.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by marbu on Friday August 27, 2021 @05:18AM (#28325748)
Mostly for off-line usage. Especially for videos where I care about audio only, I can download the audio part and then save it to my phone so that I can listen to it later without a need to have network connection. Another use case is archival.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by jjulius on Thursday August 26, 2021 @11:27PM (#28324000)
Live music performances, both new and old. YT is a great resource for that sort of thing, and I don't trust that that stuff will remain on YT and readily accessible for years to come, so I slap them on my NAS and watch them via Plex.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by aidenn0 on Thursday August 26, 2021 @08:15PM (#28322730)
Mainly not having to worry about reliability of my connection to youtube. I get loading-spinners and changes in resolution fairly regularly on YT.
Re:Yt-dlp – A YouTube-dl fork with additional features and f... by ChrisArchitect on Friday August 27, 2021 @11:03AM (#28328762)
So... on-the-go playback, general data-hoarding, music piracy, weird 'raw video' sharing instead of URLs that everyone has been doing since 2006 (please stop this! It's baffling to receive video files in emails from boomers in this day and age), and a bit too much attention to the abundance of terrible passively consumed content that you all spend too much time on youtube.com itself for