Holla Forums toolkit thread

As I've noticed a large infux of newfags redditors coming to this board, it's time to learn proper board procedure and archiving best practices. First of all we will go over proper youtube archival and why this should be done instead of just posting links.

YOUTUBE: JEWGLE'S DOMAIN

As you're well aware, youtube pulls videos down all the time if even tangentially resembles something that could be considered beneficial to our cause. These rules have gotten even more stringent, stripping monetization from small channels under a certain threshhold. This, in concert with their censorship of videos, leads to a lot of great content being lost. A way to circumvent the loss of important videos is to pull the files from their servers and download a local copy for archival purposes. This is everyone's duty.


NO
Hooktube just redirects youtube video links, so it does not protect against videos getting quickly pulled down when kikes are getting shifty and banning things quickly, which happens during big happenings.

Toolkit

Now, what can we use to download videos? Sure, there's a bunch of websites that do piss poor jobs of this, but we are anons and thus aren't retarded niggers requiring these shitty substitutes. The tools we will use today are ffmpeg and youtube-dl.

ffmpeg source: ffmpeg.org
youtube-dl source: rg3.github.io/youtube-dl/download.html

For people on os x, I would recommend grabbing homebrew and just typing in brew install youtube-dl and brew install ffmpeg

Linux people should have ffmpeg/youtube-dl in their repositories, so if you have a debian based OS you can type in sudo apt-get install ffmpeg and sudo apt-get install youtube-dl

Using your new tools

Now we will learn the basics about bitrates and how they apply here. First thing we should learn about is the maximum file size. The aggregate file size of a post has to be under 16MB (actually it's 16.5, but that .5 will be used as a buffer because this stuff isn't always an exact science), so let's figure out how to apply it to videos.

Videos have two channels of bits, the audio and the visual. Each has a certain amount of bits per second that delivers the quality of the clip. Since you have a maximum file size, you have a set amount of play in which you can divide the two variables which will be length of the clip and the bits per second.

For napkin math, you can use the following estimation: 16 (MB) * 1024 = 16384

16384 / x = audio + video bits per second
x in this equation is the # of seconds of the video in question. If you're not a nigger, you could see how quickly the length of the video can impact the resultant video quality. Longer videos precipitously drop in quality, but longer videos can be split up and/or done a few magic things to that I might cover in future posts if there's any interest.

Anyway, let's take the video for practice: youtube.com/watch?v=93YiJx4Sj7k
You should have ffmpeg and youtube-dl at this point

The video is 91 seconds long, so taking 16384/91 means we have 180kbps of data that we can spread among the audio/video streams.

First, open up your terminal/command prompt and type in youtube-dl https'':''//www.youtube.com/watch?v=93YiJx4Sj7k

Download should start and go to your ~ (in os x or linux) or probably your downloads folder in windows. In this example, the file is exactly 16MB so it's pretty much perfect and ready to go for posting. However, there are many situations where the video length is longer than the 1.5 minutes like the video I provided, so you'll need options. Very interestingly, youtube-dl is very nifty and provides you many options for the lazy.

Let's use the same video and explore these options. First, let's say for argument this video was longer than 16MB so it naturally needed to be sliced down in quality to be able to fit in a post. We can actually explore different options with the following command:

youtube-dl -F https'':''//www.youtube.com/watch?v=93YiJx4Sj7k

Pic 2 related, you'll get a number of options here and you can select lower quality options to fit into a post here on Holla Forums. You don't have to remember codecs, but ogg vorbis is a great audio codec that compresses great. If you look in the list, you'll see option 43 uses a smaller video size and vorbis for audio so it will provide a smaller file size than an uncompressed video straight from youtube. Let's try downloading this one since 43 is one of my go-to options.

youtube-dl -f 43 https'':''//www.youtube.com/watch?v=93YiJx4Sj7k

As you'll be able to see, this cut the file size down to a bit over 8MB so we cut the file size in half. I will continue this post if there's any interest.

Other urls found in this thread:

youtube.com/watch?v=93YiJx4Sj7khttps://8ch.net/pol/res/11172894.html
youtube.com/watch?v=93YiJx4Sj7k
github.com/streamlink/streamlink
streamlink.github.io/
rg3.github.io/youtube-dl/
mrs0m30n3.github.io/youtube-dl-gui/
rg3.github.io/youtube-dl/supportedsites.html
twitter.com/SFWRedditImages

For some reason, chodemonkey's broken [code] tags broke up my terminal commands with apostrophes:

youtube-dl youtube.com/watch?v=93YiJx4Sj7khttps://8ch.net/pol/res/11172894.html

youtube-dl -F youtube.com/watch?v=93YiJx4Sj7k

youtube-dl -f 43 youtube.com/watch?v=93YiJx4Sj7k

See, even if the terminal command said the video was just under 16MB, the resultant file is 18.2MB. This is part of the weirdness you have to work around. You can pick around the options to find something thats as close to 16MB as you can get it, but here is the 8MB -f 43 file of the video.

bump

just Holla Forums yourself

Just get mps-youtube, it uses youtube-dl itself, provides various download options, can batch download playlists/channels, and you can search youtube with it without having to import a link from a browser.

I doubt it allows you to edit things in passes though. That's what's needed for bigger videos.

use streamlink for livestreams
it's youtube-dl for livestreams, and it supports a ton of sites that have livestreams (twitter, facebook, periscope, etc). you can even use it to download static videos too. give it a try on a static video if youtube-dl isn't working on a particular site.
github.com/streamlink/streamlink
docs
streamlink.github.io/

What if I find a video on PornHub that supports the cause? How do I download that? PornHub is more pozzed than youtube.

Hooktube has a download button so you don't need to bother with this autism.

Just because you can download it, doesn't mean you can post it unless you manipulate the file if its greater than 16MB.

kikey post

now that's news I can use.

For those struggling with Konsole (or Terminal), there is a graphic interface for "youtube-dl".
-→ rg3.github.io/youtube-dl/
The Debian 9 package is youtube-dlg_0.3.8-1~webupd8~yakkety1_all.deb

By the way.
I don't know when using Konsole, but using the graphic interface is possible to bypass the Age Restriction (without to sign) on Youtube videos.

Sorry anons.
I made a mistake in the link.
The right address is:
-→ mrs0m30n3.github.io/youtube-dl-gui/

Bump

Thanks, but I will continue to just Lurk and Shitpost if that is okay with you OP.

REMINDER:
STOP USING (((CHROME)))
STOP USING SOROSFOX
INSTALL PALEMOON OR ICECAT
IF YOU ARE BROWSING THE INTERNET WITHOUT THE UMATRIX EXTENSION YOU ARE POZZING YOURSELF WITH (((GOOGLE))) AND (((FACEBOOK))) TRACKERS

No need to panic, youtube-dl works with pornhub too.

Porn is jewish psychological warfare that reprograms your urge to reproduce into an urge to fap to depraved filth.

Protip: if you seem to be unable to download a vid from YouTube because it's unavailable, you can use clipconverter.cc for a second chance to save it. It caches deleted vids for a short amount of time (a few hours IIRC) after they're deleted, which still makes them downloadable from there. The only downside is that they have to have been saved at least once via clipconverter (before they get deleted from YouTube) in order to be downloadable.


This is an unflexible and normie-tier way to download vids. If you don't want to either bother with gay coding shit or very simplistic methods that don't offer you the customization you need, the best way is to use JDownloader. From there you can download whatever you want from a YouTube vid, and I mean whatever you want (audio, video, subtitles, description, vid thumbnail etc), in a format that suits you best. It's a very handy tool that every user should try at least once.

rg3.github.io/youtube-dl/supportedsites.html

Unrelated to the OP and size limits, but how do I make a .mkv importable to other programs? I am using the -f bestvideo+bestaudio for download and attempted to convert it into mp4. Is it because the file is lacking metadata editor software won't accept it and what can be done to fix this?

Good thread OP. I'm always advising people to do this.

You can also get youtube-dl for Windows using the Chocolatey package manager.

choco install youtube-dl

To update

choco upgrade youtube-dl

You can use youtube-dl to fetch entire playlists, or parts of a playlist.

#To simply get an entire playlistyoutube-dl # Start the playlist download at item three, and end with item 7youtube-dl --playlist-start 3 --playlist-end 6 ## Start downloading a playist at item n and finish at item 1youtube-dl --playlist-reverse # Start downloating at item n and stop at item 3youtube-dl --playlist-start 3 --playlist-reverse # Start downloading at item 3 and end at item 1youtube-dl --playlist-end 3 --playlist-reverse

You can also use youtube-dl to transcode a video into a preferred format.
I often use it to convert short vids to webm so I can post them here directly.


youtube-dl --recode-video webm

You will need to install ffmpeg for this to work, but you can install that exactly the same way you installed youtube-dl

You can use even youtube-dl to turn a video into a podcast by transcoding it to mp3 on the fly.

For high quality, as with music, use

youtube-dl --extract-audio --audio-format mp3 --prefer-ffmpeg --audio-quality 0

For voice quality, as with podcasts

youtube-dl --extract-audio --audio-format mp3 --prefer-ffmpeg --audio-quality 4

You wish kampfy

Thanks for the spoonfeeding. Going trough the doc takes some time especially when new to this. I will ask again since the thread got your attention and because I feel that my first question was shit (and I have grown really tired of using fraps filesizes).

If the output file can't be used in video editing software then it limits the usefulness of videos downloaded with the methods ITT. It might be something as simple as a compilation or a combination of footage and images from an event. So what can be done if the raw (output) filetype is unsupported for another program? I managed to make it into another fileformat just to try but since I used copy (on zero information) it still had the same problem. Can the metadata be generated, set manually, etc or am I missing something.