NextPVR Forums

Full Version: WebCams v.0.8.1 compiled for .net v2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
This release of the Webcams plugin if compiled for .net v2. It shows webcams from around the world on MVP. The plugin comes preloaded with a short number of webcams.

See the instruction in 'webcams.readme.txt'
Hi!
Nice Plugin, thank you =) I couldn't find any threads within the support thread, therefore i'll post here my Problem.
With standard webcams.xml i have no problems. No i changed to some german webcams.
Here is my webcams.xml

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<database>
<!--This file contains the WebCams for the WebCam plugin.
Tip: you can also edit this file from within the Config app!-->
<webcam name="Dresden - Studentenwohnheim Hochschulstraße" url="http://webcam-studentenwerk-dresden.yellow-computertechnik.de/" refresh="30" />
<webcam name="Freiberg - Schloß Freudenstein" url="http://www.tu-freiberg.de/~kluge/webcams/current.jpg?date=20060521183306" refresh="60" />
<webcam name="Göttingen - Gänseliesel" url="http://134.76.247.230/hugesize.jpg?camera=1?1148228438421" refresh="60" />
<webcam name="Göttingen - Marktplatz" url="http://134.76.247.230/hugesize.jpg?camera=2?1148228517484" refresh="60" />
<webcam name="Göttingen - Rathaus" url="http://db0smg.de/webcam/neu/goe2fl_1x2.jpg?1148228568296" refresh="60" />
<webcam name="Hamburg - Alster" url="http://www.hansemerkur.de/webcam/hugesize.jpg" refresh="60" />
<webcam name="Hamburg - Elbtunnel" url="http://www.ikk-hamburg.de/seiten/webcam/bild.php?bild=gross&amp;dummy=1148218264718" refresh="60" />
<webcam name="Hamburg - Hafen" url="http://www.hamburger-rathausmarkt.de/hafgrossbild.jpg" refresh="60" />
<webcam name="Hamburg - Hafen Süd" url="http://www.gl-group.com/webcam/sued.jpg" refresh="60" />
<webcam name="Hamburg - Hafenlotsenstation" url="http://www.smd.de/cms/fileadmin/images/webcam/fullsize.jpg" refresh="60" />
<webcam name="Hamburg - Museumsschiff Cap San Diego" url="http://www.capsandiego.de/cam1/hugesize.jpg" refresh="60" />
<webcam name="Hamburg - Rathausmarkt" url="http://www.hamburger-rathausmarkt.de/grossbild.jpg" refresh="60" />
<webcam name="Landsberg am Lech - Hauptplatz" url="http://www.landsberg.de/webcam/webcam1.jpg" refresh="180" />
<webcam name="Landsberg am Lech - Lechwehr" url="http://www.landsberg.de/webcam/hp1.jpg" refresh="180" />
<webcam name="Utting - Ammersee 01" url="http://www.asc-utting.de/mobotix/m1m.jpg" refresh="180" />
<webcam name="Utting - Ammersee 02" url="http://www.bsv-ammersee.de/images/webcam.jpeg" refresh="180" />
</database>

If i start GB-PVR and try to enter the Plugin WebCams i get only the Message "not enough memory".
I can't believe, that 1 GB RAM and 500 GB HardDiskSpace weren't enough for some pictures ^^;
I'll post the GBPVR.EXE.LOG now:

22.05.2006 00:45:05.328 VERBOSE [1] Received WM_INPUT: 258
22.05.2006 00:45:05.328 VERBOSE [1] Received WM_INPUT: 258
22.05.2006 00:45:08.828 VERBOSE [1] loading xml C:\Programme\devnz\gbpvr\
22.05.2006 00:45:08.828 VERBOSE [1] Reading xml
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Dresden - Studentenwohnheim Hochschulstraße : http://webcam-studentenwerk-dresden.yell...echnik.de/
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Freiberg - Schloß Freudenstein : http://www.tu-freiberg.de/~kluge/webcams...0521183306
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Göttingen - Gänseliesel : http://134.76.247.230/hugesize.jpg?camer...8228438421
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Göttingen - Marktplatz : http://134.76.247.230/hugesize.jpg?camer...8228517484
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Göttingen - Rathaus : http://db0smg.de/webcam/neu/goe2fl_1x2.j...8228568296
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Hamburg - Alster : http://www.hansemerkur.de/webcam/hugesize.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Hamburg - Elbtunnel : http://www.ikk-hamburg.de/seiten/webcam/...8218264718
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Hamburg - Hafen : http://www.hamburger-rathausmarkt.de/hafgrossbild.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Hamburg - Hafen Süd : http://www.gl-group.com/webcam/sued.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Hamburg - Hafenlotsenstation : http://www.smd.de/cms/fileadmin/images/w...llsize.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Hamburg - Museumsschiff Cap San Diego : http://www.capsandiego.de/cam1/hugesize.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Hamburg - Rathausmarkt : http://www.hamburger-rathausmarkt.de/grossbild.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Landsberg am Lech - Hauptplatz : http://www.landsberg.de/webcam/webcam1.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Landsberg am Lech - Lechwehr : http://www.landsberg.de/webcam/hp1.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Utting - Ammersee 01 : http://www.asc-utting.de/mobotix/m1m.jpg
22.05.2006 00:45:08.828 VERBOSE [1] Reading feed Utting - Ammersee 02 : http://www.bsv-ammersee.de/images/webcam.jpeg
22.05.2006 00:45:08.843 INFO [1] Using cached: E:\CACHING\WINDOWS\webcam_0.jpg
22.05.2006 00:45:08.859 ERROR [1] Error: msg=0x100 (WM_KEYDOWN) hwnd=0x590178 wparam=0xd lparam=0x1c0001 result=0x0 : System.OutOfMemoryException: Nicht genügend Arbeitsspeicher.
bei System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
bei System.Drawing.Image.FromFile(String filename)
bei WebCams.WebCamPlugin.WebCamTask.ShowWebCam(String filename)
bei WebCams.WebCamPlugin.WebCamTask.LoadWebCam(Int32 i)
bei WebCams.WebCamPlugin.WebCamTask.render(Boolean& requiresMoreRendering)
bei GBPVR.x86396f56243de9fb.render(Boolean& requiresMoreRendering)
bei GBPVR.xbb1566157f5f8b1f.xdae9991ab918b397(Object xdf2e3583f942db7b, KeyEventArgs xc4f45905cb1fc7ba)
bei System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
bei System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
bei System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
bei System.Windows.Forms.Control.WmKeyChar(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
bei System.Windows.Forms.Form.WndProc(Message& m)
bei GBPVR.xbb1566157f5f8b1f.WndProc(Message& m)
22.05.2006 00:45:10.406 VERBOSE [1] HideMouse ref=-1
22.05.2006 00:45:11.546 VERBOSE [1] ShowMouse ref=0

What is happened?
After some testing, i could experience, that only ONE Line is making this error. It is this line:
<webcam name="Dresden - Studentenwohnheim Hochschulstraße" url="http://webcam-studentenwerk-dresden.yellow-computertechnik.de/" refresh="30" />

If i remove it, all is working like charm. If i am using only this, i get the message "Url is empty"... mhhhm
So, problem solved. The first Webcam WAS responsible for this. It seems, that your plugin NEEDS!!! a filename in the url.
I thought the domain alone were enough..., it wasn't.

Thank you, for your great plugin ! *thumbs up* It's perfect in the living room, while drink coffee and eat cookies and watching a few nice sights on a flat LCD ;-)
Softly thanks for pointing me over here.... I feel its well worth asking Sub for your own wiki page...

I've attached my own for you with all the Cameras in the Isle of Man and a couple of others for you from England....

If I get a really big list will post up here.

Thanks

Terran

EDIT

Takes up space - heres the text instead....

Quote: <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
- <database>
- <!-- This file contains the WebCams for the WebCam plugin.
Tip: you can also edit this file from within the Config app!
-->
<webcam name="Douglas Bay Via Manx Radio" url="http://217.23.164.199/webcams/bay_0000000001.jpg" refresh="30" />
<webcam name="Manx Radio Studio A" url="http://217.23.164.199/webcams/studio.jpg" refresh="120" />
<webcam name="Douglas Sea Port" url="http://www.gov.im/tourism/webcam/static/webcam.jpg" refresh="30" />
<webcam name="DoTET A18 South bound web camera" url="http://www.dotet.co.uk/Camera/bungalow1.jpg" refresh="45" />
<webcam name="DoTET A18 North bound web camera" url="http://www.dotet.co.uk/Camera/bungalow3.jpg" refresh="45" />
<webcam name="DoTET Laxey Valley web camera" url="http://www.dotet.co.uk/Camera/bungalow2.jpg" refresh="45" />
<webcam name="DoTET Snaefell web camera" url="http://www.dotet.co.uk/Camera/bungalow4.jpg" refresh="45" />
<webcam name="DoTET Harbours Division Peel web camera" url="http://www.dotet.co.uk/Camera/peelcam_00001.jpg" refresh="45" />
<webcam name="DoTET Harbours Division Douglas Marina web camera" url="http://www.dotet.co.uk/Camera/douglas_00001.jpg" refresh="120" />
<webcam name="Live Maritime Data from the Irish Sea" url="http://www.tyrisia.com/boats/boats.jpg" refresh="500" />
<webcam name="Top Of Blackpool Tower" url="http://www.bbc.co.uk/england/webcams/live/blackpool_tower.jpg" refresh="500" />
<webcam name="Barrie Crampton Car Sales Preston" url="http://bccars.dyndns.org/jpg/1/image.jpg" refresh="60" />
<webcam name="Douglas Bay Via Manx E Biz" url="http://www.manx-e.biz/webcam.jpg" refresh="30" />
<webcam name="Bushys TT Bear Tent Web Cam - Only On During The TT" url="http://www.bushys.com/webcam/beertent.jpg" refresh="30" />
<webcam name="Downtown Vancouver" url="http://www.katkam.ca/pix/pic.jpg" refresh="30" />
<webcam name="Norwich sky-line" url="http://www.bbc.co.uk/england/webcams/live/norwich.jpg" refresh="180" />
<webcam name="Norwich forum" url="http://www.bbc.co.uk/england/webcams/scenic_views/norfolk_forum.jpg" refresh="180" />
<webcam name="Limfjordsbroen" url="http://www.aalborg-trafikinfo.dk/cam1_image_00001.jpg" refresh="60" />
<webcam name="Animated gif 1" url="http://www.zdf.de/ZDFde/wetter/showpicture/0,2236,193,00.gif" refresh="180" />
<webcam name="Animated gif 2" url="http://images.ibsys.com/sh/images/weather/auto/radarb5_loop_640x480.gif" refresh="180" />
<webcam name="Local - not working" url="C:\camfail.gif" refresh="180" local="y" />
</database>


BTW - http://www.professionals.co.id/Img_temp/...ilable.gif is a great image for inclusion in your zip Wink

[Image: Temp-Unavailable.gif]

Is it also possible on the next version to refresh when the select key is pressed or even when staying on the same image when the set it actually refreshes the image on the screen with out you having to move off and come back ?

T

EDIT Again - Think I found a bug or a flaw ? The raw web images I'm using above are large and causing a 'out of memory' message every so offten... could you possibly have a look at it or provide an option to shirnk to a more aceptable size for GBPVR ( cause it happerns on the PC & MVP ) after its grabbed the image ?
Have you thought about using an rss feed with media enclosures instead of the xml file? You could still point the plugin to the local xml file, or there could be a rss page on the Internet (cached locally) to support the plugin.
David Wrote:Have you thought about using an rss feed with media enclosures instead of the xml file? You could still point the plugin to the local xml file, or there could be a rss page on the Internet (cached locally) to support the plugin.
Funny you mention that ..... that would have been my next question - I'm not trying to hassle softly.

If you want a test feed then here is one I am currently experimenting with for a new web site.... http://www.letscommunicate.co.uk/iom/rss/webcam.xml

Terran
ccsnet Wrote:Funny you mention that ..... that would have been my next question - I'm not trying to hassle softly.
The TVerstiy UPnP Media Server that I use with my DSM-320 now catalogs my local and internet based media. The latest release allows my catalog to be rendered as a rss feed with media enclosures. It's likely that these feeds will increase in popularity. I could easily produce a number of them myself and make the url's available. TVersity does not currently support 'webcams' since it reads and caches all pictures and never refreshes an image it thinks it already has.

Softly could also find a place to host the master version for the plugin so that the list is always up to date. Might be helpful if a feed starts posting corrupt jpg files that crash the plugin. Instant fix for everyone.

I do see that reading the xml file in the plugin would be considerably more complicated. On the other hand, the data would be so much richer!
David Wrote:The TVerstiy UPnP Media Server that I use with my DSM-320 now catalogs my local and internet based media. The latest release allows my catalog to be rendered as a rss feed with media enclosures. It's likely that these feeds will increase in popularity. I could easily produce a number of them myself and make the url's available. TVersity does not currently support 'webcams' since it reads and caches all pictures and never refreshes an image it thinks it already has.

Softly could also find a place to host the master version for the plugin so that the list is always up to date. Might be helpful if a feed starts posting corrupt jpg files that crash the plugin. Instant fix for everyone.

I do see that reading the xml file in the plugin would be considerably more complicated. On the other hand, the data would be so much richer!
I'd be intrested at looking at a feed as I'm trying to standerdise the one I have writen.

Thanks

Terran

EDIT - That ( TVersity ) is cool.....
im getting a corrupt zip when i try to download the webcams attachment, any ideas?
Pages: 1 2