Webcam question

Post Reply
AbjaterZA
Newbie
Newbie
Posts: 2
Joined: Mon Jul 02, 2018 8:50 pm
Station model: Oregon WMR200
Software: Cumulus / WeeWX

Webcam question

Post by AbjaterZA » Fri Jul 13, 2018 2:19 pm

Good day fellow MeteoTemplate users,

I'm rather new to MT - been using it just a week, but overwhelmingly impressed with its power and functions.

My question: Is there an easy way to integrate either the live video stream, or snapshots, from a normal HikVision IP camera into MT, either as a block or plug in?

I thought it would be as easy as opening and mapping ports on the firewall, but evidently not the case.

Would appreciate some expert opinions and suggestions.

User avatar
scadie
Language Admin
Language Admin
Posts: 46
Joined: Sun Aug 20, 2017 2:56 pm
Location: Saint-Hubert, Québec, Canada
Station model: Davis Vantage Pro
Software: Meteobridge
Contact:

Re: Webcam question

Post by scadie » Fri Jul 13, 2018 7:00 pm

Hi AbjaterZA,

I'm using a IP Camera (Amcrest) with the software BlueIris to record the video. Each 30 Second, the software send a snapshot to my web server with the new picture.

I never send a live video thru the web, take to much bandwidth.

Have a good day.
Sylvain Cadieux
scadie@scadie.com

Meteo Saint-Hubert: http://www.meteosaint-hubert.com

Image

User avatar
Dehatter
Professional
Professional
Posts: 349
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Webcam question

Post by Dehatter » Fri Jul 13, 2018 7:37 pm

Though it is theoretically possible, the storage/capacity issues with video are tremendous.

On my page, under the webcam menu bar, I have videos of yesterday and the last 3 hours.

I used third party software to automatically create and upload these files.

Within the template, there is a webcam block that will display a near current image, and a webcam plugin that stores images over time.

Tom
Image

AbjaterZA
Newbie
Newbie
Posts: 2
Joined: Mon Jul 02, 2018 8:50 pm
Station model: Oregon WMR200
Software: Cumulus / WeeWX

Re: Webcam question

Post by AbjaterZA » Sat Jul 14, 2018 1:36 pm

Thanks for the pointers.

I have managed to get the "Webcam" online, via a link to the cam, it then pushes a snapshot of current view as JPG to the viewer.

Now just to figure out how to get a snapshot from the camera every 10 minutes or so, pushed to the Block folder.... That automation is winning me.

User avatar
Dehatter
Professional
Professional
Posts: 349
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Webcam question

Post by Dehatter » Wed Jul 25, 2018 4:28 am

Oh. Sorry I thought you were looking for a "live feed."

The block is designed to display an image located on the web. It can be anywhere. The trick is to have the same filename every time.

If your camera and ftp a snapshot at your required interval, That is the best option. I would recommend creating a /cam folder on your server and ftp them there.

If your camera add a timestamp to the filename, it get a little bit more complicated as you will have to run a script to control the filename. The good new is that the script is already written and available (either search the web, or I can send it to you - PM if needed). Once you get the file nae situation straight, it is easy to put the path to that file in the block information.

Something like http:\\www.yourdomainname.com/cam/webcamimage.jpg

Then the block will update automatically.

I hope this points you in the right direction.

Tom
Image

olav
Observer
Observer
Posts: 26
Joined: Thu Nov 30, 2017 10:58 am
Station model: WH1080
Software: Weather Display

Re: Webcam question

Post by olav » Wed Sep 19, 2018 12:35 pm

Yesterday i managed to set up a live video stream embedding my YouTube-live link into a Blank Block. Take a look at my weather site at http://www.sotraveret.no or directly to my live stream at YouTube: https://www.youtube.com/watch?v=n71AfDnmZYU. So now I have both a live stream and the ordinary time-laps pictures on my meteotemplate website.
Kind regards
Olav Krogsæter
Norway
http://www.sotraveret.no

User avatar
polbrieuc
Advisor
Advisor
Posts: 98
Joined: Wed Dec 06, 2017 10:58 pm
Location: Vallirana
Station model: WH1080
Software: Cumulus
Contact:

Re: Webcam question

Post by polbrieuc » Tue Oct 02, 2018 10:15 am

olav wrote: Wed Sep 19, 2018 12:35 pm Yesterday i managed to set up a live video stream embedding my YouTube-live link into a Blank Block. Take a look at my weather site at http://www.sotraveret.no or directly to my live stream at YouTube: https://www.youtube.com/watch?v=n71AfDnmZYU. So now I have both a live stream and the ordinary time-laps pictures on my meteotemplate website.
Hi Olav,

I did not know that I could livestream my webcam to youtube. That's great. I used ffmpeg to capture the rtsp stream from my webcam (only option as it is a chinese cheap webcam that does not allow other format) and send it to Youtube.
I wanted to keep the livestream as optional to my users (so it does not consume too much data) so I modified the existing webcam block to add an icon opening the livestream in a overlay window :
Image
You can see it on my Meteotemplate website https://www.elspinars.es (Live stream available on Youtube : https://www.youtube.com/embed/live_stre ... XItgKfU9iA )

The block is available on my dev page or directly here.
Only difference in the settings is that you have to add the url of your live stream and choose the position of the icon :

Image
Image

Cheers,

Pol-Brieuc

PS : If somebody else is using ffmpeg to send its webcam stream to youtube, I am willing to receive tips on which options to use.
Image

User avatar
Ken Good
Advisor
Advisor
Posts: 62
Joined: Thu Dec 28, 2017 4:10 am
Location: Tyler, Texas
Station model: Davis Vantage Pro 2 Plus
Software: Meteobridge
Contact:

Re: Webcam question

Post by Ken Good » Wed Oct 03, 2018 3:24 am

I have several of these options on my website as well. I have a live feed. I also upload the current webcam image every 2 minutes. I also have a timelapse video from the previous day. I use three different programs to do this. I use Blue Iris to manage the webcam and to be the webserver for the live image. I also use iptimelapse to capture the current image which it does every 30 seconds. At the end of the day it uses all of these pictures to make a timelapse video of that day and uploads it to my site. Finally, I use a ftpbox to upload the current image every 2 minutes to my website. I have been very happy with it so far.

On my website, I use the dynamic image block to display the current webcam image. I like it because it checks for an update as frequently as you set.

Ken
Image

SimonB
Observer
Observer
Posts: 11
Joined: Wed Jan 03, 2018 2:40 pm
Station model: AW1400-IP
Software: Metebridge

Re: Webcam question

Post by SimonB » Wed Jan 09, 2019 10:47 am

I know this post is a bit old, but have you (a fellow saffer nogal) come right with what you wanted to achieve?

I use IPTimelapse to:
a) FTP a static image to my page
b) Build timelapses which get uploaded to my site every hour
c) Live stream to facebook.

User avatar
Dehatter
Professional
Professional
Posts: 349
Joined: Sun Jan 07, 2018 5:11 am
Location: Matthews, NC, USA
Station model: Ecowitt WH80
Software: Ecowitt GW1000
Contact:

Re: Webcam question

Post by Dehatter » Sat Jan 12, 2019 2:08 am

I found a free streaming site (Angelcam.com). Yes it has ads, but I literally had nothing to do but provide my rtsp string and boom...it was there. Broadcasting is free and recording is a subscription (that I did not get).

https://icu2.click2stream.com/

I just put the public broadcasting url on my site and it works.

Tom
Image

Tigro11
Observer
Observer
Posts: 31
Joined: Fri Nov 08, 2019 8:11 pm
Location: Italy
Station model: davis 6152
Software: weatherLink - cumulus mx
Contact:

Re: Webcam question

Post by Tigro11 » Thu Nov 21, 2019 8:27 am

Hi Guys, I wanted to put my foscam f9900 in live how can I do?

Thanks

Valerio

F1SKF
Observer
Observer
Posts: 16
Joined: Wed Apr 15, 2020 8:49 pm
Station model: HP2550
Software: WU
Contact:

Re: Webcam question

Post by F1SKF » Mon Apr 05, 2021 1:29 pm

Bonjour,
Je ne suis pas arrivé à faire fonctionner le block "Webcam live" avec ma diffusion Youtube en streaming :
lien streaming : https://www.youtube.com/embed/J7-OCDGE5xY

Quelqu'un peut-i ma'aider ?
Merci

Hello,
I couldn't get the "Live webcam" block to work with my Youtube streaming:
streaming link: [url] https://www.youtube.com/embed/J7-OCDGE5xY
[/ url]
Can someone help me?
Thank you

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Webcam question

Post by davidefa » Mon Apr 05, 2021 3:27 pm

Corrected the url
Attachments
webcamLive_1.1.zip
(4.4 KiB) Downloaded 81 times
Image

Post Reply