I've spent most of the last 48 hours struggling to get going with zoneminder and a YCam White SD. Now it's time to ask for some help! (HELP!!;)
Ubuntu 9.10 Server Edition
The camera works great in VLC like this:
http://camera1/stream.asf (640x480 stream)
http://camera1/stream1.asf (320x240 stream)
(The camera also offers /stream.av and /stream1.av which I can't do much with.)
In ZoneMinder, adding a monitor with HTTP camera1 /stream.jpg works very very badly (pathetically slow and minutes behind realtime) - at least it proves something is working!
With the same settings but stream.asf or stream.av the source goes red in the console page and the feed just shows a black screen.
The only information in any of the logs that means much to me is this bit in syslog:
Code: Select all
Feb 10 14:53:18 server zmc_m2[11110]: INF [Starting Capture]
Feb 10 14:53:18 server zmc_m2[11110]: ERR [Unrecognised content type 'application/octet-stream']
Feb 10 14:53:18 server zmc_m2[11110]: ERR [Unable to get response]
Feb 10 14:53:18 server zmc_m2[11110]: ERR [Failed to capture image from monitor 2 (0/1)]
Feb 10 14:53:18 server zmdc[8584]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Feb 10 14:53:23 server zmwatch[8613]: ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
Beyond that I don't know where to look or what to do next. Any thoughts anyone?
TIA.
EDIT: Just read the "README" sticky again, some extra notes:
ZoneMinder version v1.24.1
Installed via apt-get
I followed the relevant after-install instructions in the wiki docs
I cranked up the memory settings to the following very large values:
kernel.shmall = 2048000
kernel.shmmax = 4194304000
(The settings in the wiki weren't enough even for stream.jpg to work)
I've searched the forum and googled loads, but I don't really know what I'm looking for. Apologies if this is the same problem that comes up hundreds of times a day!