2. gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! videoconvert ! autovideosink
Camera LED activated, but the video window was filled with green (same situation in Checkbox), screenshot attached.
I tried with 960x540 resolution, the following error message pop-out and the video window closed immediately:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Execution ended after 478243123 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
With 1280x720, the green video window pop-out like in 2.
Here is the result:
1. /usr/share/ checkbox/ scripts/ camera_ test detect Integrated_ Webcam_ HD 160x120, 176x144, 320x240, 424x240, 352x288, 640x360, 1280x720 Format: MJPG (MJPEG) Resolutions: 960x540,1280x720
/dev/video0: OK
name : Laptop_
driver : uvcvideo
version: 3.8.13
flags : 0x84000001 [ CAPTURE STREAMING ]
Format: YUYV (YUV 4:2:2 (YUYV)) Resolutions: 640x480,
2. gst-launch-1.0 v4l2src device=/dev/video0 ! video/x- raw,width= 640,height= 480 ! videoconvert ! autovideosink
Camera LED activated, but the video window was filled with green (same situation in Checkbox), screenshot attached.
I tried with 960x540 resolution, the following error message pop-out and the video window closed immediately:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Execution ended after 478243123 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
With 1280x720, the green video window pop-out like in 2.