I’m working with NVidia Jetson Nanos and Xaviers, and I’m finding that the default GStreamer pipeline that
ofVideoGrabber assembles for my Logitech C615 USB camera is not able to deliver the 720p or higher resolution that I need or the frame rate I require. Looking at the output of
gst-device-monitor-1.0 I surmise that since the grabber is using
video/x-raw, my desired settings are not available.
However, if I use
image/jpeg than they are, and indeed this gstreamer command works and gets my fast 1080 video:
gst-launch-1.0 v4l2src device=/dev/video2 ! "image/jpeg,framerate=30/1,width=1920,height=1080" ! jpegparse ! jpegdec ! video/x-raw ! videoconvert ! "video/x-raw,width=1920,height=1080,format=BGRx,framerate=30/1" ! ximagesink sync=false
I’m therefore interested in figuring out how to grab video frames from my camera this way, as opposed to with
Can anyone point me to an example or reference that sheds light on this?