Open JustAnEric opened 11 months ago
Yeah - as far as I can tell google deliberately throttles the stream s.t. it underruns and dies (VLC isn't a browser that can display ads). I recommend that you download the stream using something like yt-dlp and then play that with VLC.
@jc-kynesim Alright, thanks! I will definitely try that out. But I think yt-dlp even died from YouTube throttling, as last time I tried downloading a video from YouTube, it failed with an uploader-id error.
Edit: looks like it is so.
This is not a bug. Youtube itself blocks any third party requests coming from apps other than its own official app for playback and basically just limits the throughput to those ip addresses which ends up in buffering issues. There are some tricks that people came up with to get around it but it is cumbersome. So vlc for youtube not recommended.
@sudo-splinter-cell And it is really annoying that YouTube does this.
Kodi's youtube addon works without buffering (it uses some of the tricks to avoid throttling).
@popcornmix It uses an API key.
I suggest Freetube.
This is what i use to play youtube videos on my Pi-5. It works perfectly. And you can subscribe to channels and even backup your subscriptions, indepentend from the Youtube api. Don't even need a google account.
@sudo-splinter-cell Yeah I tried FreeTube. But I tried it on my Raspberry Pi 4. It keeps buffering at 720p and higher.
@sudo-splinter-cell Yeah I tried FreeTube. But I tried it on my Raspberry Pi 4. It keeps buffering at 720p and higher.
On RPI-4, you need to select "legacy codecs" in player settings because rpi 4 is not powerful enough for dash format. 60fps videos will suffer. If you upgrade to Rpi 5, you can go with dash 1080 and even 60fps.
@sudo-splinter-cell Where can I find the Player Settings for FreeTube?
@sudo-splinter-cell Where can I find the Player Settings for FreeTube?
Seriously? There is a button on the left column with "settings" written on it.
VLC log:
I am on the latest version of VLC, and trying to play a 1080p (HD) video from YouTube. The main error codes when VLC freezes are
0000007f98006050
and0000007f8c627430
and0000007f8c627430