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
  UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) megous 179 147,795 2 hours ago
Last Post: Peter Gamma
  SELLING: Pinephone 3GB RAM 32GB ROM gerstavros 5 257 05-09-2022, 05:53 AM
Last Post: gerstavros
Star Pinephone user experience - Possibly compromised by commercial & state-based hackers? danimations 15 781 05-07-2022, 06:54 PM
Last Post: danimations
  PinePhone is not a daily driver FOSSagent0 18 7,546 05-06-2022, 12:08 PM
Last Post: FOSSagent0
  List of Pinephone browsers Gamey 17 7,834 05-05-2022, 06:37 AM
Last Post: allworlds
  Sold my Pinephone Frankie 2 248 05-05-2022, 06:32 AM
Last Post: allworlds
  Pinephone 64 Issues of a new user US Notheast as of April 2022 scrwbigtek 9 524 05-03-2022, 04:18 PM
Last Post: scrwbigtek
  PinePhone Game Thread PixelPaintbrush 28 20,291 04-27-2022, 01:41 PM
Last Post: TheBlindEarthican
  PinePhone won't boot, no LED, nothing. Anthragon 2 200 04-23-2022, 02:31 AM
Last Post: fxc
  How can I record video on a Pinephone? kk22 0 163 04-22-2022, 07:01 PM
Last Post: kk22

Forum Jump:


Users browsing this thread: 1 Guest(s)