Gstreamer and openCV optimization

Hi.
I’m using Jetson TX2i flashed with 3.3 Jetpack. It is installed on an elroy carrier board.
I’m looking for a way to optimize the simple gstreamer pipeline I’m using:
gst-launch-1.0 -v v4l2src device="/dev/video7" ! “video/x-raw, width=640, height=480, format=(string)I420” ! xvimagesink (or appsink in opencv).

I know that v4l2src is supposed to be used with USB cameras. I also saw a nvcamerasrc pipeline used with MIPI cameras.
I’m however connecting my cameras to the board through PCI and framegrabbers.
Is there a way to utilize Jetsons special abilities in regards to video with the source being this?

Thanks in advance.

Hi weronikja,
We suggest you make your cameras as a v4l2 source. And your pipeline is with best performance when linking to opencv:

gst-launch-1.0 -v v4l2src device="/dev/video7" ! "video/x-raw, width=640, height=480, format=(string)I420" ! appsink