VLC play Youtube link

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.
zhuhaixiong
New Cone
New Cone
Posts: 1
Joined: 09 Oct 2019 04:08

VLC play Youtube link

Postby zhuhaixiong » 09 Oct 2019 04:53

I am newer to VLC and i want to use VLC to paly youtube online video,after i copy the link to VLC network stream a few time,an error occurs.i searched solutions to this issue,and replaced the youtube.luac file by [url]https://github.com/videolan/vlc/blob/master/share/lua/playlist/youtube.lua[/url], and try to open debug when play the youtube link,after a few time it failed and the log file shows:
main debug: `https://www.youtube.com/watch?v=2Xf5ooQIvo0' gives access `https' demux `any' path `www.youtube.com/watch?v=2Xf5ooQIvo0'

lua debug: Trying Lua scripts in C:\Users\leslie\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in D:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script D:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
main debug: looking for tls client module matching "any": 1 candidates
lua debug: skipping script (unmatched scope) D:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script D:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) D:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script D:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) D:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script D:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) D:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
gnutls debug: using GnuTLS version 3.5.19
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\leslie\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in D:\Program Files\VideoLAN\VLC\lua\meta\fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\leslie\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in D:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script D:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script D:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script D:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script D:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
gnutls debug: loaded 57 trusted CAs from system
main debug: using tls client module "gnutls"
main debug: resolving www.youtube.com ...
qt debug: IM: Setting an input
gnutls debug: TLS handshake: Error in the push function.
gnutls debug: Winsock error 0
gnutls error: TLS handshake error: Error in the push function.
main error: TLS session handshake error
main error: connection error: Connection timed out
gnutls debug: TLS handshake: Error in the push function.
gnutls debug: Winsock error 0
gnutls error: TLS handshake error: Error in the push function.
main error: TLS session handshake error
main error: connection error: Connection timed out
gnutls debug: TLS handshake: Error in the push function.
gnutls debug: Winsock error 0
gnutls error: TLS handshake error: Error in the push function.
main error: TLS session handshake error
main error: connection error: Connection timed out
gnutls debug: TLS handshake: Error in the push function.
gnutls debug: Winsock error 0
gnutls error: TLS handshake error: Error in the push function.
main error: TLS session handshake error
main error: connection error: Connection timed out
gnutls debug: TLS handshake: Error in the push function.
gnutls debug: Winsock error 0
gnutls error: TLS handshake error: Error in the push function.
main error: TLS session handshake error
main error: connection error: Connection timed out
access error: HTTP connection failure
main debug: no access modules matched
main debug: dead input
qt debug: IM: Deleting the input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
the error seems to be the network and i also turn off the firewall on my win10 machine,it still failed to play.anyone who met this mistake?
by the way i can play youtube video on chrome and potplayer

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: VLC play Youtube link

Postby unidan » 09 Oct 2019 10:32

Hi, maybe youtube changed their privateAPI again.

We might need to write a youtube-dl plugin someday to have a more stable solution.

frannie
Blank Cone
Blank Cone
Posts: 18
Joined: 17 Jul 2019 08:37

Re: VLC play Youtube link

Postby frannie » 31 Oct 2019 19:22

@unidan
maybe youtube changed their privateAPI again
Hardly. I got vlc 3.0.8 @ macOS playing YouTube without problems (after updating youtube.luac file), and the same vlc 3.0.8 on Lubuntu (also, after updating to the same youtube.luac) failing to do this.

Something's interesting going on here :)

jayR
Cone that earned his stripes
Cone that earned his stripes
Posts: 330
Joined: 21 Feb 2016 08:57

Re: VLC play Youtube link

Postby jayR » 01 Nov 2019 21:11

On Windows, I don't have problems playing YouTube video. You may need to reinstall.

rfrazier
Blank Cone
Blank Cone
Posts: 12
Joined: 09 Nov 2019 01:44

Re: VLC play Youtube link

Postby rfrazier » 10 Nov 2019 04:17

Hello,

I recently posted a 2 part procedure to get vlc to play youtube videos in hi def if available. It's a bit convoluted but maybe it will help.

Link to pt 1

https://forum.videolan.org/viewtopic.php?f=2&t=150085#p497567

Link to pt 2

https://forum.videolan.org/viewtopic.php?f=2&t=150085#p497568

Ron


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 23 guests