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
  eSIM on PinePhone just_a_q 8 4,692 11-05-2024, 11:10 AM
Last Post: zetabeta
  Want to buy second hand PinePhone 3G version rudi.timmermans 0 175 11-01-2024, 09:58 AM
Last Post: rudi.timmermans
  Can use PlayStation on Pinephone? willharper 6 5,681 10-30-2024, 08:07 AM
Last Post: biketool
  Ordered PinePhone till today have no info or confirmation about order hennadiyt 1 363 10-05-2024, 02:20 PM
Last Post: KC9UDX
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 11 5,766 07-28-2024, 03:42 PM
Last Post: dchang0
  How can I record video on a Pinephone? kk22 18 7,212 07-22-2024, 05:18 PM
Last Post: baptx
  Pinephone not booting, always vibrating alexander12 8 6,885 07-19-2024, 07:50 PM
Last Post: Blackheart
  PinePhone Pro P. Siera 2 828 07-17-2024, 12:41 AM
Last Post: P. Siera
  PinePhone Boots but only Shows Black Screen with Backlight danyeaw 1 690 06-30-2024, 10:18 AM
Last Post: danyeaw
  Pinephone won't boot. spha 13 5,902 05-15-2024, 10:31 PM
Last Post: Richy_T

Forum Jump:


Users browsing this thread: 1 Guest(s)