You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, January 16th 2011, 7:52am

webcam plugin/hotspot

Hi Klaus,

I have been searching in the forum for having a webcam embedded in the pano mainly as a hotspot or a plugin. I have seen examples in flashpanorama (http://www.vrwebdesign.co.uk/video-camera/). Is this available in some form in krpano? Or are there plans for this? If so, when?

Thanks,
Jay

vincen

Trainee

Posts: 66

Location: Grenoble, France

Occupation: Photo, ski, walk, outdoor activities

  • Send private message

2

Sunday, January 16th 2011, 8:50am

Hey,

You don't need a plugin for that :) you can do it easily with cron job on your server that retrieves automatically webcam picture and save it in your virtual tour *smile* I did it already multiple times and it works perfect *g*

Vincèn
http://www.skivr.com (my blog)
http://magasin.skivr.com (my online shop for all panoramas and photography stuffs)

3

Sunday, January 16th 2011, 10:37am

Hi Vincen,

Thanks. But to understand this more, could you please post an example and explain it? I would really appreciate it.

Thanks,
Jay

vincen

Trainee

Posts: 66

Location: Grenoble, France

Occupation: Photo, ski, walk, outdoor activities

  • Send private message

4

Sunday, January 16th 2011, 10:54am

Thanks. But to understand this more, could you please post an example and explain it? I would really appreciate it.

First of all you need to build your virtual tour without embedding everything in one single SWF !
When you build your virtual tour, when you need to put an hotspot that points to a webcam, just create a hotspot that displays a copy of the picture locally saved of your webcam.
Upload your whole virtual tour online.
Create a cron job (it depends of your hosting system:
-> if you get a telnet/ssh access to your hosting website, then you can just add it in cron by hand a line like that:

Source code

1
*/15 * * * * /usr/bin/wget http://www.les7laux.com/~webcam/webcam3.jpg -O /srv/Data/web/visites/7_Laux/2010-2011/indexdata/graphics/spots/object0.jpg

the */15 means it will be updated every 15min, you'll probably need to adjust the /usr/bin depending of your linux system, then changes url for one of your website where are your webcam and /srv/Data... by way to where you want to save the file in your virtual tour uploaded
-> if you have a control panel such as CPanel or Plesk you should be able to do that in graphic interface of it.

Hope you can understand my explanations, it's easier than it looks :)

One example here: http://visites.skivr.com/visites/7_Laux/2010-2011/index.html (sorry for long wait at start, still need to resolve that problem ! Open the map and click on one of the red I and you'll get webcam in real time :)

Vincèn
http://www.skivr.com (my blog)
http://magasin.skivr.com (my online shop for all panoramas and photography stuffs)

5

Sunday, January 16th 2011, 11:33am

Thanks Vincen. Now I understand. However, this could be a good solution for a webcam in a ski resort or for water surfers to check the weather where they can afford to have a 15 min or more delay in updating. However, if I need to see myself in the Pano, it needs to be more real time, right? Would you know how we can do that?

Thanks for your help,
Jay

Posts: 146

Location: London

Occupation: Photographer

  • Send private message

6

Sunday, January 16th 2011, 12:00pm

HI Jchak,

Krpano does not have this plugin yet, I made the example you posted with fpp. You can try google for webcam flash component or something like that and see what that brings up, I found one here http://www.flashcomponents.net/component…_flash_v.2.html you could try to insert into your tour as normal plugin. If it does not work it might need some krpano interface connection code in the source, so post back here for help.

best wishes,

tom

vincen

Trainee

Posts: 66

Location: Grenoble, France

Occupation: Photo, ski, walk, outdoor activities

  • Send private message

7

Sunday, January 16th 2011, 12:12pm

Thanks Vincen. Now I understand. However, this could be a good solution for a webcam in a ski resort or for water surfers to check the weather where they can afford to have a 15 min or more delay in updating. However, if I need to see myself in the Pano, it needs to be more real time, right? Would you know how we can do that?

Hum if you really need something in real time I don't know how to do that, sorry :(

Vince
http://www.skivr.com (my blog)
http://magasin.skivr.com (my online shop for all panoramas and photography stuffs)

8

Sunday, January 16th 2011, 2:54pm


Create a cron job (it depends of your hosting system:
-> if you get a telnet/ssh access to your hosting website, then you can just add it in cron by hand a line like that:

Source code

1
*/15 * * * * /usr/bin/wget http://www.les7laux.com/~webcam/webcam3.jpg -O /srv/Data/web/visites/7_Laux/2010-2011/indexdata/graphics/spots/object0.jpg

the */15 means it will be updated every 15min, you'll probably need to adjust the /usr/bin depending of your linux system, then changes url for one of your website where are your webcam and /srv/Data... by way to where you want to save the file in your virtual tour uploaded
Hellon Vince, I've done what you wrote, but when I pass the instruction you describe with Mac OS X terminal, it doesn't work and I have this message :
"R?solution de www.google.fr... 74.125.230.82, 74.125.230.83, 74.125.230.84, ...
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
"

Do you understand where is the problem?
My website is on OVH servers.

Thank you

Floww

vincen

Trainee

Posts: 66

Location: Grenoble, France

Occupation: Photo, ski, walk, outdoor activities

  • Send private message

9

Sunday, January 16th 2011, 4:04pm

Hellon Vince, I've done what you wrote, but when I pass the instruction you describe with Mac OS X terminal, it doesn't work and I have this message :
"R?solution de www.google.fr... 74.125.230.82, 74.125.230.83, 74.125.230.84, ...
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
"

What command line do you type exactly ? because I don't understand why it's a google error you get !

Vincèn
http://www.skivr.com (my blog)
http://magasin.skivr.com (my online shop for all panoramas and photography stuffs)

Posts: 146

Location: London

Occupation: Photographer

  • Send private message

10

Sunday, January 16th 2011, 4:15pm

HI Vincen,

Project index is a great tour ! and examples of live webcam - great idea s and stunning views in the panoramas, i really enjoyed it *thumbsup*

best wishes,

tom

vincen

Trainee

Posts: 66

Location: Grenoble, France

Occupation: Photo, ski, walk, outdoor activities

  • Send private message

11

Sunday, January 16th 2011, 4:41pm

Project index is a great tour ! and examples of live webcam - great idea s and stunning views in the panoramas, i really enjoyed it *thumbsup*

Thanks Tom it's really nice you appreciate it, it's still a big work in progress :)

Vincèn
http://www.skivr.com (my blog)
http://magasin.skivr.com (my online shop for all panoramas and photography stuffs)

12

Tuesday, January 18th 2011, 5:49pm

Hellon Vince, I've done what you wrote, but when I pass the instruction you describe with Mac OS X terminal, it doesn't work and I have this message :
"R?solution de www.google.fr... 74.125.230.82, 74.125.230.83, 74.125.230.84, ...
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
Connexion vers www.google.fr|74.125.230.82|:80...?chec Le r?seau n'est pas accessible ..
"

What command line do you type exactly ? because I don't understand why it's a google error you get !

Vincèn

Source code

1
    */15 * * * * /usr/bin/wget http://www.google.fr/intl/en_com/images/srpr/logo1w.png -O /homez/www/photo.jpg

I typed this code line ... And I where answered by Terminal that */15 doesn't exist so I just typed

Source code

1
/usr/bin/wget http://www.google.fr/intl/en_com/images/srpr/logo1w.png -O /homez/www/photo.jpg
and then I had the error I told you ... *unsure*
Do you see what's wrong ?
Floww

vincen

Trainee

Posts: 66

Location: Grenoble, France

Occupation: Photo, ski, walk, outdoor activities

  • Send private message

13

Tuesday, January 18th 2011, 6:17pm

Do you see what's wrong ?

For sure you missed a step in my explanations :D the one that says "Create a cron job" !
That command line is not to be done in terminal but added in cron so it executes regularly on our webserver :) if you don't know what is cron, check here http://en.wikipedia.org/wiki/Cron

Vincèn
http://www.skivr.com (my blog)
http://magasin.skivr.com (my online shop for all panoramas and photography stuffs)

ciul

Trainee

Posts: 149

Location: Colombia

Occupation: Creative developer guy

  • Send private message

14

Friday, January 21st 2011, 1:37pm

Hi pals.

So you are needing a webcam plugin/hotspot...interesting.

That could be done going html5-javascript way. How much do you truly need it?, enough to pay a few dlrs for it? (I ask so work may worth before coding it)

Best regards,
Ciul

VN2009

Professional

Posts: 1,334

Location: Duluth MN

  • Send private message

15

Friday, January 21st 2011, 3:14pm

Hi pals.

So you are needing a webcam plugin/hotspot...interesting.

That could be done going html5-javascript way. How much do you truly need it?, enough to pay a few dlrs for it? (I ask so work may worth before coding it)

Best regards,
Ciul


i will pay a reasonable price for anything :)

16

Sunday, January 23rd 2011, 5:51pm

I think you can use red5 (from Open Source Flash), but they're still developing and you have to find out most things yourself I'm afraid. Use this link to download.

Description: Red5 is an open source Flash server written in Java for live and on-demand audio/video streaming, recording of streams, Shared Objects and Flash Remoting. Red5 provides scripting support for Python, Javascript, Ruby and Groovy.

Here you can fine someone who used it to display live tv.

Hopefully this is what I think it is ;). Good luck!

17

Monday, January 24th 2011, 10:08am

RE: webcam plugin/hotspot

I have been searching in the forum for having a webcam embedded in the pano mainly as a hotspot or a plugin. I have seen examples in flashpanorama (http://www.vrwebdesign.co.uk/video-camera/).


I looked several times to this panorama, but I don't see any webcam-images or so. I tried with firefox and IE, but no difference? Where can I find it?

Posts: 146

Location: London

Occupation: Photographer

  • Send private message

18

Monday, January 24th 2011, 5:00pm

HI Maaike,

The 2 examples are different. Vincens example is embedding images taken from webcams at a ski resort and then dsiplayed within the panorama. My example you are not seeing, allows you to display live from your webcam. You have to have a webcam and turned on to see it. but basically when you visit the panorama flash will ask you if you want to allow the panorama to access your webcam, and once permssion is granted, you can then see yourself within the panorama on the billboard. I hope you get to try it out *smile* but it needs the user to have a webcam.

best wishes,

tom

19

Monday, January 24th 2011, 5:14pm

Nice idea! It would be nice to try it out, but unfortunately I have no webcam. I have one on the laptop on my work, so maybe I can try there.

Thanks for your explanation (I looked to your pano several times, but didn't find anything :P).

Tuur

Master

Posts: 2,301

Location: Netherlands

Occupation: Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

20

Saturday, December 24th 2011, 4:56pm

Hi all,

is this something we can do now in krpano?
I mean with the webcam on the computer of the user?

I'm interested in this feature!

Nice fpp example tom!

Tuur *thumbsup*