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!
@leimon yes, that's why i wanted to get this going with #gstreamer since that's the framwork used by #epiphany/#firefox for video playback.
@agx So this means watching videos will drain less battery?
@iooioio ...yes, and be smoother (for h264 atm)
@agx Awesome! Which changes were required to make this happen? Did both gstreamer and the kernel require patches? And when is this landing for librem5 owners?
Sorry for all the questions. Guess I'm just excited.
@iooioio track https://source.puri.sm/Librem5/linux-next/-/merge_requests/328 which will gather the details (or references to those)
@agx Woohoo! gstreamer 1.18 or git?
@kvuj currently git plus patches
Thank you for your constant nice work to L5!
@agx, I hope that this means that we will soon have H.265 decoding soon as well:
@amosbatto at some point yes, but afaik #gstreamer devs are still working on support for that (but they merged Ezequiel Garcia #h264 changes today so it will be part of future gstreamer releases, yay!)
@agx WOW, 1.5W is a bit on difference on a battery-powered device!. Looking forward to watch jellyfish on mine.
Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.
Stay safe. Please abide by our code of conduct.
@agx Does this VPU capability work within epiphany/firefox for streaming videos?