Unable to read image frames using gstreamer in Opencv for yocto linux image

I am trying to read image frames from on board camera using gstreamer in Opencv. But I am unable to read the frames.

Error: objVideocature.isOpened always returns 0.

What could be the issue?
When we install Opencv on our system , we do cmake, which list all packages found in the system, and along with those packages Opencv is going to compile and build.
Can we do similar process to check those list of packages for Opencv which is going to build for my Linux image ?
Thanks

Do you use a Toradex module? If yes, what is the module and BSP version? If you are using Renesas as per your earlier post, please contact Renesas.