Open a-petit opened 8 years ago
Hello,
I'm testing fswebcam with a Logitech Webcam C930e on ubuntu 16.04 LTS.
Running :
fswebcam -r 1920x1080 --no-banner --no-title --jpeg 95 -d /dev/video1 /tmp/output.jpg -v
produce the following verbose log :
--- Opening /dev/video1... Trying source module v4l2... /dev/video1 opened. src_v4l2_get_capability,87: /dev/video1 information: src_v4l2_get_capability,88: cap.driver: "uvcvideo" src_v4l2_get_capability,89: cap.card: "Logitech Webcam C930e" src_v4l2_get_capability,90: cap.bus_info: "usb-0000:00:14.0-2" src_v4l2_get_capability,91: cap.capabilities=0x84200001 src_v4l2_get_capability,92: - VIDEO_CAPTURE src_v4l2_get_capability,103: - STREAMING No input was specified, using the first. src_v4l2_set_input,181: /dev/video1: Input 0 information: src_v4l2_set_input,182: name = "Camera 1" src_v4l2_set_input,183: type = 00000002 src_v4l2_set_input,185: - CAMERA src_v4l2_set_input,186: audioset = 00000000 src_v4l2_set_input,187: tuner = 00000000 src_v4l2_set_input,188: status = 00000000 src_v4l2_set_pix_format,520: Device offers the following V4L2 pixel formats: src_v4l2_set_pix_format,533: 0: [0x56595559] 'YUYV' (YUYV 4:2:2) src_v4l2_set_pix_format,533: 1: [0x47504A4D] 'MJPG' (Motion-JPEG) Using palette MJPEG src_v4l2_set_mmap,672: mmap information: src_v4l2_set_mmap,673: frames=4 src_v4l2_set_mmap,722: 0 length=4147200 src_v4l2_set_mmap,722: 1 length=4147200 src_v4l2_set_mmap,722: 2 length=4147200 src_v4l2_set_mmap,722: 3 length=4147200 --- Capturing frame... Captured frame in 0.00 seconds. --- Processing captured image... Disabling banner. Clearing title. Setting output format to JPEG, quality 95 Writing JPEG image to '/tmp/output.jpg'.
Up to here everything looks fine but the output's pixels appears shifted :
Do someone have any idea of what's happening ?
On the same environmet, the webcam works fine with FFmpeg and web apps that make use of the device through navigator.
I am seeing this same problem on the raspberry pi.
I have used the options to skip frames and lowered the FPS but still get the image tearing.
Hello,
I'm testing fswebcam with a Logitech Webcam C930e on ubuntu 16.04 LTS.
Running :
fswebcam -r 1920x1080 --no-banner --no-title --jpeg 95 -d /dev/video1 /tmp/output.jpg -v
produce the following verbose log :
Up to here everything looks fine but the output's pixels appears shifted :
Do someone have any idea of what's happening ?
On the same environmet, the webcam works fine with FFmpeg and web apps that make use of the device through navigator.