I'd say the problem lies here: 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)?