I bought a small USB 3 camera for my NDVI project:
https://www.amazon.de/dp/B07KMW5TRS/ref=pe_3044161_185740101_TE_item
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw, framerate=60/1, width=1280, height=720 ! nvvidconv ! nv3dsink
With this pipeline the camera works with the resolution of 1280x720, but not with 1920x1080. It freezes after one frame or so.
v4l2-ctl --list-formats-ext -d /dev/video0
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)
Index : 1
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)
My questions are:
what can I change to get 1920x1080 up and running?
how can I use the MJPG format?
how can I choose Index 0 or 1?
Thank you in advance,
Best regards,
Wilhelm