Hi All,
We are using IMX6Q based custom board for our product.
As per our product requirement we need capture video and display it on LCD screen.
Now below is the problem statement.
We have prepare one capture application. This application capture video from CSI0 parallel interface in 8-bit BT.656 (NTSC: 720 X480 UYVY) format and dump captured frame into file.
We have prepare one more display application demo. This application read data from yuv file and display it on LCD screen.
Above both demo applications are working fine separately without any issue.
When we combine this both applications to make capture display demo it is not working and throwing below error.
ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
VIDIOC_DQBUF failed.
NOTE: Above error is not coming when run capture only application. We have run capture display application then only this error is coming.
Are we missing any configuration?
We would like to know whether such ready made demo is available. Currently we are using "mxc_v4l2_tvin.c" application for our reference.
Any help regarding this issue would be appreciated. As we want to demo this usecase for further development it is bit critical for us.
Thanks,
Jemish
Hello,
Please try using Gstreamer.
"i.MX_6_Series_Ubuntu_Multimedia_User's_Guide.pdf" or
"i.MX_Linux_User's_Guide.pdf" provide examples.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
Thanks for your prompt response!
We figure out that it was an application issue . There was no issue from driver.
We choose application reference from below link:
GitHub - rogeriorps/v4l2-examples: V4L2 example codes for i.MX5 and i.MX6 families
From above link we choose "example2" and it is working fine.
We can close this thread now.
Thanks,
Jemish