Hi,
I have a problem encoding a YUV420 frame to MJPEG and I need some help. Each time I try to encode this specific frame VPU hangs, but it works correctly with any other frames. I have found that issue encoding frames 2592x1944 obtained from a ov5640_camera, it works always without any problem but, occasionally, it comes a frame that cause that.
What could be the problem? Could VPU firmware or libvpu have a bug that cause it?
I have followed each VPU timeout issue in README file (GitHub - Freescale/libimxvpuapi: i.MX VPU API Library), but all is well configured and VPU works fine
I'm using a imx6q board with VPU firmware 3.1.1 and libvpu 5.4.32.
I have attached YUV420 binary data, could someone check it (it appears even with libimxvpuapi sample application jpeg-enc-example.c)?
thank you for the attention,
best regards
Andrea Di Chiara
Original Attachment has been moved to: img.zip
Hi Andrea
please check
https://community.nxp.com/thread/349952
as answered, "libimxvpuapi, it was developed by third-party.."
and question may be posted on meta-fsl-arm mailing list, so that someone
familiar with it could try to assist you.
https://lists.yoctoproject.org/listinfo/meta-freescale
Alternatively one can try nxp bsps described on below link
and check sect.7.3.3 Video encoding attached Linux Guide
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
searching through your suggested thread I find out that my problem was simply an encoding buffer size too small.
thank you for your hints
regards
Andrea