what works:
gst-launch-1.0 v4l2src num-buffers=1 ! jpegenc ! filesink location=test4.jpg
gst-launch-1.0 v4l2src device=/dev/video4 do-timestamp=true num-buffers=1 ! image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse ! filesink location=camera.jpg
what works but with resolution lower than required [800x600]:
gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=10 ! jpegenc ! multifilesink location="frame%d.jpg"
what works with required resolution for image sink 1920x1080
gst-launch-1.0 v4l2src device=/dev/video4 do-timestamp=true num-buffers=10 ! image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse ! multifilesink location=test_%03d.jpeg
what seem to work somehow, but may need to be enhanced somehow or may require optimization
:
gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=3 ! video/x-h264,width=1920,height=1080,framerate=25/1 ! h264parse ! qtmux ! filesink location=camera.mov
what works with two cameras but fails with three cameras:
gst-launch-1.0 v4l2src device=/dev/video0 do-timestamp=true num-buffers=1 ! image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse ! multifilesink location=camera0_%03d.jpeg v4l2src device=/dev/video4 do-timestamp=true num-buffers=1 ! image/jpeg,width=1920,height=1080,framerate=25/1 ! jpegparse ! multifilesink location=camera4_%03d.jpeg
gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=3 ! video/x-h264,width=1920,height=1080,framerate=25/1 ! h264parse ! qtmux ! filesink location=camera1.mov v4l2src device=/dev/video3 num-buffers=3 ! video/x-h264,width=1920,height=1080,framerate=25/1 ! h264parse ! qtmux ! filesink location=camera3.mov
what does not:
gst-launch-1.0 v4l2src device=/dev/video0 do-timestamp=true num-buffers=10 ! video/x-raw,width=1920,height=1080,framerate=25/1 ! qtmux ! filesink location=movie_%03d.mov
what executes without errors, but produces obscure results that are difficult to read or interpret or play:
gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1 ! video/x-h264,width=1920,height=1080,framerate=25/1 ! h264parse ! filesink location=camera.mov
that is an attempt to write video file with 1920x1080
misc:
found triggers:
v4l2-ctl --device /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=YUY2
v4l2-ctl --device /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=MJPEG
to be updated.