I can confirm on the v1.5.3 gentoo-on-rpi-64bit
image, on an RPi4B with the GPU memory set at e.g. 128MiB (the shipped default
), then H264 shows as enabled:
Also, if you run Applications -> Settings -> RPi Config Tool, and hover over the GPU memory dropdown menu, the tooltip help will tell you that you need at least 96MiB allocated for the codecs to run correctly.
Code: Select all
demouser@pi64 ~ $ vcgencmd codec_enabled H264
Since this release has 6by9's 64-bit MMAL pointer-wrangling PR#586
included, you should be able to use both
V4L2 M2M and MMAL routes to access the H264 codec (aiui; the v1.5.3 release contains a patched ffmpeg with MMAL and V4L2 M2M support).
See for example my notes here
Also, although the Gentoo image does not support use of the h/w video codecs in Firefox or Chromium yet (should be possible in the latter, but requires use of their "ozone" abstraction layer, and I haven't got round to unpicking that...
), it is possible via e.g. Applications -> Multimedia -> SMPlayer, as this does
have the necessary 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:
Please see my post here
for further details.