Windows Live Viewer..27-11-05 Now Complete Frontend for ZM!!
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Update of zm4msbeta
fixed:
1)Dual head support issue when on odd sized desktops (ie mon1 and mon 2 different res.) option now in misc settings for same as main monitor or custom
2) Force aspect ratio fixed, now 2 options old way (resize main window to 4:3) is now in experimantal features in case it was being used, new way (repects aspect ratio of capture from zm) called 'force aspect ratio'
3) FFMPEG options, i found that creating videos with ffmpeg created poor videos. The settings shown maybe a bit high but create great quality (if huge) vids. Please let me know if you find a better setting.
4) version number now accurate on log in page
5) option to merge multiple events into 1 video. This works currently by listing archived events, so by selected any and all events needed to be in vid move to 'archive' in web i/f. When in playback press 'archive only' button then 'export' and 'all events' and you should get a video of all those events.
6) i have fixed the code in export jpegs. I plan to use this with a custom viewer for exporting footage. I have written another app that will playback an export. This needs more work but its designed to give out to people on cd/dvd with all the images and works in a similar way to playback in zm4ms. If there is enough demand for this i will extend this and release it.
7) many bug fixes i cant remeber but unfortunatly now international language support. This is more of a job than i thought it was. I will get it done lads just gimme a bit!
http://www.jpwilson.eu/zm4msbeta.zip
when i get nearer a finished program i will make a proper single file msi installer.
fixed:
1)Dual head support issue when on odd sized desktops (ie mon1 and mon 2 different res.) option now in misc settings for same as main monitor or custom
2) Force aspect ratio fixed, now 2 options old way (resize main window to 4:3) is now in experimantal features in case it was being used, new way (repects aspect ratio of capture from zm) called 'force aspect ratio'
3) FFMPEG options, i found that creating videos with ffmpeg created poor videos. The settings shown maybe a bit high but create great quality (if huge) vids. Please let me know if you find a better setting.
4) version number now accurate on log in page
5) option to merge multiple events into 1 video. This works currently by listing archived events, so by selected any and all events needed to be in vid move to 'archive' in web i/f. When in playback press 'archive only' button then 'export' and 'all events' and you should get a video of all those events.
6) i have fixed the code in export jpegs. I plan to use this with a custom viewer for exporting footage. I have written another app that will playback an export. This needs more work but its designed to give out to people on cd/dvd with all the images and works in a similar way to playback in zm4ms. If there is enough demand for this i will extend this and release it.
7) many bug fixes i cant remeber but unfortunatly now international language support. This is more of a job than i thought it was. I will get it done lads just gimme a bit!
http://www.jpwilson.eu/zm4msbeta.zip
when i get nearer a finished program i will make a proper single file msi installer.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Hi,
How does your program authenticate to ZoneMinder to tell it which user is logged in. As far as I can see it doesn't use the same one as the standard ZM web interface (in zm_funcs.php).
I extended the zm_funcs one to authenticate against a LDAP server, but your application now still authenticates against the built-in mySQL db of ZM.
Regards,
Christiaan
How does your program authenticate to ZoneMinder to tell it which user is logged in. As far as I can see it doesn't use the same one as the standard ZM web interface (in zm_funcs.php).
I extended the zm_funcs one to authenticate against a LDAP server, but your application now still authenticates against the built-in mySQL db of ZM.
Regards,
Christiaan
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
id expect the error is donw to the fact that that monitor id has no recorded footage? It seems it has access to the db as that is an out of range error. I might improve the error trapping here
2nd question
It doesnt authenticate. It passes login info via the url it grabs images from, and authenticates agains mysql when pulling images. It uses the account info saved in setting for mysql. Login user name for everything else. (mysql and zm usually have different users)
2nd question
It doesnt authenticate. It passes login info via the url it grabs images from, and authenticates agains mysql when pulling images. It uses the account info saved in setting for mysql. Login user name for everything else. (mysql and zm usually have different users)
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
For the live viewing of images: What is the exact URL that is formed and passed to ZoneMinder to grab the images from? (Specifically, how is the login information contained in this URL)
I already changed the "Login" function in zm_funcs.php for my LDAP extensions, but as far as I can see there is still somewhere else where I need to include this as well.
Regards,
Christiaan
I already changed the "Login" function in zm_funcs.php for my LDAP extensions, but as far as I can see there is still somewhere else where I need to include this as well.
Regards,
Christiaan
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
its passed as part of the url ie user=xxx&pass=xxxx
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 10
- Joined: Sun Oct 29, 2006 5:25 pm
Hi James,
thanks for your great work! zm4ms is one of the things which makes zm even more usefull for me, as my application needs resampling of images as they get zoomed.
But with the current release the playback feature doesn't work anymore:
As soon as i click the monitor number on the replay screen i get:
Error connecting to database: Conversion from type 'DBNULL' to stype 'String' is not valid
and after this the events list builds up, but with start time and Frames each of 5000 for every event.
When i try to open an event for review i get:
Operator '/' is not defined for type 'Integer' and type 'DBNull'
and one image of the captured sequence appears.
I hope, my explanation was usefull for faultfinding.
I have to mention, that i use reiserfs as filesystem to circumvent the 32000-limitation of ext3; maybe this causes this odd problems;
the previous version of zm4ms had no kind of this problems.
Many thanks in advance,
Erich
thanks for your great work! zm4ms is one of the things which makes zm even more usefull for me, as my application needs resampling of images as they get zoomed.
But with the current release the playback feature doesn't work anymore:
As soon as i click the monitor number on the replay screen i get:
Error connecting to database: Conversion from type 'DBNULL' to stype 'String' is not valid
and after this the events list builds up, but with start time and Frames each of 5000 for every event.
When i try to open an event for review i get:
Operator '/' is not defined for type 'Integer' and type 'DBNull'
and one image of the captured sequence appears.
I hope, my explanation was usefull for faultfinding.
I have to mention, that i use reiserfs as filesystem to circumvent the 32000-limitation of ext3; maybe this causes this odd problems;
the previous version of zm4ms had no kind of this problems.
Many thanks in advance,
Erich
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i will look at this, but i have had issues with zm and zm4ms when there is a corrupt db record for the first entry. You might want to try that, failing that if you let me have zm4ms access to your zm box ill test from here and fix tonight.
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Ok then i have updated zm4ms to 2.89a following fix
Only pulls events in that are greater than 0seconds long and should fix many db corruption issues. The corruption still needs fixing but zm4ms should now ignore the nasty ones
**edit more updates
fixed some bugs regarding ending and begining of event playback
Massively improved speed on colouring of events. There is an option to use the new or old way in the playback options. I dont see a reason to use the old way but for compatibility i have left the old way in too.
Added button to launch dualhead view to main toolbar
in dualhead on left click made unconnected cams not be selectable
added cycle view to 4, 9 and 13 way splits, on 4 and 9 way bottom right cycles, on 13 way the central larger image does.
new option to enable/disable cycle in dualhead view
added option to stop auto quality drop on larger multi-screens
Only pulls events in that are greater than 0seconds long and should fix many db corruption issues. The corruption still needs fixing but zm4ms should now ignore the nasty ones
**edit more updates
fixed some bugs regarding ending and begining of event playback
Massively improved speed on colouring of events. There is an option to use the new or old way in the playback options. I dont see a reason to use the old way but for compatibility i have left the old way in too.
Added button to launch dualhead view to main toolbar
in dualhead on left click made unconnected cams not be selectable
added cycle view to 4, 9 and 13 way splits, on 4 and 9 way bottom right cycles, on 13 way the central larger image does.
new option to enable/disable cycle in dualhead view
added option to stop auto quality drop on larger multi-screens
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5
- Joined: Sun May 14, 2006 7:19 pm
- Location: USA
Authentication problem
Hi James,
first of all thanks for great addition.
I just want to let you know about one problem that I discovered. Everything works fine once I use short password up to 10 characters long but once I try to use longer password I get login to Viseon Viewer but it doesn’t display anything from cameras (looks like authentication is not passed correctly to the zm).
Thank you, Stas
first of all thanks for great addition.
I just want to let you know about one problem that I discovered. Everything works fine once I use short password up to 10 characters long but once I try to use longer password I get login to Viseon Viewer but it doesn’t display anything from cameras (looks like authentication is not passed correctly to the zm).
Thank you, Stas
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
there is an issue with spaces in passwords but i dodnt know of a long password problem, You say any password over 10 chars, fails?
is username affected too?
And thanks for the thaks, the serious work though is done by zm lol, my app just puts a pretty frock on it
is username affected too?
And thanks for the thaks, the serious work though is done by zm lol, my app just puts a pretty frock on it
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 10
- Joined: Sun Oct 29, 2006 5:25 pm
Playback Issue solved with inconsistent camera id numbering
Hi James,
the solution to my playback issue was to easy to be seen by me.
My Camera id's are not consequently numbered from 1 upwards, so i entered them on the playback-setup-page as they apear in my zm-console. (e.g. 1-2-3-8-9-19)
This was my fault, as the Viseon-Viewer numbers them as they apear on the "monitors" page of the Viseon-Viewer. (1-2-3-4-5-6)
So, the problem is solved! I can playback all monitors as i want to.
Thanks again for your work!
Eric
the solution to my playback issue was to easy to be seen by me.
My Camera id's are not consequently numbered from 1 upwards, so i entered them on the playback-setup-page as they apear in my zm-console. (e.g. 1-2-3-8-9-19)
This was my fault, as the Viseon-Viewer numbers them as they apear on the "monitors" page of the Viseon-Viewer. (1-2-3-4-5-6)
So, the problem is solved! I can playback all monitors as i want to.
Thanks again for your work!
Eric
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
it should take the numbers from the monitor numbers you have set in the camera settings. The part you have used is designed for mutliserver streaming and will do what you want but on a single server should have worked without. Are you using url mode for live view?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 10
- Joined: Sun Oct 29, 2006 5:25 pm
Playback Issue solved with inconsistent camera id numbering
Dear James,
i use direct IP-Adresses of my zm-box and I didn't use multiserver streaming;
This was my mistake; I took the camera numbers as they appear on the zm-console, not as they appear on the camera-settings of the Viseon-Viewer;
Such way the Viseo-Viewer came up with database-access errors, as the camera id's don't exist with that numbers;
So the configuration for playback must use the camera-id's as set up in the camera-settings and not the id's as configured on the zm-server;
(e.g. camera id 19 on the zm-server translates to camera id 7 on the Viseon-Viewer, which then works for replay)
thanks,
Eric
i use direct IP-Adresses of my zm-box and I didn't use multiserver streaming;
This was my mistake; I took the camera numbers as they appear on the zm-console, not as they appear on the camera-settings of the Viseon-Viewer;
Such way the Viseo-Viewer came up with database-access errors, as the camera id's don't exist with that numbers;
So the configuration for playback must use the camera-id's as set up in the camera-settings and not the id's as configured on the zm-server;
(e.g. camera id 19 on the zm-server translates to camera id 7 on the Viseon-Viewer, which then works for replay)
thanks,
Eric
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Eric
I'm glad your working but something weird is happening as those numbers should not be needed on a std setup even with non consecutive monitor numbers. I won't worry but something is misconfigured somewhere (or its a bug) but if everything works as ecpected then fine lol
I'm glad your working but something weird is happening as those numbers should not be needed on a std setup even with non consecutive monitor numbers. I won't worry but something is misconfigured somewhere (or its a bug) but if everything works as ecpected then fine lol
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk