I tried running the imx6 vpu library code got from net @ https://github.com/ahmedammar/imx-testing-apps-misc/blob/master/libvpu_encode.c
From the prints I see that first I frame seems to be of size ~ 14K and successive P frames are of size ~15K. Is this possible?
It seems there is some issue. Is the vpu lib usage wrong or the library itself is problematic? Can anyone please help?
已解决! 转到解答。
Hi,
I resolved the issue by allocating more frame buffers and sub-sampling buffers with proper frame indexes to VPU library. I got this fix from another librray "libvpuwrapper" which is a wrapper over Freescale VPU library.
Thanks,
Pradeep
Hi,
I am using the vpu library path mentioned by you only. What I meant was that from the above link I got source code for an application which uses the vpu librray APIs for H264 encode. With that I am seeing the issue.
Pradeep
Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.
Thanks,
Yixing
Hi,
I resolved the issue by allocating more frame buffers and sub-sampling buffers with proper frame indexes to VPU library. I got this fix from another librray "libvpuwrapper" which is a wrapper over Freescale VPU library.
Thanks,
Pradeep