YOUTUBE-DL configuration using method + aria2 multi-threaded download + mate FFmpeg Auto Merge segmented video

Source: Internet
Author: User

First introduce the software, YOUTUBE-DL can download the video of the webpage, the function is very powerful.

However, the segmented video can not be merged, and the video audio will not be able to merge video audio, so you need to use FFmpeg to match the merged video. The merging process is non-destructive and should not be feared. Automatic operation, do not do it yourself.

But YOUTUBE-DL also has a disadvantage, is the download of a single thread. is simply turtle speed, download video is often relatively large, single-threaded is impossible to use.

So you need aria2 to use multithreading.

First, install the Python environment, official website https://www.python.org/, download the latest version.

Remember to add an environment when installing.

Two: Download Youtube-dl, ARIA2, ffmpeg three software.

Website:

http://rg3.github.io/youtube-dl/

http://aria2.github.io/

http://ffmpeg.org/

Finish, unzip. Do not open it directly, put the three software in a proper place. Recommended drive C. Do not have symbols when naming folders. Don't put it together and put it in three folders.

Third, add environment variables. The purpose of this step is to tell the system there are three software, later use without you in the folder to find software.

Right-click Start Menu, System-Advanced system settings

Point Environment variables:

Select Path Point edit:

Out of the edit box, add the environment variables for the three software at the end:

The variable value is the folder path where you put the software.

Note that FFmpeg is added to the Bin folder. Two others because there is no bin, do not write to the bin. For the sake of convenience you can copy it to the file manager instead of tapping it manually.

If you are accustomed to using the command line as a user, add this to the environment variable in the user variable. However, because of the low user identity permissions, directly with administrator privileges can avoid many problems, so I often run the code with administrator privileges.

If you don't understand what the above means, just follow my steps. If you are accustomed to running code as a user, then do it your way.

Come on, the above is the installation software, the following is used.

--------------------------------------------------------------------------------------------------------------- -----------

1. Right-click the Start menu and open a command prompt (administrator)

If you don't have this option to show PowerShell, then change it. Specific can Baidu.

Enter the software name-V to see the software version, you first look at this to determine if the software is configured well.

Like this, it means the software is loaded. If you appear to be unable to find or recognize the command, then it means that it has not been installed, and that the above steps should be repeated.

(Pre-Preparation 2: If you want to under the video site has geographical restrictions, such as downloading the BBC can only use the British IP, you need to let the cmd window to go proxy. If you use a shuttle, turn on the global agent. If the NPV used generally defaults to the global agent, no tube).

YOUTUBE-DL configuration using method + aria2 multi-threaded download + mate FFmpeg Auto Merge segmented video

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.