PINE64
How to get audio & HW encoding working? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineCube (https://forum.pine64.org/forumdisplay.php?fid=149)
+--- Forum: General Discussion on PineCube (https://forum.pine64.org/forumdisplay.php?fid=150)
+--- Thread: How to get audio & HW encoding working? (/showthread.php?tid=13574)



How to get audio & HW encoding working? - hackkitten - 04-06-2021

Hello,

I have been trying to make hardware encoding and audio work on the PineCube under Armbian, but it does not appear that either is supported. For hardware encoding all gstreamer plugins and similar seem to rely on a 'cedarx' device which doesn't exist, and similarly no audio device exists in the tree either, even though the audio codec for the V3/V3s/S3 SoCs is supposed to be supported since kernel 4.12.

Is there a way to make these features work under Armbian, or are there alternatives that may work better?


RE: How to get audio & HW encoding working? - JuanEsf - 04-07-2021

Hello, I am in the same.
to activate audio just add the codec node with h3 compatible, since v3 needs changes (nixos).
regarding video acceleration I am trying with ffmpeg v4l2 request from libreelec


RE: How to get audio & HW encoding working? - hackkitten - 04-08-2021

(04-07-2021, 08:38 AM)JuanEsf Wrote: Hello, I am in the same.
to activate audio just add the codec node with h3 compatible, since v3 needs changes (nixos).
regarding video acceleration I am trying with ffmpeg v4l2 request from libreelec

How does one add a codec node? Thanks!

Looking forward to updates on the video acceleration Smile


RE: How to get audio & HW encoding working? - hackkitten - 06-29-2021

I think it's fair to say that at this point PineCube as a camera is a dead project and S3 as a viable SoC until at some point in the remote future hardware video encoding support gets added by the Linux kernel. The only other realistic option seems to be to use the binary blobs provided by Allwinner and the ancient Linux version this means.

V3/S3 video encoding support is still 'WIP' with no target date/Linux kernel version provided: https://linux-sunxi.org/Linux_mainlining_effort

Time to move on to alternatives, it seems?


RE: How to get audio & HW encoding working? - rollercoaster - 07-08-2021

Has it changed over time? Because 5.11 has been released on february and it got patched to support the Elimo Impetus, which is using the S3 as well.
Armbian itself is still using 5.10 as the kernel version for the buster release and I can't tell if and when they update the kernel, but I'd be glad if an owner could give it a try if hardware acceleration works on 5.11.

EDIT: After digging a little bit, I've learned that this is just a small step forward and doesn't touch the hardware acceleration but ethernet, serial and several device specific additions.
But nonetheless, they seem to be the only devs trying to improve the support of the S3 kernel-wise or not?