This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I encountered a strange problem while using the AM6254. When using the OV5640 CSI camera and previewing the camera image with the gstreamer command, after using it for more than 2 days, the following situations occurred:
There was one instance where it hung for 3 days. The gstreamer command suddenly stopped displaying the time, and the camera preview image also suddenly stopped. After the interruption, checking the dmesg logs revealed no prints or any log information related to the CSI camera.
The command is " gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 ! video/x-raw,format=YUY2,width=640,height=480,framerate=30/1 ! waylandsink ".
There were multiple instances where I used my own Qt program with the QtMultimedia library to call the CSI camera preview. In this case, the camera image would become laggy, and after running for 3 or 4 days, the camera preview image would suddenly disappear.
Every time the above problems occurred, I could manually resume the camera preview by using the gstreamer command after the interruption. Neither the command nor Qt printed any information after the crash, which is confusing to me. It is worth mentioning that I am currently using the 9.0 SDK. I hope to receive some assistance, and I thank you in advance.
只运行gst-launch命令也能复现问题对吗?
没有log的话debug比较困难,可以参考一下命令的man page 加上如 -vvvv 增加debug级别,同时也请检查内核的debug level,看是否是最详细级别。
https://gstreamer.freedesktop.org/documentation/tools/gst-launch.html?gi-language=c
另外看起来问题比较难复现,可以考虑多加几台机器一起测,增加几个变量看能否增加复现的概率