Question: how to download youtube videos via vlc player?
Answer: Find a video on YouTube—like this one—and copy the URL from your browser's the address bar.
In VLC, head to Media > Open Network Stream.
Paste the YouTube link in the box and click Play. ... 
Under Tools, click Codec Information.