Hardware h264 video encoding.
#2
Hardware video encoding for H.264 currently only works using the BSP (downstream) kernel, with the rockchip MPP framework. The mainline Linux kernel, which many (all?) current images use, does not have hardware encoding capabilities for H.264 at this time (only very poor JPEG).

Furthermore, ffmpeg mainline does not appear to have encoding capabilities for the MPP API at this moment.

I am currently not aware of which tools can encode video through MPP, but surely they are out there somewhere bitrotting in a vendor repo. The terms you're searching for are rockchip mpp or rkmpp.

It'd be great to have a v4l2-based encoder for either hantro h.264, or even better, rkvenc, (yes the SoC has two H.264 encoders) in mainline Linux, but sadly nobody has been hired to do that work at the moment, and it'd be a lot of work so not something a volunteer can do on weekends.

Occasional Linux Kernel Contributor, Avid Wiki Updater, Ask Me About Quartz64
Open Hardware Quartz64 Model A TOSLink Adapter
Pi-bus GPIO Extender For ROCKPro64 And Quartz64 Model A
Plebian GNU/Linux
  Reply


Messages In This Thread
Hardware h264 video encoding. - by Randomuser - 07-12-2022, 05:32 PM
RE: Hardware h264 video encoding. - by CounterPillow - 07-13-2022, 02:20 PM
RE: Hardware h264 video encoding. - by balbes150 - 07-14-2022, 12:12 AM
RE: Hardware h264 video encoding. - by Randomuser - 07-15-2022, 04:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Lakka OS for video game emulation FOSSagent0 0 1,180 05-06-2022, 12:05 PM
Last Post: FOSSagent0

Forum Jump:


Users browsing this thread: 1 Guest(s)