ZM 1.24.3 - Record works fine, no streaming however
Posted: Fri Jan 21, 2011 11:59 am
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 :/
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 :/