How I can used YouTube-dl for VLC ??

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
User avatar
hamza-mostakim
Blank Cone
Blank Cone
Posts: 30
Joined: 08 Jun 2019 12:31
VLC version: 3.0.7
Operating System: windows

How I can used YouTube-dl for VLC ??

Postby hamza-mostakim » 12 Sep 2019 14:21

hello all.
can you someone tell me what is this ??

I think youtube-dl Just for download not watching ?? :oops:


https://unix.stackexchange.com/questions/498751/combining-youtube-dl-and-vlc-without-a-pipe

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How I can used YouTube-dl for VLC ??

Postby Rémi Denis-Courmont » 12 Sep 2019 17:46

That is explained in the YoutubeDL documentation...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Lotesdelere
Cone Master
Cone Master
Posts: 9974
Joined: 08 Sep 2006 04:39
Location: Europe

Re: How I can used YouTube-dl for VLC ??

Postby Lotesdelere » 12 Sep 2019 17:47

Haven't you read the content of the page you have posted ?

youtube-dl -o - <webpage> | vlc
shows a video in VLC.

User avatar
hamza-mostakim
Blank Cone
Blank Cone
Posts: 30
Joined: 08 Jun 2019 12:31
VLC version: 3.0.7
Operating System: windows

Re: How I can used YouTube-dl for VLC ??

Postby hamza-mostakim » 13 Sep 2019 19:56

Haven't you read the content of the page you have posted ?

youtube-dl -o - <webpage> | vlc
shows a video in VLC.
hhhh no I'm read it but I can't understand :cry:

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How I can used YouTube-dl for VLC ??

Postby mederi » 13 Sep 2019 20:50

"youtube-dl.exe" from https://youtube-dl.org/
The pipe does not work on Windows, does it?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How I can used YouTube-dl for VLC ??

Postby mederi » 13 Sep 2019 21:48

Any better than this batch script "youtube-dl.bat"?

Code: Select all

@echo off set VLC="C:\Program Files\VideoLAN\VLC\vlc.exe" set /p yturl=Youtube URL (right-click): youtube-dl.exe -F %yturl:&=^&% set /p ytdlfmt=Format: youtube-dl.exe -g -f %ytdlfmt% %yturl:&=^&% > yt-dl.m3u echo VLC... %VLC% --meta-title=youtube-dl yt-dl.m3u
--- EDIT ---
14.9.2019: escaped & characters in yturl

Lotesdelere
Cone Master
Cone Master
Posts: 9974
Joined: 08 Sep 2006 04:39
Location: Europe

Re: How I can used YouTube-dl for VLC ??

Postby Lotesdelere » 14 Sep 2019 07:10

Any better than this batch script "youtube-dl.bat"?

Works! Image

User avatar
hamza-mostakim
Blank Cone
Blank Cone
Posts: 30
Joined: 08 Jun 2019 12:31
VLC version: 3.0.7
Operating System: windows

Re: How I can used YouTube-dl for VLC ??

Postby hamza-mostakim » 15 Sep 2019 04:44

Any better than this batch script "youtube-dl.bat"?

Works! Image
please tell me what works ?? :cry: :cry: :cry:
Last edited by hamza-mostakim on 15 Sep 2019 05:08, edited 1 time in total.

User avatar
hamza-mostakim
Blank Cone
Blank Cone
Posts: 30
Joined: 08 Jun 2019 12:31
VLC version: 3.0.7
Operating System: windows

Re: How I can used YouTube-dl for VLC ??

Postby hamza-mostakim » 15 Sep 2019 05:04

are you can play this like :

https://ok.ru/video/312785439416
??
please bro tell because I can't understand English good :roll:

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How I can used YouTube-dl for VLC ??

Postby mederi » 15 Sep 2019 21:10

It is youtube-dl, it is not ok-dl.

User avatar
hamza-mostakim
Blank Cone
Blank Cone
Posts: 30
Joined: 08 Jun 2019 12:31
VLC version: 3.0.7
Operating System: windows

Re: How I can used YouTube-dl for VLC ??

Postby hamza-mostakim » 16 Sep 2019 10:17

It is youtube-dl, it is not ok-dl.
so you're play just like of YouTube ?? :cry:

Lucas Zxc
Blank Cone
Blank Cone
Posts: 39
Joined: 27 Feb 2022 00:35
VLC version: 3.0.18
Operating System: Windows 11

Re: How I can used YouTube-dl for VLC ??

Postby Lucas Zxc » 14 Aug 2023 14:24

Any better than this batch script "youtube-dl.bat"?

Code: Select all

@echo off set VLC="C:\Program Files\VideoLAN\VLC\vlc.exe" set /p yturl=Youtube URL (right-click): youtube-dl.exe -F %yturl:&=^&% set /p ytdlfmt=Format: youtube-dl.exe -g -f %ytdlfmt% %yturl:&=^&% > yt-dl.m3u echo VLC... %VLC% --meta-title=youtube-dl yt-dl.m3u
--- EDIT ---
14.9.2019: escaped & characters in yturl

is there a tutorial that teaches how to use this? because I'm new to all this and I don't understand these things yet

Lotesdelere
Cone Master
Cone Master
Posts: 9974
Joined: 08 Sep 2006 04:39
Location: Europe

Re: How I can used YouTube-dl for VLC ??

Postby Lotesdelere » 15 Aug 2023 11:24

Youtube-DL is no longer updated anymore so you have to you have to edit the script and to replace youtube-dl.exe with yt-dlp.exe and to set the correct path to VLC.exe.
Of course, you need to download YT-DLP first, then you just run the .BAT file.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How I can used YouTube-dl for VLC ??

Postby Rémi Denis-Courmont » 15 Aug 2023 16:48

Actually Youtube-DL is updated back again, though it fell way behind YT-DLP technically in the mean time.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 50 guests