PINE64

Full Version: H264 hardware encoder not work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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.
OH!
Thanks a lot!
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.