I have spent some time today learning how to get the webcam on my eeepc 701 to work with my zoneminder server. I have it streaming to my zoneminder server and it is working, not real smooth but at least it works. I am using mjpg-streamer which you can download from http://sourceforge.net/projects/mjpg-streamer/develop
I used two websites to get it working:
http://arthurhong-linux.blogspot.com/20 ... lways.html - this site is key because it will give you the command to run to get the camera actually streaming.
./mjpg_streamer -i "input_uvc.so -d /dev/video -y" -o "output_http.so"
Also I used:
http://www.zoneminder.com/forums/viewtopic.php?t=13116
This forum post will tell you how to setup the monitor to get it working with zoneminder.
Good Luck!
eeepc 701 builtin webcam
At the last link the author had a problem using his web-camera with ZM.
I have the same problem on AsusG2S and its built-in camera "USB2.0 1.3M UVC WebCam". I can see the stream video on Firefox at http://127.0.0.1:8080/?action=stream. But I can't see the video in ZM, only black square.
How did you do that? What settings did you set when added new monitor in ZM?
I have the same problem on AsusG2S and its built-in camera "USB2.0 1.3M UVC WebCam". I can see the stream video on Firefox at http://127.0.0.1:8080/?action=stream. But I can't see the video in ZM, only black square.
How did you do that? What settings did you set when added new monitor in ZM?
Code: Select all
mihwar@mihwar-laptop:~$ sudo /usr/bin/./mjpg_streamer -i "input_uvc.so -d /dev/video0 -y" -o "output_http.so"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 5
i: Format............: YUV
i: JPEG Quality......: 80
o: www-folder-path...: disabled
o: HTTP TCP port.....: 8080
o: username:password.: disabled
o: commands..........: enabled
mihwar@mihwar-laptop:~$sudo v4l-info /dev/video0
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "uvcvideo"
card : "USB2.0 1.3M UVC WebCam "
bus_info : "usb-0000:00:1a.7-2"
version : 0.1.0
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Camera 1"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "YUV 4:2:2 (YUYV)"
pixelformat : 0x56595559 [YUYV]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 480
fmt.pix.pixelformat : 0x56595559 [YUYV]
fmt.pix.field : NONE
fmt.pix.bytesperline : 1280
fmt.pix.sizeimage : 614400
fmt.pix.colorspace : SRGB
fmt.pix.priv : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : -128
maximum : 127
step : 1
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 100
step : 1
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 100
step : 1
default_value : 0
flags : 0
VIDIOC_QUERYCTRL(BASE+3)
id : 9963779
type : INTEGER
name : "Hue"
minimum : -20
maximum : 20
step : 1
default_value : 0
flags : 0
### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "USB2.0 1.3M UVC WebCam "
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 0
maxheight : 0
minwidth : 48
minheight : 32
channels
tuner
audio
picture
VIDIOCGPICT
brightness : 32896
hue : 32768
colour : 0
contrast : 0
whiteness : 0
depth : 16
palette : YUYV
buffer
window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 480
chromakey : 0
flags : 0
Code: Select all
Code: Select all
-
- Posts: 1
- Joined: Wed Feb 03, 2010 9:16 pm
Hi,
I have the same problem.
Crative webcam (VFD260): not working in ZoneMinder - via mjpg_streamer I can see picture (also with xawtv) in browser (http://127.0.0.1:8080/?action=stream).
I have testet two more usb webcams which also not works with mjpg_streamer or directly in Zoneminder (Philips PCA645 and Creative CT6860). With xawtv and other webcam-sfoftware I can see pictures from webcams.
Has anyone any ideas?
I don't understand why ZoneMinder can't show pictures, when streaming with mjpg_streamer works. Then the cam should be a LAN-cam for ZoneMinder!?
I have the same problem.
Crative webcam (VFD260): not working in ZoneMinder - via mjpg_streamer I can see picture (also with xawtv) in browser (http://127.0.0.1:8080/?action=stream).
I have testet two more usb webcams which also not works with mjpg_streamer or directly in Zoneminder (Philips PCA645 and Creative CT6860). With xawtv and other webcam-sfoftware I can see pictures from webcams.
Has anyone any ideas?
I don't understand why ZoneMinder can't show pictures, when streaming with mjpg_streamer works. Then the cam should be a LAN-cam for ZoneMinder!?
Hey, I did it!!! It works!
Here is my webcam's settings:
http://img-fotki.yandex.ru/get/4010/mih ... d56927e3_L
http://img-fotki.yandex.ru/get/4009/mih ... 410557a1_L
http://img-fotki.yandex.ru/get/4012/mih ... 8cda7f35_L
Here is my webcam's settings:
http://img-fotki.yandex.ru/get/4010/mih ... d56927e3_L
http://img-fotki.yandex.ru/get/4009/mih ... 410557a1_L
http://img-fotki.yandex.ru/get/4012/mih ... 8cda7f35_L
-
- Posts: 9
- Joined: Sat Feb 13, 2010 6:21 pm
I did too much to realize what made the camera to work. Besides that I noticed that camera works casually when tried another camera. My camera do work after I compiled from source ZoneMinder 1.24.2. During the compilation I faced with difficulties and had to resolve some dependences. Probably I updated some packets or installed some new. I installed then ZoneMinder 1.24.1 from ubuntu 9.10 repository and it still works. Try to compile ZM from source, may be it will help you.
If you want we could compare versions for v4l and mjpg-streamer.
If you want we could compare versions for v4l and mjpg-streamer.