Hi,
I'm using iMX6S and OV5645 camera and I trying to record dual video with HD resolution but I got this error:
ERROR: from element /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0: Internal data flow error.
Additional debug info:
/home/pico/workspace2/yocto/yocto_2.0_tn/build-x11-fairy/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.6.0-r0/gstreamer-1.6.0/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstImxV4l2Src:imxv4l2src0:
streaming task paused, reason not-negotiated (-4)
After that, I reduce resolution is just 640x480 and it's working good. What is the reason for this case ? And How can I fix it ?
Thank you so much,
Toan
Solved! Go to Solution.
Hi Toan
reason may be insufficent memory bandwidth, one can test it with:
IMX6 Memory Bandwidth Usage | iMX6 Board Memory
mmdc\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you so much for your response !
Hi Toan
reason may be insufficent memory bandwidth, one can test it with:
IMX6 Memory Bandwidth Usage | iMX6 Board Memory
mmdc\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you for your supply. It's a good tool to check VPU. I modify my code and finally, I can do it. But When I check FPS is decrease from 15 to 6. My setup is 15. And I also check VPU usage and here:
i.MX6DL detected.
MMDC VPUMMDC new Profiling results:
***********************
Measure time: 500ms
Total cycles count: 198030942
Busy cycles count: 119997582
Read accesses count: 528408
Write accesses count: 282512
Read bytes count: 15751008
Write bytes count: 5832608
Avg. Read burst size: 29
Avg. Write burst size: 20
Read: 30.04 MB/s / Write: 11.12 MB/s Total: 41.17 MB/s
Utilization: 2%
Overall Bus Load: 60%
Bytes Access: 26
Overall bus is only 60% and FPS is 6. Why bus isn't increase more ? I don't understand.
one can check below thread shedding some light on vpu performance requirements