I am using an i.MX8M Plus custom board. I have a requirement to read a video that is already present in my rootfs folder and create frames from that video.
i am using 0v5640 camera on both boards(custom and evk).
I built the imx-image-full image, which includes all libraries and packages.
On the i.MX8M Plus LPDDR4 EVK, my application runs properly and creates the frames.
On the i.MX8M Plus custom board, I encounter the following error messages:
[ 335.510360] e00000001 got error -2
[ WARN:0@8.573] global cap_gstreamer.cpp:2784 handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2h264dec0 reported: Could not read from resource.
[ WARN:0@8.578] global cap_gstreamer.cpp:1679 open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0@8.578] global cap_gstreamer.cpp:1164 isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline has not been created
[ WARN:0@8.812] global cap_gstreamer.cpp:2563 open OpenCV | GStreamer warning: cannot link elements
Why is this happening? Could anyone please help me out?
If anyone has suggestions on approaches to resolve this issue, please let me know. I have also attached the application.
Thanks&Regards
Srinivas
Hello,
Since it works on EVK, I guess this can be due to a bad image building per the error it looks like you don't have openCV, or you are not able to read the camera.
Regards