Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2014
    Location
    Brühl, Germany
    Posts
    136

    Default Implementing WEBcam / IPCam into Tiddler

    Hello,

    is there a way to implement a Webcam picture into a Tiddler Window? I have seen such "Browser in Browser" Applications for example on the Global Weather Link into the DC3 Ref Guide:

    http://solo.dc3.com/ar/acprefguide.html

    DC3 is using a miniBrowser Macro here,
    <<miniBrowser http://www.sat24.com/?culture=en>>.

    How can i include the IP Adress of a Webcam here or is that impossible?

    thanks a lot!

    best regards

    Sascha

  2. #2
    Join Date
    Nov 2005
    Location
    Virgil, NY
    Posts
    4,722

    Default

    Hi Sascha,

    Here's a very simple implementation:
    Code:
    <html> 
    <div align="left"> 
    <iframe src="http://www.astro.virginia.edu/~fanweather/allsky/fan-anim.gif" frameborder="3" width="640" height="480"></iframe> 
    </div> 
    </html>
    Go to the authoring mode. Create a new Tiddler calling it anything you like. Put the text above in the text portion of the Tiddler. You will have to configure the "source" URL to match your own particular camera's parameter requirements, and you can change to width and height to suit the camera's frame size. Mine looks like this:

    <iframe src="http://192.168.1.194:8023/img/snapshot.cgi?size=2&quality=1" frameborder="0" width="340" height="260"></iframe>

    Now save it. The new tiddler appears in the right-hand sidebar.

    If you want to refresh the image, merely "fold" the tiddler window and then "unfold" it.
    Dick
    www.VirgilObservatory.us
    Pier-mounted Meade 12-inch SCT "classic"
    w. focal reducer to f/5.3 ~ FL 1630mm
    Optec TCF-S focuser
    SBIG CFW-8A and ST7-XME
    FOV ~ 15' x 10'
    H-alpha, BVRI, RGB & Clear filters
    MaxIm and, of course, ACP!
    AAVSO Code: BRIC

  3. #3
    Join Date
    Nov 2014
    Location
    Brühl, Germany
    Posts
    136

    Default

    Hi Dick,
    that's it!. It's even working with my mjpeg livestream and there is no need for updating with fold/unfold. It's perfect, thanks a lot!

    best regards Sascha

  4. #4
    Join Date
    Nov 2005
    Location
    Virgil, NY
    Posts
    4,722

    Default

    That's great. I wonder why mine doesn't update.... (I'm not accessing the mjpeg image, though. Maybe I should try that.)
    Dick
    www.VirgilObservatory.us
    Pier-mounted Meade 12-inch SCT "classic"
    w. focal reducer to f/5.3 ~ FL 1630mm
    Optec TCF-S focuser
    SBIG CFW-8A and ST7-XME
    FOV ~ 15' x 10'
    H-alpha, BVRI, RGB & Clear filters
    MaxIm and, of course, ACP!
    AAVSO Code: BRIC

  5. #5
    Join Date
    Oct 2005
    Location
    Mesa, AZ
    Posts
    26,844

    Default

    Sascha -- What type of webcam is that? I keep looking for one that streams MP4 which is natively recognized by HTML5 browsers... At least yours actually streams!
    -- Bob

  6. #6
    Join Date
    Nov 2014
    Location
    Brühl, Germany
    Posts
    136

    Default

    Bob, its the Allnet 2212. The direct stream URL is: MJPEG: http://<ip-address>:Web-Port/cgi-bin/videostream.cgi?user=admin&pwd=admin&a=.mjpg


    best regards
    Sascha

  7. #7
    Join Date
    Oct 2005
    Location
    Mesa, AZ
    Posts
    26,844

    Default

    Thank you, this looks interesting!!
    -- Bob

  8. #8
    Join Date
    Nov 2014
    Location
    Brühl, Germany
    Posts
    136

    Default

    Hello,

    some additional informations about that "live streaming". I tried it out that some browsers have problems with it. It works great with Firefox and it doesnt work with chrome (or i am to stupid to let it work).
    I tried out the Freeware "WEBCAMXP". It works with all kinds of cameras, and a webbrowser is included. It supports 2 Cams in the freeware version. Perfect for my observatory, one for the skycam, and one for the inside webcam.

    The advantage is, that it runs very reliable with every kind of browser and it is very easy to combine with acp by entering the URL in the way Dick explained.

    best regards

    Sascha

  9. #9
    Join Date
    Oct 2005
    Location
    Mesa, AZ
    Posts
    26,844

    Default

    Thank you very much!!!
    -- Bob

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •