Webcam question
-
- Newbie
- Posts: 2
- Joined: Mon Jul 02, 2018 8:50 pm
- Station model: Oregon WMR200
- Software: Cumulus / WeeWX
Webcam question
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.
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.
- scadie
- 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
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.
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.
- Dehatter
- 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
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
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
-
- Newbie
- Posts: 2
- Joined: Mon Jul 02, 2018 8:50 pm
- Station model: Oregon WMR200
- Software: Cumulus / WeeWX
Re: Webcam question
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.
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.
- Dehatter
- 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
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
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
-
- Observer
- Posts: 26
- Joined: Thu Nov 30, 2017 10:58 am
- Station model: WH1080
- Software: Weather Display
Re: Webcam question
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.
- polbrieuc
- Advisor
- Posts: 98
- Joined: Wed Dec 06, 2017 10:58 pm
- Location: Vallirana
- Station model: WH1080
- Software: Cumulus
- Contact:
Re: Webcam question
Hi Olav,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.
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 :
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 :
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.
- Ken Good
- 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
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
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
-
- Observer
- Posts: 11
- Joined: Wed Jan 03, 2018 2:40 pm
- Station model: AW1400-IP
- Software: Metebridge
Re: Webcam question
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.
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.
- Dehatter
- 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
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
https://icu2.click2stream.com/
I just put the public broadcasting url on my site and it works.
Tom
-
- 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
Hi Guys, I wanted to put my foscam f9900 in live how can I do?
Thanks
Valerio
Thanks
Valerio
-
- Observer
- Posts: 16
- Joined: Wed Apr 15, 2020 8:49 pm
- Station model: HP2550
- Software: WU
- Contact:
Re: Webcam question
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
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