Youtube video conversion using vlc

By | March 16, 2019
  1. In VLC, head to Media > Open Network Stream.
  2. Paste the YouTube link in the box and click Play.
  3. Under Tools, click Codec Information. In the box that says Location, right-click the block of text and click Select All. Copy this text to your clipboard.
  4. Go back to your browser and paste the link in the address bar. This will open the source file directly on YouTube’s servers. Right-click the video as it plays and select Save Video As.

Please note, that Google/ Youtube keeps changing their algorithm, to prevent third parties from accessing their content. So if you get the error below, kindly download the latest version of VLC OR download an updated youtube.luac file and place it the lua/playlist directory from VLC’s github and followed the instructions here – https://www.latecnosfera.com/2016/10/vlc-unable-to-open-mrl.html

Your input can’t be opened: VLC is unable to open the MRL ‘https:

Now you can download any video you like. I was thinking of writing a python program, to do the following

  1. A text file would contain the list of all youtube URL, that needs to be downloaded
  2. Read from this file and pass the URL to VLC
  3. Call vlc and play the file. Read codec info and use wget to dowload the video

Leave a Reply