Stitched together a small (µ) video player using #gstreamer and #gtk4 to test accelerated #h264 video decoding on the #librem5 using it's #hantro VPU. It gets along with 20% CPU usage when rendering the 15 Mbps jellyfish demo to a #GdkPaintable which is twice as much as the raw `gst-launch-1.0` pipeline (https://social.librem.one/web/statuses/105799071793016596) but not too bad. It also suspends rendering on screen blank and prevent screen lock during playback so just enough for 'on the road battery drain testing'.
Guido Günther (@[email protected])

Attached: 1 image This is the jellyfish h264 demo on a #librem5 using the #imx8mq's #hantro VPU. Using the CPU we take 300% of CPU time, using the VPU instead we take 10% (and even that can be optimized further). Using the VPU also saves ~1.5W of power. Thanks go to the #gstreamer and #linux kernel folks for making this possible!