[How-to] Download playlists and cc from youtube and merge L1-L2 subs

Discussion in 'Language Resources' started by pat tou, Oct 31, 2015.

  1. pat tou

    pat tou New Member VIP member

    Joined:
    Jun 30, 2014
    Messages:
    16
    Native Language:
    English, French
    Intermediate Languages:
    Russian
    Hi all,

    I have recently discovered a great way to watch movies/series with two sets of subtitles (L1-L2) in your favorite media player. With the use of a great program called youtube-dl, you can download entire playlists from youtube as well as the subtitles. You will need to mess around a bit with the windows command prompt, but follow my step by step guide and you will see it is quite simple.

    Here goes:

    What you will need:
    Youtube-dl https://rg3.github.io/youtube-dl/download.html
    This is a free download that requires you to have python (programming language Python version 2.6, 2.7, or 3.2+ to work.
    *Optional* ffmpeg https://www.ffmpeg.org/download.html
    This is used if you want to download lower quality videos and merge it. By default youtube-dl downloads the highest quality, which can end up taking alot of bandwidth/space.

    How to install:
    Download and install Python. I installed 2.7, install whichever version you want.
    Download youtube-dl and save it to a folder named as you wish, i.e \Youtube Download dump. It will simply be an exe file. To run it, you need to give it commands from the command prompt.
    *Optional* Download ffmpeg and save it to the same folder as youtube-dl

    How to use Youtube-dl:
    To use youtube-dl, there is documentation which you can use https://github.com/rg3/youtube-dl/blob/master/README.md#readme
    There are tons of options and different ways to customize how you download your videos. You have great control on what you download, quality, mp3 only, subtitles, etc.

    You will need to use the windows command prompt. If you are a linux or mac user, can't help you, but you can probably figure it out with the documentation. So I will just focus on windows in this guide.
    For those of you who aren't familiar with using the windows command prompt, don't be scared.
    Press windows + R, type cmd in the box, then press ENTER.
    Alternately simply press the START menu button and type cmd in the dialogue box. Then run that.

    upload_2015-10-31_12-29-4.png
    This should give you the following screen:
    upload_2015-10-31_12-32-57.png

    Here are the commands to use. You will need to navigate the cmd to the folder where you saved the youtube-dl.exe file. To do so type cd and then your filepath: If you saved it on a drive other than your C:, simply type the letter followed by a colon (i.e D:)
    upload_2015-10-31_12-36-4.png

    Then you can type: youtube-dl followed by a URL. This will start the download. Type this into the command prompt
    youtube-dl --all-subs http: //www.youtube.com/watch?v=NDaDOaLDSMU
    (the forum kept posting the video instead of the text, there is a space which you will have to remove between http: //w)
    Below is the result you should get:
    upload_2015-10-31_12-43-5.png
    You might get an error if there are no cc in this video. In that case they will not download. You must find videos with CC if you want them to download. More on that later.

    Finally, if you want to download an entire playlist, go copy that playlist URL from youtube and use the following commands. I put my example, but you will need to replace for whatever filepath you are using.

    D:
    cd \Russian\TV series\Youtube Download dump
    youtube-dl" --yes-playlist --all-subs -o %(autonumber)s_%(title)s.%(ext)s -f "bestvideo[height<=480]+bestaudio" https://www.youtube.com/playlist?list=PLhuA9d7RIOdYHMhuVuB_cItQo-m_H7OcS


    Change the filepath to whatever you are using. Also change the url address to that of the playlist you want to dowload. I made a text file to simply save this entire command. First copy the contents of the text file, then, in the cmd you can right click and paste the contents of the text file.

    List of videos/playlists to download from Youtube:
    I am studying russian, so I can't help you for other languages. Here is what I have downloaded and used for learning so far:
    Easy Russian
    Star Media also has quite alot of series and some movies. Most of it is some drama or WW2 movies..lol :(
    Still there are some good shows and movies to discover there.
    Im watching Остров Ненужныч Людей https://www.youtube.com/playlist?list=PLhuA9d7RIOdYHMhuVuB_cItQo-m_H7OcS
    to be continued...

    How to watch a video with dual subtitles:
    Download subs2srs http://sourceforge.net/projects/subs2srs/
    Extract it to a folder and run it. Go to tools > Dueling subtitles
    Then choose subs 1 and subs 2 and create dueling subtitles.
    to be continued.

    If you have any questions post away. And if you discover good shows/movies with cc on youtube please share.
    Cheers,
    Pat
    Last edited: Oct 31, 2015
    Big_Dog likes this.
  2. Big_Dog

    Big_Dog Administrator Staff Member

    Joined:
    Jan 11, 2014
    Messages:
    1,039
    Native Language:
    English
    Advanced Languages:
    Spanish
    Intermediate Languages:
    French, Japanese, Mandarin, Russian, Swahili, Thai
    Basic Languages:
    Korean
    Looks promising. Thanks for the great post!

Share This Page