WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: VLC is not working  (Read 36925 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: VLC is not working
« Reply #30 on: February 19, 2020, 07:34:27 AM »
I'd say the problem lies here:
Code: [Select]
gnutls debug: loaded 270 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: Success.
gnutls debug:  - safe renegotiation (RFC5746) enabled
gnutls debug:  - extended master secret (RFC7627) enabled
gnutls debug:  - false start (RFC7918) enabled
...
access error: HTTP connection failure
main debug: no access modules matched

There are quite a few search hits for gnutls handshake problems with vlc

There is also the possibility of a vlc vpx problem (as per linuxfromscratch)

Are you sure the url is in the correct format (totem will not play it)?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: VLC is not working
« Reply #31 on: February 20, 2020, 06:38:28 AM »
It seems vlc-3.0.8 not playing youtube videos is a known issue - there is a suggestion to use this:
Code: [Select]
curl -L https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua > youtube.lua
instead of youtube.luac, but it doesn't work for me

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: VLC is not working
« Reply #32 on: February 20, 2020, 07:32:02 AM »
a long time ago
YouTube has turned off this API feature
no longer provides this service.

Ah - the problem seems to have been a missing dep - libzstd added
That solved problem. Now I want to watch YouTube video using YouTube url and get:
Code: [Select]
[0000000000e30430] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
qt.qpa.xcb: failed to initialize XRandr
qt.qpa.xcb: XKeyboard extension not present on the X server
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-tc'
[0000000000e8f620] qt interface error: Unable to load extensions module
qt.qpa.xcb: xcb_shm_create_segment() failed for size 1296
qt.qpa.xcb: xcb_shm_create_segment() failed for size 1008000
qt.qpa.xcb: xcb_shm_create_segment() failed for size 466620
qt.qpa.xcb: xcb_shm_create_segment() failed for size 852120
[00007f4e44001160] mjpeg demux error: cannot peek

Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 401
Re: VLC is not working
« Reply #33 on: February 20, 2020, 10:25:46 AM »
YouTube API is changing all the time, but youtube-dl is always updated.
https://www.reddit.com/r/VLC/comments/eps9bf/youtube_videos_do_not_play_308_vetinari/