Page 1 of 1

Bogus monitor type 'Ffmpeg'???

Posted: Mon May 25, 2009 6:18 am
by neek
Hi, I'm new to zoneminder so I think it's highly likely this is user error, but I haven't been able to find any fixes here or elsewhere on the net.

I'm trying to get zoneminder working with a ACTi ACM-1231 camera. I've just installed zoneminder on a fresh install of Fedora 10. Running 'service zoneminder start' appears to start ok, but from the console web page, all I can see is 'ZoneMinder Console - Stopped'. I just enabled extended debugging and in one of my debug logs I see this message:

Code: Select all

05/24/09 22:24:35.238856 zmc_m1[3643].DB1-zm_monitor.cpp/2260 [Got 1 monitors]
05/24/09 22:24:35.238918 zmc_m1[3643].FAT-zm_monitor.cpp/2420 [Bogus monitor type 'Ffmpeg' for monitor 1]
My camera is showing up as red.

I assume the error above is the cause for the red camera, but probably not the reason the console says it's stopped.

Can someone please tell me:

(1) Some ideas how to fix the ffmpeg error above? (I am running an SVN build of ffmpeg to ensure it's new enough since the only RPM I could find was somewhat old.

(2) Any other ways to debug the console reporting itself as stopped? I am seeing errors about 'Can't get shared memory id ...', but the kernel I'm running (stock for Fedora 10) should be newer than the version which supposedly has the fix.

Any and all ideas or other reading welcome. Oh, and to the author(s) of zoneminder, your product looks great so far! Looking fwd to getting it working.

Thanks in advance!

Posted: Mon May 25, 2009 6:53 am
by CrazyPilot
It seems that the ZM is compiled without ffmpeg. At the stage of configuring ZM could not find the header files for ffmpeg. I solved this problem by creating a soft link to the *. h files in a directory, where ZM search for ffmpeg files. Search the forum, there was the issue with a similar problem for ffmpeg. After that you should reinstall ZM.
'Can't get shared memory id ...'
This is not really problem - it's because ZM can't work with your camera right now.


P.S. Sorry for my bad english =)

Posted: Mon May 25, 2009 1:12 pm
by neek
Thanks for the quick reply.

I'll check into building ZM to use the ffmpeg headers, thanks. I was using the RPM on Fedora since that seemed like it would "just work".

I'm trying to get the ACTi cam to work in RTSP mode. I've successfully connected to it using VLC on a Mac, so I know the RTSP stuff is working, and I had read that ZoneMinder (1.24, which I'm using) should also be able to use RTSP to connect to this cam. (I bought the cam specifically because it looked like it would work with ZM). Is that not the case?

thanks again!

Posted: Mon May 25, 2009 2:00 pm
by CrazyPilot
Well, finally I can not get ZM to work directly with the acti camera by rtsp. ZM 1.24 needs patched ffmpeg, which is able to auth on camera. Patch you can find at zm wiki. I have applied this patch to ffmpeg, but this don't work. I tried all (which i know) methods, but can't make it all work. Maybe I did something wrong...anyway i found solution that works...This solution uses vlc.

You can see it here

It seems that my English is absolutely horrible, I forgot it completely))

Posted: Mon May 25, 2009 2:16 pm
by neek
Thanks again. I also tried the VLC hack and it's also not working. I think I first need to figure out how to get the ZM console to not show "Stopped". Even with no cameras I can't get this changed. There's not anything in the logs that appears to be of help, either... :?

Posted: Mon May 25, 2009 2:22 pm
by CrazyPilot
:crazy on:

Maybe just click on stopped and choose running? xD

Posted: Mon May 25, 2009 2:25 pm
by neek
:) tried that, but no luck. It only lets me choose Start, when I do that, the pop-up says applying state change, but then nothing changes...

Posted: Mon May 25, 2009 2:31 pm
by CrazyPilot
And nothing in /var/log/messages? Hmm, if it's loading ZM console - MySQL and apache seems to be working...

Can't believe that it shuts up, it's very strange for zoneminder :lol:

Posted: Mon May 25, 2009 4:39 pm
by neek
OK, I have the system running now.. I found that SELinux was running even though I had thought I'd killed it. Thanks for the ideas. I'm going to dive in and see if I can get the cam working now. I appreciate your help!