I’m going to install the nano and two cameras at a multicopter, a vis-camera like the Gopro and a thermal camera, see photo. I will report in jetson projects.
The streaming via two HDMI-USB3 adapters from /dev/video0 and 1 works fine and very fast. However there is a black frame around the thermal image, see the screenshot. I would like remove the boarder and tried to crop the video.
This command line for instance works fine to get the images:
$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,framerate=30/1,width=1280,height=720 ! xvimagesink
This crop test works too:
gst-launch-1.0 -v videotestsrc ! videocrop top=10 left=10 right=10 bottom=10 ! ximagesink
However my video crop does not work.
$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/xraw,framerate=30/1,width=1280,height=720 ! videocrop top=10 left=10 right=10 bottom=10 ! xvimagesink
What is the mistake?
Are there other/better solutions to remove the boarder?
Is nvvidconv a better choise?
The best solution would be a PIP presentation (picture in picture). Does someone have a gstreamer command line for me, which displays two USB cams simultaneously?
Thank you in advance,