Hi,
I can't get ZM 1.24.3 get to stream anything in the browser.
Recording works fine. I can see all the jpeg files on the HDD and they are correct.
I can export event just fine and watch it using the attached HTML file in my browser.
I can create a video file and download it just fine when I go to Event-> Video [of course not in Chrome, but fix for that is available in here].
But I can't have:
live stream - doesn't matter whether I choose mpeg or jpeg, encoding to swf, asf, avi... it just doesn't show up.
Event viewing in browser. Same as above. No way to get the video in browser.
I went through the log files and can see no errors coming from ffmpeg [to be honest I can see no errors whatsoever].
I am not sure where to start looking for suspects.
I've tried using different browsers on 2 pcs.
I've enabled extended debug and the only weird thing I've noted is:
01/21/11 12:55:46.785788 zmfix[-1].INF-zm_debug.c/296 [New Debug Level = 6, New Debug Log = /var/log/zm/zm_debug.log.20916]
01/21/11 12:55:46.786219 zmfix[-1].ERR-zmfix.cpp/86 [Can't stat : No such file or directory]
Not sure which directory should I check however, when file is created [log file] it has weird ownership:
-rw-r--r-- 1 root www 217 Jan 21 12:55 zm_debug.log.20916
ZM runs as wwwrun:www
Right now I am starting it this way:
sudo -u wwwrun zmpkg.pl start
If you could shed some light on this for me I would be grateful!
Thanks,
Krystian
EDIT:
I went to the database and my ip camera is setup in a way, that Device column has /dev/video entry. There's no /dev/video on my system. I'm not even sure how to get such device in there :/
ZM 1.24.3 - Record works fine, no streaming however
I didn't get anywhere with my issue :/
When using IE and the Java applet I am getting something that looks like a part of an URL.
Have no idea what that means but maybe it's a clue?
Thanks
Krystian
[EDIT]
Ok... I think I'm getting somewhere:
[Sat Jan 22 12:19:19 2011] [error] [client 83.238.227.120] socket_sendto( /tmp/zm/zms-400233s.sock ) failed: No such file or directory,
this is what I have found in apache logfiles.
Trouble is, that this sock does not exist.
According to zmdc.log zmc started fine:
However there are only two sock files in /tmp/zm:
Hmmmm :/
[EDIT2]
Another one bites the dust:
Path to www is /srv/cam-home/www
I am not sure where this is set and I can't get to it using grep but I sure know there's something wrong in here!
Anyone could point me where this path is set?
[EDIT3]
Got it Had to add ScriptAlias directive in my apache2 vhost config
Everything seems fine now when it comes to viewing stuff through the java applet.
Now I have to figure out this one:
[Sat Jan 22 13:16:58 2011] [error] [client 83.238.227.120] socket_sendto( /tmp/zm/zms-803924s.sock ) failed: No such file or directory,
As this comes up when I try to use other than IE browsers :/
When using IE and the Java applet I am getting something that looks like a part of an URL.
Have no idea what that means but maybe it's a clue?
Thanks
Krystian
[EDIT]
Ok... I think I'm getting somewhere:
[Sat Jan 22 12:19:19 2011] [error] [client 83.238.227.120] socket_sendto( /tmp/zm/zms-400233s.sock ) failed: No such file or directory,
this is what I have found in apache logfiles.
Trouble is, that this sock does not exist.
According to zmdc.log zmc started fine:
Code: Select all
01/22/11 12:05:00.052284 zmdc[7887].INF ['zmc -m 1' starting at 11/01/22 12:05:00, pid = 7920]
01/22/11 12:05:00.204024 zmdc[7887].INF ['zma -m 1' starting at 11/01/22 12:05:00, pid = 7924]
01/22/11 12:05:00.351501 zmdc[7887].INF ['zmfilter.pl' starting at 11/01/22 12:05:00, pid = 7929]
01/22/11 12:05:00.492052 zmdc[7887].INF ['zmaudit.pl -c' starting at 11/01/22 12:05:00, pid = 7933]
01/22/11 12:05:00.631284 zmdc[7887].INF ['zmwatch.pl' starting at 11/01/22 12:05:00, pid = 7938]
01/22/11 12:05:00.771496 zmdc[7887].INF ['zmupdate.pl -c' starting at 11/01/22 12:05:00, pid = 7944]
Code: Select all
srwxr-xr-x 1 wwwrun www 0 Jan 22 12:00 zmcontrol-1.sock=
srwxr-xr-x 1 wwwrun www 0 Jan 22 12:04 zmdc.sock=
[EDIT2]
Another one bites the dust:
Code: Select all
[Sat Jan 22 12:25:24 2011] [error] [client 83.238.227.120] script not found or unable to stat: /srv/www/cgi-bin/nph-zms
I am not sure where this is set and I can't get to it using grep but I sure know there's something wrong in here!
Anyone could point me where this path is set?
[EDIT3]
Got it Had to add ScriptAlias directive in my apache2 vhost config
Everything seems fine now when it comes to viewing stuff through the java applet.
Now I have to figure out this one:
[Sat Jan 22 13:16:58 2011] [error] [client 83.238.227.120] socket_sendto( /tmp/zm/zms-803924s.sock ) failed: No such file or directory,
As this comes up when I try to use other than IE browsers :/