ZoneMinder looks like a great application, and does everything I want it to, I think.
I'm not sure if the following is even something I should be doing, I'm not totally sure about the pro's and con's of doing things this way, but I'm having problems using streaming mpeg on my camera monitors.
When looking at a monitor, all I get is a 'stuck' mplayer, with it saying it's initializing. (See http://www.hanfordonline.co.uk/archive/ ... rstuck.jpg), the same if I click on an event.
If I then click on the "Video" link and save out a video, it opens and plays fine. (See http://www.hanfordonline.co.uk/archive/ ... tstuck.jpg - screenie looks black but shows fine on my pc)
This must be a configuration error that I've made, because in the /var/log/messages I see lines for:
Code: Select all
linux zms[24728]: ERR [MPEG streaming of 'mode=mpeg&monitor=1&scale=100&bitrate=150000&maxfps=15&format=asf' attempted while disabled]
Some of my options are:
Code: Select all
ZM_VIDEO_STREAM_METHOD: mpeg
ZM_VIDEO_TIMED_FRAMES: yes
ZM_VIDEO_LIVE_FORMAT: asf
ZM_VIDEO_REPLAY_FORMAT: asf
ZM_CAN_STREAM: auto
ZM_OPT_MPEG: ffmpeg
ZM_PATH_MPEG_ENCODE: /usr/local/bin/mpeg_encode (not installed)
ZM_PATH_FFMPEG: /usr/bin/ffmpeg
ZM_FFMPEG_INPUT_OPTIONS: (none)
ZM_FFMPEG_OUTPUT_OPTIONS: -r 25
ZM_FFMPEG_FORMATS: mpg* mpeg wmv avi mov 3gp**
update:
I just saw the posts about having ffmpeg compiled with shared libs, I had downloaded a pre-packaged version for Suse 10, and get this:
Code: Select all
configuration: --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib --enable-shared --enable-mp3lame --enable-libogg --enable-vorbis --enable-pp --enable-gpl --enable-a52 --enable-faad --enable-gprof --enable-theora --enable-xvid --enable-faac --enable-amr_nb --enable-amr_wb
Suse 10
Linux Version 2.6.13-15.7-smp
ZoneMinder 1.21.4
Apache 2.0.54-10
PHP 4.4.0-6
MySQL 4.1.13-3
ffmpeg CVS 3276800