Part Number: TDA2EVM5777
Tool/software: Linux
Hello,
I am running PROCESSOR_SDK_VISION_03_1_00_00 Linux and I am trying to use the OpenCV libraries that are pre-installed in the rootfs in my own C++ code application (not within the Vision SDK framework). In my attempt to run cv::VideoCapture capture(rtsp://UserName:Password@ip_address); in my c++ code, I can compile without errors. When running the executable, once I get to the point where I attempt to open the stream, I get these errors:
MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
../git/libdce.c:416: dce_ipc_init ERROR: Failed eError == DCE_EOK error val -4../git/libdce.c:479: Engine_open ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
../git/libdce.c:416: dce_ipc_init ERROR: Failed eError == DCE_EOK error val -4../git/libdce.c:479: Engine_open ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4
I checked the kernel and it looks like I do have RPMSG enabled in the kernel:
root@dra7xx-evm:/tmp# cat config | grep RPMSG
CONFIG_RPMSG=m
CONFIG_RPMSG_RPC=m
CONFIG_RPMSG_PRU=m
- Is there anyway to fix these errors so that I can grab from the rtsp stream?
- Am I using the correct C++ OpenCV call to grab from the rtsp stream?
- Do I have to enable anything in the kernel to use the OpenCV call?
Please let me know if you need anymore information and thank you in advance for your assistance.
Thank you,
-iFer