Page 1 of 1

How I can used YouTube-dl for VLC ??

Posted: 12 Sep 2019 14:21
by hamza-mostakim
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

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

Posted: 12 Sep 2019 17:46
by Rémi Denis-Courmont
That is explained in the YoutubeDL documentation...

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

Posted: 12 Sep 2019 17:47
by Lotesdelere
Haven't you read the content of the page you have posted ?

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

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

Posted: 13 Sep 2019 19:56
by hamza-mostakim
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:

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

Posted: 13 Sep 2019 20:50
by mederi
"youtube-dl.exe" from https://youtube-dl.org/
The pipe does not work on Windows, does it?

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

Posted: 13 Sep 2019 21:48
by mederi
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

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

Posted: 14 Sep 2019 07:10
by Lotesdelere
Any better than this batch script "youtube-dl.bat"?

Works! Image

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

Posted: 15 Sep 2019 04:44
by hamza-mostakim
Any better than this batch script "youtube-dl.bat"?

Works! Image
please tell me what works ?? :cry: :cry: :cry:

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

Posted: 15 Sep 2019 05:04
by hamza-mostakim
are you can play this like :

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

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

Posted: 15 Sep 2019 21:10
by mederi
It is youtube-dl, it is not ok-dl.

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

Posted: 16 Sep 2019 10:17
by hamza-mostakim
It is youtube-dl, it is not ok-dl.
so you're play just like of YouTube ?? :cry:

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

Posted: 14 Aug 2023 14:24
by Lucas Zxc
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

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

Posted: 15 Aug 2023 11:24
by Lotesdelere
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.

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

Posted: 15 Aug 2023 16:48
by Rémi Denis-Courmont
Actually Youtube-DL is updated back again, though it fell way behind YT-DLP technically in the mean time.