zm4ppc help needed zm viewer for pocket pc 2003 se
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i tried to get mpeg to work, but i might have a look at 4gp again when i look at 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: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i will have a look at it soon, i have got as far as digging out the dev files, and testing the jpeg viewer on my ppc. I will modify it to allow settings to be modified.
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
New version tottally redone so forget previous code
tested on a wm6 device (my tytn2)
currently supports upto 4 cameras
jpeg only streaming
needs a settings file on the root of the device called
zm4ppc.jpw
without this file the application will crash. It must have at least 4 lines of config as the example file. Each line is made up as follows
obviously the ip must be altered to match your zm server ip.
mode = single is essential as that streams jpegs.
Monitor=x needs to be modified to suit
scale=x needs to be modified to conserve bandwidth id advise 50% as a starting point
user and password details need to be modified if using auth.
with the 4 url's in example is in the zip file below.
Requires .net cf 2
www.jpwilson.eu/ZM4PPC.zip
tested on a wm6 device (my tytn2)
currently supports upto 4 cameras
jpeg only streaming
needs a settings file on the root of the device called
zm4ppc.jpw
without this file the application will crash. It must have at least 4 lines of config as the example file. Each line is made up as follows
Code: Select all
http://192.168.0.1/cgi-bin/nph-zms?mode=single&monitor=1&scale=50&user=user&pass=1234
mode = single is essential as that streams jpegs.
Monitor=x needs to be modified to suit
scale=x needs to be modified to conserve bandwidth id advise 50% as a starting point
user and password details need to be modified if using auth.
with the 4 url's in example is in the zip file below.
Requires .net cf 2
www.jpwilson.eu/ZM4PPC.zip
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
there a re few know issues.
closeing the app causes a threading error.
also no error checking at all is in place, so please try and understand what the settings file means and adjust accordingly. If i spend all my time answering user name issues then the project will take too much time again.
Problems suggestions please let me know as always
James
closeing the app causes a threading error.
also no error checking at all is in place, so please try and understand what the settings file means and adjust accordingly. If i spend all my time answering user name issues then the project will take too much time again.
Problems suggestions please let me know as always
James
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
Wow, this totally works...amazing to see this on a pocket PC.
My thoughts:
1. I wonder how much bandwidth it's using. I have the "unlimited data" plan on Verizon, which translates to 5GB max. I've never gone anywhere near that, but if I leave this on and pocket the phone by mistake...
2. It's awesome to see realtime updates - this is so cool!
3. It doesn't properly fit a Treo 240x240 screen, but that's not new to us Treo users.
4. When I hit "Quad", I get a quick error box "An error has occurred,ThreadAbortException" and the program closes. But all 4 cams work individually. I'm guessing this is a treo-specific issue, since you didn't mention it in your known bugs.
Again, this is spectacular. I'd like to see an app that just opens right to the quad view and sizes the thumbnails appropriately to fit the device screen. Nothing more.
Later, there could be the abilty to click a thumbnail and get a full-screen view of that cam. And a link to open the ZM console in Pocket IE based on the settings in the jpw file (nice file extension, by the way!). And maybe the ability to control the speed of updates, like once per second, once per 5 seconds, etc. And if it could do my taxes, walk the dog, and cook dinner now and then it'd move into the Truly Useful category. 
Nice work James...this is really cool.
P.S. I'm on a Treo 700wx, WM5.
My thoughts:
1. I wonder how much bandwidth it's using. I have the "unlimited data" plan on Verizon, which translates to 5GB max. I've never gone anywhere near that, but if I leave this on and pocket the phone by mistake...
2. It's awesome to see realtime updates - this is so cool!
3. It doesn't properly fit a Treo 240x240 screen, but that's not new to us Treo users.
4. When I hit "Quad", I get a quick error box "An error has occurred,ThreadAbortException" and the program closes. But all 4 cams work individually. I'm guessing this is a treo-specific issue, since you didn't mention it in your known bugs.
Again, this is spectacular. I'd like to see an app that just opens right to the quad view and sizes the thumbnails appropriately to fit the device screen. Nothing more.


Nice work James...this is really cool.
P.S. I'm on a Treo 700wx, WM5.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
ah yes the quad button doesnt work. SO its not a treo issue,
I have a treo 750v myself so will do a treo friendly version.
The quad button was left over and should be renamed close for now lol
It currently refreshes as fast as it can, between bandwidth and cpu limitations. It will be quite cpu intesive as it has to resize and interpolate the image. Im not so sure a quad will work well in this environment. I think the devices are limited by power. It might be better to work on the quad being sent as 1 stream by the zm server.
It will be easy to work out rough bandwidth. If you grab a still on your pc and see what the size is, you will be able to calculate how many bytes depeding on how fast your device refreshes. If your os 3g then id say the deice will max out at 50k a second sustained.
Thanks for the feedback, ill try and develop this into a useful app
I have a treo 750v myself so will do a treo friendly version.
The quad button was left over and should be renamed close for now lol
It currently refreshes as fast as it can, between bandwidth and cpu limitations. It will be quite cpu intesive as it has to resize and interpolate the image. Im not so sure a quad will work well in this environment. I think the devices are limited by power. It might be better to work on the quad being sent as 1 stream by the zm server.
It will be easy to work out rough bandwidth. If you grab a still on your pc and see what the size is, you will be able to calculate how many bytes depeding on how fast your device refreshes. If your os 3g then id say the deice will max out at 50k a second sustained.
Thanks for the feedback, ill try and develop this into a useful app
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
Same here! You've read my mind. Awesome!haus wrote:Wow, this totally works...amazing to see this on a pocket PC....
4. When I hit "Quad", I get a quick error box "An error has occurred,ThreadAbortException" and the program closes. But all 4 cams work individually. I'm guessing this is a treo-specific issue, since you didn't mention it in your known bugs.
Again, this is spectacular. I'd like to see an app that just opens right to the quad view and sizes the thumbnails appropriately to fit the device screen. Nothing more.Later, there could be the abilty to click a thumbnail and get a full-screen view of that cam. And a link to open the ZM console in Pocket IE based on the settings in the jpw file (nice file extension, by the way!). And maybe the ability to control the speed of updates, like once per second, once per 5 seconds, etc. ...Nice work James...this is really cool..
v1.25.0 + Ubuntu Linux 12.04 Server
Many, Many thanks! Super app!jameswilson wrote:ah yes the quad button doesnt work. SO its not a treo issue,
I have a treo 750v myself so will do a treo friendly version.
The quad button was left over and should be renamed close for now lol
It currently refreshes as fast as it can, between bandwidth and cpu limitations. It will be quite cpu intesive as it has to resize and interpolate the image. Im not so sure a quad will work well in this environment. I think the devices are limited by power. It might be better to work on the quad being sent as 1 stream by the zm server.
It will be easy to work out rough bandwidth. If you grab a still on your pc and see what the size is, you will be able to calculate how many bytes depeding on how fast your device refreshes. If your os 3g then id say the deice will max out at 50k a second sustained.
Thanks for the feedback, ill try and develop this into a useful app
Quad exits the aplication here too - just rename it, no problem. Understood your concerns about the quad issue. My opinion is that it's not really necessary indeed, because 4 cams shrinked in 320x240 would give useless small detail-less thumbs anyway.
A button to open IE mobile, with a link to the XHTML page, specified in your config file would be nice. Actually, these two would work together as a charm.
Million thanks. SUPERB!
I tested it with dns names instead of IP numbers, and custom port numbers - it works like a charm.
v1.25.0 + Ubuntu Linux 12.04 Server
May I have one simple suggestion?
The zm4PPC.jpw config file should be in the same folder as the exe, this would allow different configs in different folders. Moreover, the .jpw file name should be the same as the .exe name, renaming the exe should require renaming the .jpw too. This would allow several configs to be available in the same time on one's device. Simply with renamed exes and jpws. All on SD Card, that can be moved from device to device, to quickly test around.
It would save you from a lot of programming
The zm4PPC.jpw config file should be in the same folder as the exe, this would allow different configs in different folders. Moreover, the .jpw file name should be the same as the .exe name, renaming the exe should require renaming the .jpw too. This would allow several configs to be available in the same time on one's device. Simply with renamed exes and jpws. All on SD Card, that can be moved from device to device, to quickly test around.
It would save you from a lot of programming

v1.25.0 + Ubuntu Linux 12.04 Server
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
it wouldnt but yes i agree that the settings in the same folder would help, but making settings name dynamic might be aproblem. I am limited in hwat the cf can do, its not full blown net2.robi wrote:May I have one simple suggestion?
The zm4PPC.jpw config file should be in the same folder as the exe, this would allow different configs in different folders. Moreover, the .jpw file name should be the same as the .exe name, renaming the exe should require renaming the .jpw too. This would allow several configs to be available in the same time on one's device. Simply with renamed exes and jpws. All on SD Card, that can be moved from device to device, to quickly test around.
It would save you from a lot of programming
Or maybe we could dynamically open settings, with an open dialog and do it that way?
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