Jump to content

Recommended Posts

Posted (edited)

Hello!

 

I am trying to get the cedar_ve device working for OPIZ2W. 

 

I am currently running this image: Orangepizero2w_1.0.4_ubuntu_noble_server_linux6.1.31

My uname -a:

Linux orangepizero2w 6.1.31-sun50iw9 #1.0.4 SMP Wed Oct 9 13:39:53 CST 2024 aarch64 aarch64 aarch64 GNU/Linux

 

To do this I am trying to follow these steps:

1. Modify a dts for OPIZ2W to include cedar_ve.

2. Donwloan cedrus driver and build it.

3. Compile modified ffmpeg with x264cedrus support

 

Have anyone tried this? I have only found builds for recent kernel for the H3 CPU, none for the H618.

 

I am looking for a DTS that supports cedar_ve for Orange Pi Zero 2W or any other things that can point me in the right direction.

Edited by jwalds
Posted (edited)

Have you ever seen the OPIZ2w (or OPIZ3) doing HW video encoding in another Linux?

 

Where did you find this cedrus driver? What does the website claim it can do?

 

Where did your OS image come from?

 

What DTS modifications did you mean? Why not just a DTS overlay?

Edited by robertoj
Posted

Hi Jwalds,

 

It's definitely possible as there is Hardware support for it however the software support does not currently exist within the current Cedrus driver. To the best of my knowledge there is currently no mainline video encoding support for any Allwinner SOC. There are problem some efforts to get it working though, one such is: https://bootlin.com/blog/open-source-linux-kernel-support-for-the-allwinner-v3-v3s-s3-h-264-video-encoder/ while target at the V3 it should set the groundwork for getting encoding supported on other Allwinner SOCs. If there is already some form of decoding support then there should already be the video engine / video codec engine node within the main H616 dts. While I prefer overlays there are certain limits meaning it has to been integrated into the main dts rather than via an overlay. Found this out recently myself when exploring G2D hardware block present in some Allwinner SOCs.

 

Best of luck

 

Ryzer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines