i am sitting in the same boat like you, did you found any solution?
want to stream my zoneminder webcams in some way to various xbmc frontends.
cheers
lian
lian
Junior Member Posts: 15 Joined: Jul 2010 Reputation: 0 |
2010-07-16 20:09
Post: #11
|
| find quote |
markhoney
Senior Member Posts: 133 Joined: Oct 2003 Reputation: 1 Location: Wellington, New Zealand |
2010-10-21 10:52
Post: #12
tim-, I've tried contacting you through email about this script as I have a version that's ready for the new addon repositories, but haven't heard anything back. Are you happy for me to give my version a quick clean-up and release it?
Author of the NZ OnDemand and ZoneMinder addons, and caretaker of the pyamf script. Contributor to fanart.tv, TheMovieDB and TheTVDB. |
| find quote |
Jacksont09
Junior Member Posts: 18 Joined: Dec 2010 Reputation: 0 |
2011-01-09 00:14
Post: #13
Anyone
![]() The link on xbmc wiki is dead.
|
| find quote |
wthigoh
Junior Member Posts: 3 Joined: Mar 2011 Reputation: 0 |
2011-03-26 13:52
Post: #14
ZoneMinder 1.24.2 running on beefy Ubuntu 10.04 server with 10 cameras.
Generic (confluence) XBMC xbmc (2:10.1~ppa1~lucid) running on zotac hd-id11 Ubuntu 10.04. Authentication seems to work and paths are right (apparently). Error is "No cameras found." Shows empty directory. I am very well versed in ZM and Ubuntu, very noob to HTPC world. Looking for the source code & docs of the ZM script. Hopefully I will get this going. Thanks for making this script.
|
| find quote |
markhoney
Senior Member Posts: 133 Joined: Oct 2003 Reputation: 1 Location: Wellington, New Zealand |
2011-03-27 05:24
Post: #15
In your xbmc.log the addon should log the URL it's requesting (the line starts with "Requesting page: "). Are you able to get this URL from the log and paste in to a browser to check that it works? If the page loads properly (after authentication) and shows a list of cameras, can you post a copy of the source of the HTML page? The addon runs a regex against the page to find:
Code: 'zmWatch([0-9]+)', 'watch', ([1-9][0-9]+), ([1-9][0-9]+) \); return\( false \);" + '"' + ">(.*?)</a>If this regex isn't matching anything for some reason (maybe if you're using a different skin to the default), it won't pick up the list of cameras and will give the error you're seeing. Author of the NZ OnDemand and ZoneMinder addons, and caretaker of the pyamf script. Contributor to fanart.tv, TheMovieDB and TheTVDB. |
| find quote |
wthigoh
Junior Member Posts: 3 Joined: Mar 2011 Reputation: 0 |
2011-03-27 08:55
Post: #16
markhoney Wrote:In your xbmc.log ......... Thanks very much for the quick reply. I was able to get this working but the reason it didn't work was very strange (and specific to my apache & dns/hosts setup). I enabled debugging in XBMC and took a quick read of the zm plugin script. I followed the path you suggested, copying the URL from the log and pasting it into a browser to see if it logged in and loaded properly, which it did do just fine. Then, I added a couple of extra debug statements to the script so it would paste the document that was getting loaded, into the XBMC.log file. To my surprise, it was loading my default home page of a different virtual website running on the same server. Apparently, the script doesn't pass some environment variable or something (still not 100% sure on this) that lets apache know which virtual website you are accessing. You see, I have my zoneminder apache configuration such that if you access my webserver using a particular zmhost.domain.com then zoneminder will be served up, BUT, if you access it using wwwhost.domain.com (which is also the default) then my other website will be served up. To further complicate things, zmhost is not actually in DNS, but it is in my hosts file, which works just fine from firefox but apparently not from python/xbmc. The solution was to enable access to the zoneminder site using a URL that was actually in DNS. Thanks again.
|
| find quote |
GCFCS
Junior Member Joined: Oct 2011 Reputation: 0 |
2011-10-26 14:24
Post: #17
![]() Loaded up the ZM plugin on our Dharma box today and it works fine with our ZoneMinder 1.25 server.. ![]() It does only one at a time.. no montage views... will dig around and see if I can find a way to get montage and cycle views working... ![]() At this point we use screen streaming on a machine here that is viewing montage and just play that video stream in xbmc but that is far from optimum... ![]() Anyone got cycle or montage working at all on xbmc? would love to know |
| find quote |
markhoney
Senior Member Posts: 133 Joined: Oct 2003 Reputation: 1 Location: Wellington, New Zealand |
2011-10-26 23:22
Post: #18
The reason I couldn't get the montage working from ZoneMinder is that the montage is created in the web frontend by displaying all the video streams in one web page. In XBMC, this would need the ability to display multiple videos at once, and AFAIK this just isn't available at the moment.
I ended up switching to using VLC on Linux and streaming my webcams from there. This had 2 advantages of 1) working a lot better with different webcams and 2) allowing me to create a mosaic stream which is composed of all my webcam streams put together in a montage, like in the ZoneMinder web frontend. The only thing I haven't been able to work out is if it's possible to have the montage and streams in VLC only created on demand, as they tend to eat up a lot of CPU (especially creating the mosaic). I also created a plugin to connect to these streams (which I never released), but a set of XBMC .strm files would also do the trick. If you're interested in this VLC solution, reply to this thread and I'll post it up for you. Author of the NZ OnDemand and ZoneMinder addons, and caretaker of the pyamf script. Contributor to fanart.tv, TheMovieDB and TheTVDB. |
| find quote |
stilger
Junior Member Posts: 42 Joined: Feb 2005 Reputation: 0 |
2012-04-13 20:10
Post: #19
(2011-10-26 23:22)markhoney Wrote: The reason I couldn't get the montage working from ZoneMinder is that the montage is created in the web frontend by displaying all the video streams in one web page. In XBMC, this would need the ability to display multiple videos at once, and AFAIK this just isn't available at the moment. Hi, I am interested in your VLC solution. Could you post some more details? Thanks.. |
| find quote |





Search
Help