h264 hardware encoding on Pinephone?
#1
Hi

Is h264 hardware encoding available on the pinephone? I looked at the status of Cedrus driver and it seems to me that only hardware decoding is working not encoding.


Am I wrong?

Thanks
  Reply
#2
The A64 CPU will for sure allow for H264/H265 encoding and decoding, so it's just kernel support...

I spent a while checking out Mali 400 kernel driver support, but I am not sure the Mali 400 even handles the encoding/decoding - this may actually be something done by some other part of the A64 - i.e. in the video engine: https://www.cnx-software.com/wp-content/...iagram.jpg

If the support matrix in project Cedrus is anything to go by, it seems only partial support is achieved: https://linux-sunxi.org/Cedrus#Supported_codec_matrix

It seems like the work has been left in a nice place to pick up from though.
  Reply
#3
(02-13-2021, 05:13 PM)barray Wrote: The A64 CPU will for sure allow for H264/H265 encoding and decoding, so it's just kernel support...

I spent a while checking out Mali 400 kernel driver support, but I am not sure the Mali 400 even handles the encoding/decoding - this may actually be something done by some other part of the A64 - i.e. in the video engine: https://www.cnx-software.com/wp-content/...iagram.jpg

If the support matrix in project Cedrus is anything to go by, it seems only partial support is achieved: https://linux-sunxi.org/Cedrus#Supported_codec_matrix

It seems like the work has been left in a nice place to pick up from though.

Yes, it's what I noticed also, there was quite some work on this but things like h264 encoding or more features for the h264 decoding were not implemented.

Anyone is working on this? If all Pinephone owners would crowdfound these features it would be nice I think.
  Reply
#4
(02-14-2021, 02:25 PM)vongillus Wrote:
(02-13-2021, 05:13 PM)barray Wrote: The A64 CPU will for sure allow for H264/H265 encoding and decoding, so it's just kernel support...

I spent a while checking out Mali 400 kernel driver support, but I am not sure the Mali 400 even handles the encoding/decoding - this may actually be something done by some other part of the A64 - i.e. in the video engine: https://www.cnx-software.com/wp-content/...iagram.jpg

If the support matrix in project Cedrus is anything to go by, it seems only partial support is achieved: https://linux-sunxi.org/Cedrus#Supported_codec_matrix

It seems like the work has been left in a nice place to pick up from though.

Yes, it's what I noticed also, there was quite some work on this but things like h264 encoding or more features for the h264 decoding were not implemented.

Anyone is working on this? If all Pinephone owners would crowdfound these features it would be nice I think.

Not just PinePhone, but also PinkBook (not PineBook Pro) and PineTab use the A64 - which seems really only half implemented in terms of silicon support. If anything ever becomes of the PineCom, the expected processor to use would be the A64.

I really wonder what is involved in such an engineering effort and how it could be possible for people to pick up from where they left off? The boards for testing on seem pretty cheap anyway... https://pine64.com/product/pine-a64-1gb-...46c16e2e66

If I could find out exactly where the current code is and how to work on it, could make for an interesting project.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  The Pinephone pro does not turn on and installation of the OS Alexander27 1 60 09-25-2023, 02:34 PM
Last Post: Kevin Kofler
  new pinephone regular model with nano-sim slot zetabeta 0 77 09-24-2023, 12:25 AM
Last Post: zetabeta
  Are you using the Pinephone as your daily driver? jro 152 87,982 08-31-2023, 04:32 PM
Last Post: TRS-80
Photo PinePhone. How to run Python/Tkinter app? Manieck71 3 311 08-24-2023, 09:13 AM
Last Post: Manieck71
  Pinephone won't boot. spha 12 705 08-20-2023, 02:44 AM
Last Post: spha
  pinephone texting ability goes in an out jyoung 0 277 08-05-2023, 10:15 PM
Last Post: jyoung
  Pinephone Csanderson0313 2 464 07-25-2023, 10:13 AM
Last Post: zetabeta
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 13 13,909 07-17-2023, 01:40 AM
Last Post: rockjonn
  pinephone no longer receiving calls or texts jyoung 3 955 07-16-2023, 10:05 PM
Last Post: jyoung
  Temporary fix for Modem Not Coming Back on in SXMO Postmarketos Pinephone kebab 2 1,492 07-16-2023, 11:14 AM
Last Post: kebab

Forum Jump:


Users browsing this thread: 1 Guest(s)