Hi, it breaks quite often, each time google makes a change in Youtube. You just have to wait for someone to fix it.
Code: Select all
if not path then
-- If this is a live stream, the URL map will be empty
-- and we get the URL from this field instead
local hlsvp = string.match( line, "&hlsvp=([^&]*)" )
if hlsvp then
hlsvp = vlc.strings.decode_uri( hlsvp )
path = hlsvp
end
end
Code: Select all
www.youtube.com/get_video_info?video_id=6Stj0jKBh8M&el=detail
Code: Select all
errorcode=2&reason=Invalid+parameters.&status=fail
Code: Select all
path = vlc.access.."://www.youtube.com/get_video_info?video_id="..video_id.."&el=detail"..copy_url_param( vlc.path, "fmt" )
Code: Select all
path = vlc.access.."://www.youtube.com/get_video_info?video_id="..video_id.."&el=detailpage"..copy_url_param( vlc.path, "fmt" )
Code: Select all
if not path then
-- If this is a live stream, the URL map will be empty
-- and we get the URL from this field instead
local hlsvp = string.match( line, "&hlsvp=([^&]*)" )
if hlsvp then
hlsvp = vlc.strings.decode_uri( hlsvp )
path = hlsvp
end
end
Code: Select all
local hlsvp = string.match( line, 'hlsManifestUrl.+m3u8' )
if hlsvp then
--hlsvp = vlc.strings.decode_uri( hlsvp )
hlsvp = vlc.strings.decode_uri( hlsvp )
path = hlsvp
path = string.match(path, "https.+m3u8")
end
Hi, this looks like a syntax error, did you modify the lua script ?Im having the same issue ,youtube changes something as It was working and now it does not ,
LOGFILE
"lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube.luac
lua warning: error loading script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube.luac: C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube.luac:1: '=' expected near 'to'
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed "
It still works for me
Code: Select all
main debug: `https://www.youtube.com/watch?v=21X5lGlDOfg' successfully opened
http debug: in DATA (0x00) frame of 16377 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 15367 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 8122 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 241 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16213 bytes, flags 0x00, stream 1
http debug: out (priority) WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 6926 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 11098 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 0 bytes, flags 0x01, stream 1
http debug: stream 1 closed by peer
http debug: in PING (0x06) frame of 8 bytes, flags 0x00, global
http debug: out (priority) PING (0x06) frame of 8 bytes, flags 0x01, global
prefetch debug: end of stream
lua warning: Couldn't extract video URL, falling back to alternate youtube API
lua debug: Path: https://www.youtube.com/get_video_info?video_id=21X5lGlDOfg&el=detailpage
lua debug: Name: NASA Live: Official Stream of NASA TV
lua debug: Artist: NASA
lua debug: Description: Direct from America's space program to YouTube, watch NASA TV live streaming here to get the latest from our exploration of the universe and learn how we discover our home planet.
NASA TV airs a variety of regularly scheduled, pre-recorded educational and public relations programming 24 hours a day on its various channels. The network also provides an array of live programming, such as coverage of missions, events (spacewalks, media interviews, educational broadcasts), press conferences and rocket launches.
In the United States, NASA Television's Public and Media channels are MPEG-2 digital C-band signals carried by QPSK/DVB-S modulation on satellite AMC-3, transponder 15C, at 87 degrees west longitude. Downlink frequency is 4000 MHz, horizontal polarization, with a data rate of 38.86 Mhz, symbol rate of 28.1115 Ms/s, and ¾ FEC. A Digital Video Broadcast (DVB) compliant Integrated Receiver Decoder (IRD) is needed for reception.
lua debug: ArtURL: https://i.ytimg.com/vi/21X5lGlDOfg/maxresdefault_live.jpg
main debug: deleting item `watch?v=21X5lGlDOfg'
main debug: EOF reached
Code: Select all
main debug: `https://www.youtube.com/get_video_info?video_id=21X5lGlDOfg&el=detailpage' successfully opened
http debug: in DATA (0x00) frame of 11378 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 0 bytes, flags 0x01, stream 1
http debug: stream 1 closed by peer
http debug: in PING (0x06) frame of 8 bytes, flags 0x00, global
http debug: out (priority) PING (0x06) frame of 8 bytes, flags 0x01, global
prefetch debug: end of stream
main debug: removing module "prefetch"
main debug: removing module "access"
http debug: local stream 1 shut down
http debug: out RST_STREAM (0x03) frame of 4 bytes, flags 0x00, stream 1
http debug: local shutdown
http debug: out GOAWAY (0x07) frame of 8 bytes, flags 0x00, global
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 16384 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 441 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 232 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 2945 bytes, flags 0x00, stream 1
http debug: in DATA (0x00) frame of 0 bytes, flags 0x01, stream 1
http debug: stream 1 closed by peer
http debug: in PING (0x06) frame of 8 bytes, flags 0x00, global
http debug: out (priority) PING (0x06) frame of 8 bytes, flags 0x01, global
prefetch debug: end of stream
Code: Select all
...
gnutls debug: using GnuTLS version 3.5.19
gnutls debug: loaded 293 trusted CAs from system
main debug: using tls client module "gnutls"
main debug: resolving www.youtube.com ...
gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
gnutls debug: TLS handshake: Resource temporarily unavailable, try again.
gnutls debug: TLS handshake: Success.
gnutls debug: - safe renegotiation (RFC5746) enabled
gnutls debug: - extended master secret (RFC7627) enabled
gnutls debug: - false start (RFC7918) enabled
...
Just letting you guys know.Worked great.
Thank you.
Clay-
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 57 guests