-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VLC on the Raspberry Pi 4 (64-bit) playing YouTube freezes and buffers after 1-7s with an ffmpeg error. #96
Comments
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. |
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. |
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? |
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
The text was updated successfully, but these errors were encountered: