H264 hardware encoder not work
#1
We plan to use the Rock64 to create a video conference device on linux, so we need to enable RK3328 h264 encode/decode hardware acceleration. 

I have tested the h264 decoding, it is ok. But for h264 encoding, it is not work. The output h264 data of mpp / mpi_enc_test program are all zero.

Has anybody tried the h264 encoding in Rock64?

Thanks
  Reply
#2
(08-23-2017, 10:31 PM)sueshieh Wrote: We plan to use the Rock64 to create a video conference device on linux, so we need to enable RK3328 h264 encode/decode hardware acceleration. 

I have tested the h264 decoding, it is ok. But for h264 encoding, it is not work. The output h264 data of mpp / mpi_enc_test program are all zero.

Has anybody tried the h264 encoding in Rock64?

Thanks

https://forum.pine64.org/showthread.php?tid=4951 which in turn links to http://opensource.rock-chips.com/wiki_St...tus_Matrix indicates that encoding is incomplete/WIP.
  Reply
#3
OH!
Thanks a lot!
  Reply
#4
Until now, the hardware encode still has not worked.
I think it has some bug with kernel.
In kernel code, they use u32 variables to call ioctl command, that variables have 32 bit size but mpp use unsigned long variables (which are 64 bit size) to call ioctl, in the fact that we must use unsigned int (which have 32 bit).
But when I change these variables in mpp, kernel has recognized command but it has started hang.
Maybe we need to wait until they fix this thing.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 v2 - did not work song / audio sqw200zu 2 1,237 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  HDMI doesn't work on rock64 Noung1991 1 511 11-21-2023, 08:33 AM
Last Post: as365n4
  The state of mainline hardware decoding CounterPillow 17 14,661 01-26-2022, 03:39 PM
Last Post: sigmaris
  Hardware acceleration using FFmpeg gusarg81 0 2,817 08-21-2020, 01:36 PM
Last Post: gusarg81
  Hardware Status Monitoring? Leapo 7 14,891 03-15-2020, 08:44 AM
Last Post: bendem
Sad HDMI doesn't work on rock64 rock7 0 2,752 12-16-2019, 01:04 PM
Last Post: rock7
Bug mpph264enc output doesn't work on bionic rompelstompel 11 16,436 11-15-2019, 10:00 AM
Last Post: gounthar
  hardware-accelerated video transcoding (Plex) on Rock64 mdr 2 7,219 02-07-2019, 03:42 PM
Last Post: mdr
  Cannot make DAC Add-on Board work under debian szclsya 0 1,836 09-29-2018, 12:57 AM
Last Post: szclsya
  How to do hardware decoding of video? SuperSaiyanCaleb 9 15,366 08-28-2018, 01:39 PM
Last Post: mcerveny

Forum Jump:


Users browsing this thread: 1 Guest(s)