05 Jan

Options Are Always Nice

A few days ago I wrote about the new features I have added to the FarmCam. While writing the entry I stumbled upon actions settings in EvoCam that allowed me even more flexibility in the ways I share the views. However, I had a few concerns before I could decide if it would be a viable replacement for the current method.

My experiments in the last few days have resulted in mixed — but encouraging — results, and as promised I am sharing them with you.

Good Things I Learned

EvoCam export action settings

EvoCam export action settings

First, a few of things I like about EvoCam’s time lapse export feature:

  • The process is self-contained. EvoCam acts as the file converter and the FTP client. I already use the FTP settings in the software to upload the still images, so when the time lapse movie is created by EvoCam, it easily uploads it to this website without having to use a third party FTP client.
  • Control over the frames per second (FPS) settings.  With the current process, I have no control over the frames per second, meaning that the speed of the daily video is going to be 30fps.  With the EvoCam settings I can decide just how fast the individual frames are displayed in the finished product. I have been experimenting with frame rates as low as 5, and as high as 15. The results are pleasing.

Minor Downsides

Some downsides do exist, but EvoCam helps minimize some of the impacts:

  • By slowing the video down, I make for a longer watching experience. This wouldn’t be an issue if most of the videos — especially in winter! — weren’t complete darkness; however, since making the adjustments to the white balance settings, that is the case. The solution to this, so far, has been to use EvoCam’s light detection feature. Each video starts just around daybreak, and ends just after sunset. The drawback, is that any celestial movements such as the moon or bright stars are missed.

    EvoCam light detection settings

  • File size concerns. I would love to include the night time hours for the reasons above. Slowing down the time between images in the video means the video’s file size may get to the point where I lose a portion of my (already very small) audience.  The experiments with daytime-only videos are resulting in videos that are of a manageable size, but that is also a result of using stills taken 60 seconds apart as opposed to the 30 second intervals I currently use. More images, and slowing things down could mean a much more bloated final video. I have the bandwidth thanks to my awesome ISP (also my employer), but many of my neighbors either have slow DSL or services such as satellite with bandwidth caps.

Further Questions to be Answered

One the most frustrating thing about all this is that EvoCam’s developer disappeared without a trace over a year ago, and I worry about the future of my little hobby. I have been unable to find similar software that does half of the things that I want, nay, need for my projects. For the time being the software is stable, but I wish that someone would be willing and able to take it over if the former developer is done with it. If you know how this can be accomplished, please do hit me up.

For now, my experiments continue.  I still have a few things I need to investigate. For example, I am not sure how to control archiving or names of the files. I am fine if the local files are simply sequential (i.e., daily-1.mp4, daily-2.mp4) because I will have the creation dates to let me know the date of the footage. I like to review the videos to see if they contain anything funny, unusual, or unique.

But, I need the uploaded file to always be the same (daily.mp4) so that I don’t have to adjust the HTML. Based on the results when the “delete movie …” setting is enabled, I assume this will be the case; however, as usual, I just thought of this whilst I was typing the paragraph above.

Parting Thoughts

As I said in the opening of this entry, there are some benefits and drawbacks to both methods. The great news is I don’t really have to choose. The current method is hacked together, but it is working (knock wood). And I can continue to run my experiments without them getting in the way of the other method.

Right now it is looking promising that I can stop running the previous method, and do all of the things above within EvoCam. If I do, you’ll be the first to know.


UPDATE: 7 January, 2018

Found out that if one does not check “delete movie…” EvoCam saves only one instance of the resulting video, overwriting the previous day.  This is far from a setback; my quick solution was to create a three-step Automator workflow to rename the video file each day, and move the file to a local archive directory. However, if this is to be a viable replacement from my hacked method, I will need to figure out what time to stop the EvoCam video, and what time to run the cronjob for the archiving workflow. This isn’t an issue with my test model as I am only recording during daylight hours.  But if I want the video to run from as close to 00:00:00 to 23:59:59 as possible, then I need to time things properly. EvoCam needs to export the video to the local folder, upload the file via its built-in FTP. Then the cronjob needs to run an upload the resulting video before the new video is created.

Never mind, the above is all wrong! The way EvoCam works is it hold the images for the new day’s video until it is time to make the video.  Therefore, it I don’t need to time when I run the cronjob. I feel silly now.

31 Dec

New Features for the FarmCam

In October my Australian cousin Peter, challenged me to create a different sort of time lapse.  He wanted to see how the view would look at the same time each day throughout the year.

I knew this would be easily accomplished with EvoCam by adding a new action set; so I set up a test, and let it run from 17 October through the last day of 2017. I used EvoCam to manually export the video to MP4 at 5 FPS. Below is the result.

During this experiment I learned a few things:

  • EvoCam software has location abilities, so I am able to have it do things at sunrise and sunset for my location. Therefore, in addition to the Daily Noon image, I have added a Daily Sunrise and Daily Sunset. These are still photos uploaded daily, and can be viewed with the other stills and videos on the FarmCam page. I will make time lapses from the images, but not sure if they will be seasonal or yearly.
  • EvoCam may be able to allow me to cut out my buggy Automator cron job. Right now the encoding from the EvoCam MOV to an M4V is done via default settings in Automator. Then I use the Automator app to convert the M4V to MP4 and upload the file via FTP.  I am running tests now to see if EvoCam can export the final video as an MP4 rather than a MOV. It has a feature for uploading the resulting video to the web server, which is a good thing.
  • If EvoCam can export as an MP4 then I can control the frames per second for playback as well. This allows me to slow down the final daily time lapse video, therefore making it more enjoyable viewing. Things that currently flash past, like animals, birds, cars, sheep, llamas, dogs, etc, will be visible.  The downside is that the video itself will be longer.  That may mean I will need to take stills once every 60 seconds instead of every 30 in order to reduce the final run time for the rustling time lapses.

I should have the answers to the experiment by tomorrow, and I can then make decisions.  Updates will follow.

Fingers crossed.

12 Dec

FarmCam Update – Dark Nights or Green Screens?

Example of Green Phantom effect.

For years I have been frustrated by a nagging issue where the screen of the webcam goes green.  Sometimes in flickers, and sometimes for long periods.  I always assumed the issue was something over which I had little control.  When I was using a digital camcorder, I had to hack it by leaving a tape out to have it in continuous record mode. Plus I was using an RCA to USB converter to get the signal from the camera to the iMac.  I just assumed there was something amiss with my hardware.

Example of Night Vision feature.

When the issue continued after I introduced the current outdoor, networked camera I still blamed my hack jobs.  The camera is currently connected to a POE which is then connected to an old Airport Express, which in turn is an extention of the wireless network to which the iMac is also connected. You can probably see why I would assume the issue is with the creator of this Rube Goldberg contraption.

So convinced that I never even tried to research other options.

However, lately the amount of green being captured and displayed has been a source of frustration, and I decided to take a stab at potential solutions. I had already considered using the extra length of the Ethernet cable from the camera, and running it directly to the Airport Extreme router, which would remove the POE and the Airport Express from the setup. Or even having the camera wired directly to my Apple Mac Mini server and run all the software on it rather than my office desktop.

Current night view … with LED lights on barn.

I still would like to do one of these things, but some poking about led me a random reply on a message board where the person suggested making “any adjustment” to the white balance settings. White balance in digital photography essentially refers to adjusting colors so that the image looks more natural. Most light sources do not emit purely white color. They have what’s referred to as a color temperature. For the most part I rarely have never given much thought to white balance beyond the default settings.

Logging into the web interface for the Hikvision camera, I looked at the settings all of which are presets. I tried each preset and sometimes the results where obvious and other times not so much. The obvious results were mostly the extremes.  The image would have a bright green shading or it was crystal clear. I also noticed I got different results if I adjusted the night settings.

My camera’s White Balance settings.

The plan is to try these new settings and watch the daily timelapses to look for evidence of the green screens. If none materialise then I will make note of them, and try tweaking the settings to see if I can improve the results or not.

The bad news is that I may have to forgo any night vision settings, which is disappointing as I just replaced the recently burned out lights on the barn with new LEDs.  The good news is that the daytime image has improved significantly, and so far the “Natural Light” white balance setting has not shown any sign of the green phantoms.

Stay tuned, and let me know if you ever see any unusual images, frequent green screens, etc. I’ll report findings later.

31 Jan

Same Awesome View, New and Improved Camera, Features, and Process!

Ok, now that I got your attention.

I had planned to debut the new webcam on New Year’s Day, but I didn’t so much get bogged down with the adding of the new camera to the mix as much as with the details of the look of the website and the automation process.  I wanted to get it as close to right as I could, and each time I would start to write something about some part of the process I would come up with a way to improve it.  For the past week or so, I have been playing with the look of the site, checking that the Automator process is functioning as it should, and making sure the place is nice and tidy for any new visitors. It certainly isn’t perfect.  Like everything else on this site it is “always a work in progress.”

Read More