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
  Hardware Status Monitoring? Leapo 7 4,614 03-15-2020, 08:44 AM
Last Post: bendem
Sad HDMI doesn't work on rock64 rock7 0 317 12-16-2019, 01:04 PM
Last Post: rock7
Bug mpph264enc output doesn't work on bionic rompelstompel 11 2,822 11-15-2019, 10:00 AM
Last Post: gounthar
  hardware-accelerated video transcoding (Plex) on Rock64 mdr 2 1,855 02-07-2019, 03:42 PM
Last Post: mdr
  Cannot make DAC Add-on Board work under debian szclsya 0 223 09-29-2018, 12:57 AM
Last Post: szclsya
  How to do hardware decoding of video? SuperSaiyanCaleb 9 3,916 08-28-2018, 01:39 PM
Last Post: mcerveny
  If installing free software system which devices will not work? heocb 6 613 08-17-2018, 09:42 AM
Last Post: heocb
  Smooth UHD / 4K h264 playback with mpv danboid 7 1,346 07-24-2018, 11:41 PM
Last Post: danboid
  Write SPI Flash don't work djukonline 19 2,928 05-05-2018, 11:58 PM
Last Post: t4_4t
  Does AP w/ hostapd with official wifi dongle work? Arsiesys 5 1,538 01-17-2018, 04:03 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)