How To Use Youtube Dl Windows
Download Commodity
Download Commodity
Youtube-dl is a minor command-line program to download videos from YouTube and a few more sites. It is not platform specific, and should piece of work on your Linux, Windows and Mac Os X system. It is released to the public domain, which ways you can modify it, redistribute it or use it withal y'all like. This article will cover the installation and usage of Youtube-dl.
-
1
Install Microsoft Visual C++ 2010 Redistributable Bundle. It is required for the Windows binary to work. Download it at: https://www.microsoft.com/en-The states/download/details.aspx?id=5555, then double-click on it to run the installer.
- The oldest version of Windows that supports this package is Windows XP SP3.
-
2
Download the Windows binary of Youtube-dl. Become to https://youtube-dl.org/, then click on the centre link (which ends in .exe).
Ad
-
3
Open up the Windows command line. Press ⊞ Win+R , enter cmd, and printing ↵ Enter .
-
4
Navigate to the folder into which you downloaded Youtube-dl. Write cd directory_name to change into a directory, cd .. to change out of a directory. Y'all tin can printing Tab ↹ to auto-consummate a directory proper noun.
-
5
Check whether the binary works. To do so, blazon: youtube-dl --version. It should impress out some numbers and get out.
-
6
Copy Youtube-dl to the Program Files binder if y'all want to make it available for all users. If you don't want, skip this pace.
- Create a new binder inside the Program Files folder: mkdir "C:\Program Files\youtube-dl"
- Re-create the file into the new folder: copy "C:\Documents and Settings\your_user_name\Downloads\youtube-dl.exe" "C:\Program Files\youtube-dl". If you lot downloaded Youtube-dl into a different folder, accommodate the path accordingly.
- On newer versions of Windows, the path is usually C:\Users\your_user_name\Downloads\youtube-dl.exe instead.
-
vii
Add Youtube-dl to your PATH. This volition let you call it from the command line in any directory. Run into How to Change the PATH Environment Variable on Windows for more detailed instructions.
- When you have opened the PATH editing window as explained in that commodity, append ; and the path to the Youtube-dl directory, such every bit C:\Programme Files\youtube-dl.
- Click on OK and wait for the Environment Variables window to shut. And so click on OK in the Properties window, and wait for that to close, too.
-
8
Install a media player if you haven't still. Youtube videos are unremarkably stored in the FLV or MP4 formats and you can use a media player such as VLC player to view your videos. Y'all can download the VLC multimedia player from the following link: http://www.videolan.org/vlc/#download.
Advertisement
-
1
Consider installing from your package manager. This is the easiest way, but frequently the Youtube-dl package is outdated and doesn't work. Merely information technology may be worth trying before proceeding with the other steps.
-
2
-
three
Set file permissions for the binary. If no other user of your device needs it, you tin can type chmod +ten youtube-dl to allow yourself to execute the file. If you desire let all users of your device utilize Youtube-dl, blazon chmod a+ten youtube-dl instead.
-
4
Motion the file to an appropriate location.
- If you desire to install it merely for yourself, a good location is ~/.local/bin/. These directories may or may non already exist, if they don't, create them using mkdir directory_name .
- If yous want to install it for all users, a good location is /usr/local/bin/. You'll need to apply sudo when moving the file.
-
five
Check whether your install directory is in the
.profile
file. It needs to be at that place so that you can employ Youtube-dl without specifying the path to information technology every fourth dimension. For example, if you installed to ~/.local/bin/, check for the following line:PATH = " $HOME /.local/bin: $PATH "
-
half-dozen
Re-run the
.profile
script. If the directory you installed Youtube-dl to isn't yet inPATH
, merely is specified in the.contour
file, that will add it toPATH
. Otherwise, information technology will but do zippo. Type: source ~/.profile -
vii
Install a media role player if you haven't yet. YouTube videos are stored different formats, some of the virtually common are MP4, MKV and WEBM. To view the videos, you demand a media role player. Some options are MPV or VLC. You can install these through your system's bundle manager. On APT, the steps are:
- Type/Re-create/Paste: sudo apt update That will make certain that APT's list of packages is updated.
- Type/Re-create/Paste: sudo apt install vlc or sudo apt install mpv, depending on which ane you desire.
Advertizement
-
i
Download a video: youtube-dl url_to_video
- This will download only the video, without subtitles and description. It automatically chooses the best video and audio quality.
-
2
Don't download a video: youtube-dl --skip-download url_to_video
- This is useful when y'all only want to get some data, such a list of the subtitles, or the thumbnail film, but not the video itself.
-
three
Download the subtitles: Tell Youtube-dl to download subtitles with --write-sub. Add together --all-subs to download all subtitles, or utilise --sub-lang to specify a subtitle language.
- Employ --list-subs to listing all available subtitles.
-
4
Get additional video data:
- Use --write-clarification to download the description.
- Use --write-info-json to download the video metadata.
- Use --write-annotations to download the annotations.
- Utilize --write-thumbnail to download the thumbnail image.
-
5
Download a playlist: youtube-dl url_to_playlist
- By default, the videos volition be downloaded in the club in which they appear in the playlist. To alter this, use --playlist-reverse or --playlist-random.
- Use --playlist-start number and --playlist-end number to download just that excerpt of the playlist.
-
half-dozen
Download a specific video or audio format: youtube-dl -f format_code url_to_video
- To see which formats are available for the video, and what their format codes are, utilise: youtube-dl -F url_to_video . With the -F pick, it will not download the video, so you don't demand to additionally use --skip-download.
- Sometimes, the best quality is obtained by merging a video format with an audio-merely format. Sometimes, there are even merely video-but formats and audio-only formats. In that case, you can merge. To merge two formats, utilise: youtube-dl -f video_format+audio_format url_to_video
- Annotation that the order is not interchangeable. Specifying the audio offset and then the video will effect in an error.
-
seven
-
8
Update Youtube-dl if it all of a sudden stops working. YouTube regularly changes their way of storing videos, and the former youtube-dl script stops working. Update with: youtube-dl -U
- Depending on how you installed Youtube-dl, you may need to use sudo youtube-dl -U instead on Linux because you don't have the necessary permissions otherwise.
Advertisement
Enquire a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
-
Besides YouTube, you lot can also use Youtube-dl to download from many other sites such as Bilibili, VK, or Vimeo. You lot can see all sites it tin download from with: youtube-dl --list-extractors.
Thanks for submitting a tip for review!
Advertisement
-
Downloading monetized videos (videos with ads at the starting time) volition mean that when you lookout man the video offline, the aqueduct that posted the video volition not receive any money. Take this into consideration when downloading videos.
Advert
Well-nigh This Article
Cheers to all authors for creating a folio that has been read 150,164 times.
Is this article up to appointment?
Source: https://www.wikihow.com/Use-Youtube%E2%80%90dl#:~:text=Go%20to%20https%3A%2F%2Fyoutube,which%20ends%20in%20.exe).&text=Open%20the%20Windows%20command%20line,cmd%20%2C%20and%20press%20%E2%86%B5%20Enter%20.&text=Navigate%20to%20the%20folder%20into%20which%20you%20downloaded%20Youtube%2Ddl.
Posted by: haleyanswerpose.blogspot.com
0 Response to "How To Use Youtube Dl Windows"
Post a Comment