Just keeping this thread updated with latest thoughts.... anyone welcome to add / contribute.
zoneminder still running well and I'm pretty chuffed (za-speak for happy) with it. I've tried to set up basic camera viewers for my IP cams for LMCE (not as children of motion wrapper) and have not had much luck getting a signal for some reason... starting to suspect you *have* to have motion-wrapper parent to grab the frames? Not sure... I guess I could probably make them children of motion-wrapper and just turn motion off - the reason I don't want motion is that I don't want them grabbing frames when I'm not viewing them. That is zoneminder's job and I don't need any extra traffic or camera load.
The other reason I haven't pursued this too far is that the concept of grabbing individual frames via the "getframe" command (which is how I understand cameras to work under LMCE) doesn't, if you'll excuse the expression, grab me. It seems like a lot of overhead to generate an image stream... and I imagine a proper image stream would be much better.
So, what I'd like to see at the moment is -
a zoneminder machine watching the cams for motion and nicely integrated with LMCE as follows-
1. Triggering events on motion detection
2. Streaming video to a LMCE streaming video viewer
2.1 Live camera feeds AND
2.2 Review of recorded events
Of course zoneminder has a web interface which allows all of the functionality in 2 via a web browser. But running a web browser (firefox) in LMCE is slow. For me at least. It takes a fair bit of time to fire up. I'd much rather have a dedicated LMCE "screen" that can pop-up as soon as it is requested or triggered and get a live view of my camera very quickly.
So zoneminder has a streaming video server which streams frames via http. It would be really cool to be able to connect some sort of LMCE screen/device wrapper/plugin to that server and view the video feed. Mmmmmm.
I've managed to do this using VLC on another linux box quite easily. You basically set up a text file called "myCAM.asf" (or whatever) with the following line in it:
Or similar. Your zoneminder setup will tell you the path to the nph-zms streaming server application. Then you just run VLC with this file on the command line and it pops up a VLC client window with the video stream from your monitor. Very nice.
But how do I do the same thing in LMCE? Afaik, LMCE uses xine (not vlc) to play media. I went so far as creating the above file in my videos folder and trying to play it via the videos menu but I get some sort of (there is no media player capable of playing this file) error. Darn. I'm experimenting with command line xine on my other boxes to see if it's just some sort of setting but no luck so far. Any ideas?
I was thinking if I got this going the next step would be to setup a scenario that just fired off the appropriate LMCE commands to play the stream directly.
Is it possible to install VLC on the media director?
I realise this is complete hack and not the tight, smooth integration we want in the end but before I go building a DCE device (or at least reading the wiki on it ;-) I figure I need to have a good understanding of all the components, streaming video etc etc. So hacks for now.
Any thoughts/ contributions welcome.