Closed wof2 closed 4 years ago
Hi @wof2,
unfortunately, although the image now supports access to the RPi's built-in h/w video codecs via both V4L2-M2M and MMAL endpoints (and ships with a custom version of ffmpeg that can utilise both), neither firefox
nor chromium
currently exploit these out of the box (see e.g. this post and this thread), although I think Raspbian's 32-bit custom Chromium build can use MMAL codecs, so it may be possible to adopt some of their patches (not something I've looked at yet). PRs on this topic welcome!
Hint: one thing you can do is to play youtube videos using Applications→Multimedia→SMPlayer, as this has got acceleration enabled. In this app, you can specify the default quality you want via Options→Preferences, Network (left tab), and open streams via Open→URL... (just paste in the youtube URL you want to watch).
On my RPi4B (4GB), with a fast IP connection, this plays back 1080p videos smoothly; for instance:
If you like this route, you can also install media-video/smtube
as a front end:
demouser@pi64 ~ $ sudo emaint sync --repo genpi64
demouser@pi64 ~ $ sudo emerge -v media-video/smtube
Once built, this YouTube browser front-end can be launched by pressing F11 from within SMPlayer.
hth, sakaki
Closing now - please re-open if any issues with the SMPlayer solution above.
Thanks, sakaki
Hi, first of all thanks for a hell of a job :) I'm running Gentoo v1.5.3 on RPI4. I've tried watching 1080p videos on youtube via Chromium and Firefox. The videos are unwatchable - stuttering and CPUs are @ 100%. Is this expected behavior? Shouldn't there be a hardware acceleration running?
PS. Glxgears scores around 500fps.