VPU hangs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VPU hangs

829 Views
adc1
Contributor IV

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

Labels (3)
Tags (2)
0 Kudos
2 Replies

578 Views
igorpadykov
NXP Employee
NXP Employee

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

http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i....

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

578 Views
adc1
Contributor IV

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

0 Kudos