Author Topic: How I setup my webcam  (Read 15230 times)

0 Members and 1 Guest are viewing this topic.

Offline weatherdoc

  • Senior Contributor
  • ****
  • Posts: 281
    • Weather Doc's Weather
Re: How I setup my webcam
« Reply #25 on: December 30, 2023, 07:31:27 AM »
Yes, in the nearly two years since I wrote the post, the price of IPT has gone from $79US to $129US. I see Mike has a beta version on his website for 2024 but I'll wait to use it until it's out of beta testing.

I do record directly to the 256 GB microSD card in the camera, just in case I wanted a timelapse that includes every image, not every 2 seconds, which is the timelapse I display and archive. The timelapse interval can be adjusted in IPT and I settled on 2 seconds because that was the most efficient as far as real-time GPU processing speed and the time it takes to merge all 24-hourly files into one daily file each night.

The live streaming (https://novawx.dscloud.me/wxcamlive.php) is not a 3-second interval, it's near real-time and "live". The hourly timelapse (https://novawx.dscloud.me/wxcam-lapse.php) is recorded at 2-second intervals.

I've attached three php files (just change the filename extension from .txt to .php). Note that the source of the timelapse and still image is from video/filename (for example the sill image is src="video/snapshot1.jpg"). That's because I run my website on a Synology NAS server, so all my files are local and don't have to be ftp'd to a web host. The folder "video" on my server is where I store all the image and timelapse files. If you are using a webhost, you'll need to have the correct path as the source.

The live webcam video stream is sent from IPT to YouTube and then the link is embedded as a frame in the code in wxcamlive.txt.

I also run several PowerShell scripts to manipulate the files for archiving purposes (such as displayed on December's archive page here: https://novawx.dscloud.me/202312.php).

I hope this helps and please let me know if you have any questions.

Offline Meteoensevilla

  • Contributor
  • ***
  • Posts: 130
    • Meteoensevilla
Re: How I setup my webcam
« Reply #26 on: December 30, 2023, 08:38:26 AM »

Well, thank you very much for your instructions. I'm saving the scripts with your permission because I'm sure I'll put them into practice in some way. I think the price of the software is too expensive, I can't afford it, especially when I don't make a living doing this. It is simply a hobby and whoever enters the page of course does not pay anything. I'll see what comes to mind. I use weather display and wdcapture to capture the images from the cameras. I know there is a time-lapse option. I'll try to get on with it. Regards my friend