Youtube-dl

Bless this fucking program, bless it.

Attached: youtube-dl-icon.png (512x512, 20K)

Other urls found in this thread:

youtube.com/watch?v=ROYNUTJASz4
ytdl-org.github.io/youtube-dl/donations.html
twitter.com/SFWRedditGifs

anybody know what kind of trickery that youtube pulls on it's 60fps videos? since the best quality download always tends to be 30fps, but when viewed on youtube, you get the best quality and the 60 frames.

Attached: Untitled.png (818x408, 46K)

Imagine how much faster it would be if it wasn't written in fucking python.
Don't give me that network bound apologetic bullshit, youtube-dl spends several seconds just processing text after it downloads the video page.

How does youtube-dl choose the "best" option?

"best" refers to the best combined video + audio format
youtube only delivers such videos up to 720p30
for higher formats, they provide them as separate video /or/ audio streams

Don't forget to donate!

You have to hook up youtube-dl to ffmpeg if you want to download 60-fps videos. Details are in the youtube-dl readme.

Attached: Capture.png (580x532, 36K)

my only gripe is that it always takes quite a while to load initially, especially when using with mpv. any ideas on how to fix this or if it is even possible

>You have to hook up youtube-dl to ffmpeg
with the --ffmpeg-location option

Did you not look at the image, lads? The 60fps video feed is there, but it's at a lower bitrate than the highest available quality which is 30fps.

I thought you needed ffmpeg for youtube-dl regardless.
Also, what a fucking pain it was to just find the straight .exe file to pop in the youtube-dl directory. Fuck their tarball autism.

1. did you read my post?
2. the formats list is not in order of quality or bitrate

All I had to do was make youtube-dl and ffmpeg an environment variable and it does everything automatically. it will dl the best video and audio and mux them together if they're separate.

What video is that?

Attached: Untitled.png (766x357, 34K)

I individually downloaded both feeds, and I can confirm that the 30fps video has a higher bitrate than the 60fps one

what now? I'm telling you that the 60fps video has a lower bitrate than the 30fps one.

One of the few good opensource program there is along with ffmpeg

youtube-dl.exe --ignore-errors --batch-file "U:\MPV\youtube_to_download.txt" --format "bestvideo+bestaudio/best" --download-archive "U:\MPV\completed_downloads.txt" --write-info-json --write-thumbnail --add-metadata -o "U://MPV//%(playlist)s/%(upload_date)s - %(id)s - %(title)s (%(resolution)s_%(vcodec)s_%(acodec)s_%(fps)sfps).%(ext)s"
Put links to channel in youtube_to_download.txt file

+

Run a proxy that add YT links you visit to youtube_to_download.txt, this way no video will ever be down for you again

the gmanlives review for amid evil
which is yours?

How does this compare to just recording the browser with obs?

can you donate in crypto?

Why do you guys download videos? YouTube just has them there like forever.

youtube.com/watch?v=ROYNUTJASz4

archive offline

jews btfo

this is worse than transcoding, do you understand what transcoding is or is this over your head?

oh sweet summerchild
anything of value, real information, is purged every year or so.
we reupload to bitchute
jewgle cannot stop this

my playlist say otherwise, approx 20% of the videos were taken down or became private over the years

it doesn't

Attached: ohn6s8tkgxq01.png (662x212, 25K)

>YouTube just has them there like forever.
fuck user, i just put my coffee down

It's also a way to avoid going onto youtube, and give them data
I believe you can pull the videos only, and stay up to date with youtubers, without feeding the google machine
I might be wrong though, i don't download myself, but i like the idea if this is why

It's a fucking godsend. With how YT is these days with deleting channels for no reason, I've taking into the habit of backing up my favorite channels.

Yes, ytdl-org.github.io/youtube-dl/donations.html

>can't download comments
cringe

youtube-dl covers a whole lot more than just youtube. It's kind of strange that it is called youtube-dl, sells the program short.

You can download pretty much anything, anywhere. I've downloaded whole shows off adultswim with it, which is a fucking much better experience than dealing with their shit player which can't keep the quality consistent to save its life.

it's an amazing tool.

Attached: mde_cc_102_Digital_sdfqwertj806r2f_stream_tv-mde_cc_102_Digital_sdfqwertj806r2f_stream_tv.mp4_snapsh (1920x1080, 975K)

I wonder if it was hitting some bitrate cap for 1080p60, since that one is utter crap.

Does it really matter though, since the processing time is minimal compared to the actual download for most people?

>oh sweet summerchild
>anything of value, real information, is purged every year or so.
>we reupload to bitchute
>jewgle cannot stop this

Attached: oWwbyen.jpg (720x960, 82K)

is "bestaudio" the way to go when downloading music off youtube? not that I ever do this, but I'm just curious. Converting to mp3 never seems to be the ideal option since the best audio these days seem to be webm or m4a streams.

>reading YT comments
the actual cringe here

>YouTube just has them there like forever.
post you face when

Attached: >scrollbar.png (1118x971, 87K)

I still use phantomjs with ytdl since some sites require js to run in order to dl the video without sniffing for URLs. I've never had to configure anything I just put phantomjs in the same directory as ytdl and it just works. I know it's not being developed anymore and am wondering if there is something else to eventually replace it. I've heard about nightmarejs but haven't tried it. Has anyone used it? Does it work the same without any configuration?

Highest bitrate (if present) or highest resolution. Unfortunately the bitrate reported by YT is often imaginary.

>bitchute
Go outside
Talk to women
Have sex

Format 251

Format 22 will *rarely* have 192 or 256kbps AAC, but it's almost always 128k and so it's just easier to go with the 128k Opus since that's not attached to a video stream like -f 22 is.

You first

But the video takes a lot of space. So you have terabytes just sitting around with stuff you might watch again one day? Seems like an expensive hobby.

But is video something to keep forever? Shouldn't videos just flow over you one time and then be forgotten forever?
No one watches anything from the 50s anymore, so why do you think you're going to want to watch the stuff in the future?

>No one watches anything from the 50s anymore
You are delusional.

videos can be knowledge that you want to share, can't share it if it's taken down forever

Sure, historians do. It's not like anyone listens to them.

>But is video something to keep forever? Shouldn't videos just flow over you one time and then be forgotten forever?
If it ain't worth watching twice, it ain't worth watching once.

My youtube video folder takes a whopping 24GB for 260 videos.

Attached: Emperor's New Groove.png (500x294, 12K)

>71556723
Not even worth a (You).

Sorry to have bothered you.
I will leave the thread. Enjoy your downloading hobby.

youtube-dl also works on other sites, such as twitter. I recently used it on a TV station's website that was streaming some videos.

youtube-dl is a beautiful thing and I'd like to buy the author a cup of coffee

Reminder to upscale your videos to 4k for Youtube upload to prevent blindness.

how is this shit legal?
where do i report this program?

I didn't even know sites like Soundcloud were also compatible.
This program is great.

If you want higher quality videos you need to have ffmpeg in the same folder as your youtube-dl.exe
Same goes for another program that can directly translate video from .webm or .mp4 to .mp3

port it to luajit

this is how to watch videos on legacy hardware

Best chooses the single file that contains both audio and video at the highest bitrates. On youtube best almost always chooses a file that is 720p 30fps H264 Video and 128K AAC Audio. If you want the *actual* best you have to use bestvideo+bestaudio instead

> But the video takes a lot of space. So you have terabytes just sitting around with stuff you might watch again one day? Seems like an expensive hobby.
you can pipe it directly to mplayer provided you aren't interested in skipping around the video

The list of supported sites is huge. Although it's usually not 100% correct. Many niche sites are not regularly checked and may be broken or dead for a long time. I remember just recently seeing a commit that removed support for a site that was shut down in 2017.

install ffmpeg and you don't have to type that everytime

Even if a site isn't on the list you should be able to download it if you can capture the stream with a network monitor (ctrl+shift+e in firefox)

at the same time, most websites don't change the way they deliver media very often
it's not like they all need constant work like youtube does

If I wanted to write a program that automatically youtube-dl'd videos when a channel uploaded them, how could I listen for newly uploads? Would I use the API or could I do something with subscriptions?

rss feeds

ytdl-format=bestvideo[fps=60]+bestaudio
something like this

>YouTube just has them there like forever.
Are you fucking serious?
Content on YouTube is notoriously fleeting

can this thing download all videos of a channel chronologically

>But is video something to keep forever?
Yes

>Shouldn't videos just flow over you one time and then be forgotten forever?
No.

Flash is essentially dead, but I've kept all the flashes I've downloaded since I first came here back in 2005.

Attached: 1541046301471.jpg (367x476, 83K)

I download audio from SoundCloud with it. Based program.

In the future everything will be 8K and your videos from today are going to look like blurry little post stamps. Even if they are historically valuable, you will not want to watch them upscaled.

Serious props on your SWF collection. I have one too. I am worried in the future that there will be no players for these things. Jow Forums and z0r.de were my main sources.

Sure, even some of the videos are bad now, but I'll still hang on to them. Better to have then not to have. From time to time, whenever I take a look through them, I'll check to see if there's a better version available.

I just use newpipe
On pc I cbf but use those dodgy converter sites

there are plenty of 480p and 720p videos I watch and enjoy

Why don't you make the C++ faster alternative, user.

1 shekel has been deposited to your account in Israƫl.

See

Or just put them in the same folder

JDownloader ftw

Fuck you all. He has a point. Takes too much damn time to play next video in playlist.

Can youtube dl save captions?

youtube-dl is based when you realise it works on other sites like pornhub or weird russian sites

You mean like subtitles? You can save them as subtitle files and if you have ffmpeg you can mux them into one file.

Man you weren't joking that shit is the slowest thing I've ever used. It's impossible this is all due to python.

I used it a month ago to get every single South Park episode, Hulu not required in Europe. Except threee episodes that were not available for some reason

muh 96kbps

Something this useful should not exist.

Yeah but it wouldn't exist if not for python
So it being slow to start and actually existing is better than some shitty not-working C application

Fair enough. Guess I never really thought about it, since my internet speed is bad enough to require some buffering before starting a video anyway.

>actually reading yt comments
u wat nigga?
show me one single yt comment worth reading. cmon do it, your can go as far as 06 if you want. you wont because its all indian spammers and underage retards.

Justin Y

Pedophile videos gets deleted that's why.

It can't convert to mp3 tho.

i said
>worth reading
so not only are your retarded, you cant read too?

wget

bless this fucking script, bless it

Don't forget you're speaking to LARPing schizos

make a better one then