Hi,
Everywhere where I can find information about this webcam it worked well, but I can't make it working.
mjpg_streamer all the time shouts about format:
root@cph4:~# /usr/bin/mjpg_streamer --input "input_uvc.so --device /dev/video0 -r 1024x768" --output "output_http.so --port 8080 --www /www/webcam"
MJPG Streamer Version: svn rev: exported
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 1024 x 768
i: Frames Per Second.: not limited
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
Unable to set format: 1196444237 res: 1024x768
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
I've tried with -y, without, with -n, without and with other resolutions as well. No success.
V4L shows:
root@cph4:~# v4l2-ctl --all -d /dev/video0
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : Webcam C170
Bus info : usb-ehci-platform.1-1
Driver version: 3.10.49
Capabilities : 0x84000001
Video Capture
Streaming
Device Capabilities
Device Caps : 0x04000001
Video Capture
Streaming
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 1024/768
Pixel Format : 'MJPG'
Field : None
Bytes per Line: 0
Size Image : 2359296
Colorspace : SRGB
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 1024, Height 768
Default : Left 0, Top 0, Width 1024, Height 768
Pixel Aspect: 1/1
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness (int) : min=-64 max=64 step=1 default=0 value=0
contrast (int) : min=0 max=30 step=1 default=13 value=13
saturation (int) : min=0 max=127 step=1 default=38 value=38
hue (int) : min=-16000 max=16000 step=1 default=0 value=0
white_balance_temperature_auto (bool) : default=1 value=1
gamma (int) : min=20 max=250 step=1 default=100 value=100
power_line_frequency (menu) : min=0 max=2 default=1 value=1
white_balance_temperature (int) : min=2800 max=6500 step=1 default=5000 value=5000 flags=inactive
sharpness (int) : min=0 max=100 step=1 default=35 value=35
backlight_compensation (int) : min=0 max=1 step=1 default=0 value=0
exposure_auto (menu) : min=0 max=3 default=3 value=3
exposure_absolute (int) : min=2 max=5000 step=1 default=312 value=333 flags=inactive
exposure_auto_priority (bool) : default=0 value=1
pan_absolute (int) : min=-72000 max=72000 step=3600 default=0 value=0
tilt_absolute (int) : min=-54000 max=54000 step=3600 default=0 value=0
zoom_absolute (int) : min=1 max=2 step=1 default=1 value=1
It supports MJPG so should work.
Other thing is why mjpeg_streamer shows JPEG instead og MJPEG in format?
Have anyone of you guys had any issues with this cam?
(Last edited by px2 on 6 Feb 2015, 01:10)