yt-dlp (formerly youtube-dl's)

  • 🏰 The Fediverse is up. If you know, you know.
  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account

Xarpho

Hey, I found the password!
True & Honest Fan
kiwifarms.net
Joined
Jan 27, 2014
I'm not into the command line so I've used youtube-dlg (youtube-dl with a GUI interface) for most of my download needs, and it works fine for most of the YouTube videos I've come across (not the ones where you pay $3 or whatever), and whenever it doesn't work, it's usually an issue of updating it.

For some reason, though, I've been trying to download/archive the short film You Will Be Happy, and it never merges the two files (audio and video). It throws up a cryptic error instead, "Stream #1:0 -> #0:1 (copy)". It's some apparently some codec ffmpeg doesn't like, but the newest version still won't budge. Has this been happening with anyone else?
 
i was unable to replicate your result, it downloaded just fine for me.
here you go
ETA: well the original downloaded fine but getting it from mkv to mp4 to upload it here broke the audio so anyway good luck
ok it was bugging the shit out of me so i converted it again here
 
Last edited:
I'd also note that youtube-dl is practially abandonware now, with no bugfixes (such as extra slow download speed from Youtube), new extractors and such since about a few months after its repo was unblocked after DMCA claim.
Current and most updated fork is yt-dlp, which also has some new features such as SponsorBlock integration and ability to extract auth cookies directly from browser.
 
You should look around in youtube-dlg's settings to try and fix this issue. An error relating to streams and the other poster with a name of @Just A Butt mentioning MKV being the output format probably means it didn't like your combination of settings or even its own defaults. This video's bestvideo/bestaudio seems to be a combination of VP9 (webm) and m4a (mp4) so just try it with opus audio instead.
 
I'd also note that youtube-dl is practially abandonware now, with no bugfixes (such as extra slow download speed from Youtube), new extractors and such since about a few months after its repo was unblocked after DMCA claim.
Current and most updated fork is yt-dlp, which also has some new features such as SponsorBlock integration and ability to extract auth cookies directly from browser.
I don't know if it's necessarily abandonware. From what I have heard the DMCA was such a shit-fest that the developers just needed a break. Two-months is a while, though.
 
Current and most updated fork is yt-dlp, which also has some new features such as SponsorBlock integration and ability to extract auth cookies directly from browser.
I have recently changed to yt-dlp (running on Linux) and am very happy with it, but as far as I can tell from the GitHub repo page it doesn't have a GUI for people like the OP who aren't into them (I'm old enough they weren't readily availble when I started computing, which for that matter was with then getting to be obsolescent punched cards).

Probably just a matter of time until an existing youtube-dl GUI is adapted to the different input and output details of yt-dlp, in the meantime I don't think it's terribly difficult to use it on the command line, use -F flag to show all the versions of audio and video available, change that to -f and follow it with the string in the left most ID column for the one you want. Like this recent use I made of it:
Code:
yt-dlp -F https://twitter.com/i/status/1456610771186634757

[twitter] 1456610771186634757: Downloading guest token
[...]
[info] Available formats for 1456610771186634757:
ID        EXT RESOLUTION |   TBR PROTO  | VCODEC        VBR ACODEC     ABR
--------- --- ---------- - ----- ------ - ----------- ----- --------- ----
http-288  mp4 480x270    |  288k https  | unknown      288k unknown     0k
hls-288   mp4 480x270    |  288k m3u8_n | avc1.4d001e  288k mp4a.40.2   0k
[...]
http-2176 mp4 1280x720   | 2176k https  | unknown     2176k unknown     0k
hls-2176  mp4 1280x720   | 2176k m3u8_n | avc1.640020 2176k mp4a.40.2   0k

yt-dlp -f hls-2176 -o "Energy Secretary Jennifer Granholm laughs when asked about Biden's plans to bring gas prices down.mp4" https://twitter.com/i/status/1456610771186634757
The only added feature I used since Twitter doesn't supply titles is supplying my own with the -o option, a common one for "output." Just make sure to get the file extension correct, in general I stick to mp4 files, see the second EXT column of output for extensions.
 
I'd also note that youtube-dl is practially abandonware now, with no bugfixes (such as extra slow download speed from Youtube), new extractors and such since about a few months after its repo was unblocked after DMCA claim.
Current and most updated fork is yt-dlp, which also has some new features such as SponsorBlock integration and ability to extract auth cookies directly from browser.
God, I was wondering what was happening - took hours to download a 4K video that was only a few minutes long. I'll keep an eye on the forks...
 
I think the problem I was using YouTube-DLG, which WAS the outdated version that couldn't do new stuff. And yeah, I was noticing that it was going a lot slower than normal.
 
yt-dlp has been working perfect for me when youtube-dl is problematic.

Begs to wonder if the RIAA takedown was successful in its own way. Maybe they had a back alley deal in which they would stop development.
 
I've had speed issues with youtube using yt-dlp. Known issue. But this fixes it. "--downloader=aria2c --downloader-args '--min-split-size=1M --max-connection-per-server=16 --max-concurrent-downloads=16 --split=16'". Per /r/youtube-dl.
 
I don't know if it's necessarily abandonware. From what I have heard the DMCA was such a shit-fest that the developers just needed a break. Two-months is a while, though.
no word from the Sergey M. guy who usually merges into master so who knows
 
Back
Top Bottom