I’ll post it soon.
Can you point me to libcamera GPU stuff? [edit] OK, found it at Making sure you're not a bot! - it still seems very basic though, so perhaps my code will end up being useful to someone
I’ll post it soon.
Can you point me to libcamera GPU stuff? [edit] OK, found it at Making sure you're not a bot! - it still seems very basic though, so perhaps my code will end up being useful to someone
Yes, exactly the same link! There are a lot of useful stuff inside to check a code performance.
By the way, we could save videostream into mpeg2 to save resources and convert it later into mpeg4 until we have no hardware encoding support.
We won’t have hardware encoding support because there’s no hardware encoder, only decoders.
Right now the bottleneck in enabling higher resolution is in the shader, so switching to MPEG2 won’t help. What could be more interesting is how it would compare in quality/size to x264’s ultrafast preset.
I dont care the popularity of h.264, i strong prefer vp9 video encoder for Librem 5 even on 480p Rec.
As librem 5 ship the_Trojan_Horse Cortex-A53 CPU, this has 2 hardware Accelerator, NEON and VFPv4 this both are from 2012_like so at the moment libs like Libvpx has strong vp9 enc accel by using this both accelerators.
Gnu Dawn ship libvpx v1.15 which achieves all neon,fpu acceleration or Gnu Crimson Backports to reach v1.15
So IMHO i could say yes we have Hardware Video Enc at the moment, not like a VPU level but decent via NEON,FPU, but before enable this neon, fpu video encoders we need gles3.0 as gtk have terrible gl accel.
So in resume in order to get the best balance, 480P it good by default.
I just saying…in love for Librem 5.
Edit: FPU version 4 as Librem 5 shipping is ready for video encoder synergistically with NEON.
Did you mean libvpx v1.15
?
Yes v1.15. thanks i will fix it.
Sounds really nice!
So, if you are ready to test this lib, I will try to add them into Crimson backports
right now!
As Libvpx is easy for install, is not required in backport now for testing. However for GeneralAvailabilty yes we need it on backports.
@galilley
One of the feature WIP in FFMPEG is that it will prefer VPU Hardware Acceleration if available even if the Client is not requesting hard accel… as Millipixels it using FFMPEG for transcoding the video then in order to upgrade libvpx it will needed to upgrade ffmpeg in oder to archive all acceleration as ffmpeg itself also it using neon for Libav.
I know this wip ffmpeg feature is not for librem 5 for encoder video as librem 5 as lack vpu enc, however librem 5 have vpu dec, which will benefit from the wip features of ffmpeg.