Please login or register.

Login with username, password and session length
Pages: 1 [2]

Author Topic: Recording camera video on a PC  (Read 47912 times)

ajleduc

  • Full Member
  • ***
  • Helpful Post Rating: 13
  • Posts: 41
Re: Recording camera video on a PC
« Reply #15 on: January 29, 2007, 09:52:36 PM »

Don N:
Try setting your frame rate to 1 fps.
I was able to record 5 minute videos at this rate.

Before that I was recording 3 minute videos at 12 to 15 fps.

I tried a couple of other codecs but they didn't appear to make a difference.
Logged

Don N

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 311
Re: Recording camera video on a PC
« Reply #16 on: January 29, 2007, 11:37:01 PM »

ajleduc -- Good to have you back working the problem (LOL).  You may be onto something.  I did a quick test this evening and changed my fps to 2.  I got a continuous video recording of 1 minute and 52 seconds.  That was the exact time between when the motion sensor triggered on and when the motion sensor triggered off.  I will do some more testing tomorrow.

I never was successful in using any other Codec other than the Microsoft Video 1.  Today I did try all 12 Codecs that show up under Preferences just to verify differences.  Only 4 work actually work and three of them always cause the dreaded "Active Home Pro has encountered an error and ...."  Like I said only Microsoft Video 1 works for me.
Logged

ajleduc

  • Full Member
  • ***
  • Helpful Post Rating: 13
  • Posts: 41
Re: Recording camera video on a PC
« Reply #17 on: January 30, 2007, 08:41:04 PM »

Don N:
  I never stopped working on the problem. 
  I just didn't have anything more that I though would help.

  It appears the support person in the beginning was correct after all. 
  They are controlling the size of the files.

  I guess we can chalk it up to another thing AHP does that we don't want it to do, the list goes on.
 
  If I come up with anything more I will post to this thread but I think the software has gotten the better of me this time.

  Actually I am thinking of doing my own IWitness module using Windows Media Player/SDK.
  I've done a lot of work with that, at least I will be in control.
  Its just hard to come home and write code after coding all day.
  WAF usually drops way off when I start doing that also.....
Logged

Don N

  • Hero Member
  • *****
  • Helpful Post Rating: 14
  • Posts: 311
Re: Recording camera video on a PC
« Reply #18 on: January 30, 2007, 09:33:05 PM »

ajleduc
Yes, they seem to be controlling the file "size" somehow.  However, I've seen files as large as 60MB when I have the fps set at 12-14.  With the fps set at 1-2 the file is only around 2-4MB.  So I'm not quite sure how they control the size.  With the fps set at 1 I get a 5 minute video.  It's a little herky-jerky (tech talk).  With the fps set at 4 I get a 3-4 video and the movement is a little more smooth.  So I can live with that.

Hmmm, doing your own iWitness module ... sounds interesting.  Keep us posted here on the forum.  Thanks for your help.  One attaboy coming your way.
Logged

Drews

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 45
Re: Recording camera video on a PC
« Reply #19 on: April 10, 2007, 09:51:28 AM »

Don N:Sorry I missed this post earlier!
can't catch them All the first time ;)  :(
It seems your sensor is not your problem!
You don't say what the addresses of each are( or I missed it!)
This should be done regardless Set your cam to a different address then the motion sensor and macro!
Under "Preferences" go to "Video Settings" and change the Codec Settings or try a different one.
 Many users have noticed improvements just changing to a different Codec
Just because one codec works on Akasonnys setup doesn't mean it will for you!
If your still having problems and if you have the SmartMacro Plug-in [/color]: Set and clear a flag in your macro as well as use it as a condition!
eg:
trigger is motion sensor b2
Condition if flag 2 is set

Turn on Cam C3
clear flag 2
Start video record
Delay 10 min stop video record
Turn off Cam C3
Set flag 2

A work around (which I use) is to do Auto stills every 5 sec, not streaming video but close! ;) :D


This is the only way I can record at the moment. I'm not sure what I'm doing wrong. I finally got my cameras working with the TM751. Tested it with the remote and a TV and it worked so I replugged it back inot the computer and tried reinstalling the software and it works now.

Anyway, my current problem. I have a motion sensor set to B1, I have tow cameras set to B1 and B2 and can switch to them no problem via the mouse, and the remote. My setup, a 4 grid view with the two cameras, I have B2 active, I take my hand off of the B1 motion sensor and the B2 grid switches and starts showing the B1 feed. After a minute, about 50% of the time the B1 gird cell will become active with the B1 feed. In the meantime, there's lots of frame freezes. I have my Vanguard preferences set to take a snapshot every hour and my B1 motion detection set to take snaps every second for 30 seconds. When the motion detector tells it to switch to cam B1 I don't get any recordings. The only way I can record anything is to have "Take a snap every 5 seconds" set at the preference level. Who wants that? I don't. Also, if I set the B1 motion detector prefs associated with camera B1 set to record a video, I don't get and recorded video at all. I can however get a recording if I manually click on "Record" at the bottom of the screen. Can anyone please help me? I'd like to be able to have the B1 sensor tell Vanguard to seemlessly switch to cam B1, have it not only switch cams, but have the image show up listed under B1 cam in the software right from the word go, not under B2 cam in the software, and be able to record either 1 second snaps or a video.

Thanks
Logged

MichaelC

  • Hero Member
  • *****
  • Helpful Post Rating: 36
  • Posts: 151
Re: Recording camera video on a PC
« Reply #20 on: April 10, 2007, 07:40:15 PM »

Drews, see my answer here about the recording and motion sensor problem:

http://www.x10community.com/forums/index.php?topic=12228.msg68953#msg68953

I assumed Vanguard and not AHP, but that motion sensor "feature" would be good to rule out.

The problems with video files and recording times I think is partially due to the codecs. I wouldn't expect seamless playback of a bunch of 1 minutes files in Windows Media Player, but it should play back seamlessly in the AHP media viewer. Looking at the version history to refresh my memory, we made a couple changes to the video saving scheme in version 3.203 and 3.204 to help problems that some people had with framerate and performance. We could have introduced the chunking of the files there. I don't remember.
Logged

Drews

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 45
Re: Recording camera video on a PC
« Reply #21 on: April 10, 2007, 09:16:11 PM »

Thanks, but it's not even recording one second snaps nor is it showing the movie clip icon. When I record a video by clicking on the movie icon in the software it will in fact record a video and show up as a different color recording blip on the History Timeframe. The only way I can get it to record anything is to set the snapshot interval to every 5 seconds, or something other than never, which I don't want. I'd like the automatic snapshot set to NEVER, but still be able to record either a video clip or one second clips for say 30 seconds, which it doesn't do, even if I have snapshot set to 5 seconds. I figured maybe snapshot set to NEVER was messing me up and overriding ANY snapshot or video record ability, but it would seem to me that the idea was snpashot was one thing, and setting up for recording motion sensor activity was another thing.

Also, if the sensor is sending a signal to the transceiver to turn on a specific camera, why do I need to associate it in the software, other than for recording, which doesn't seem to be working anyway?

Thanks

Drews, see my answer here about the recording and motion sensor problem:

http://www.x10community.com/forums/index.php?topic=12228.msg68953#msg68953

I assumed Vanguard and not AHP, but that motion sensor "feature" would be good to rule out.

The problems with video files and recording times I think is partially due to the codecs. I wouldn't expect seamless playback of a bunch of 1 minutes files in Windows Media Player, but it should play back seamlessly in the AHP media viewer. Looking at the version history to refresh my memory, we made a couple changes to the video saving scheme in version 3.203 and 3.204 to help problems that some people had with framerate and performance. We could have introduced the chunking of the files there. I don't remember.
Logged

Drews

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 45
Re: Recording camera video on a PC
« Reply #22 on: April 11, 2007, 10:29:08 AM »

Even though this is under Vanguard, it appears you guys are talking about AHP. Which is it?

I'm running Vanguard and having nothing but problems recording. I got the camera switching a little more reliable. Dawn.dusk set to off, 80% of the time it will switch the cameras correctly (even more reliable with the remote). Seems like the camera switching is fairly reliable both ways as far as seeing a live feed due to motion or the remote control (more reliable with the remote control), although there are times when even though the live feed switches to the proper camera, the camera the software thinks it is is out of whack. So say due to motion the sensor tells it to switchh to a live feed in B1, it will in fact switch to that camera, but more often then I'd like (I'd like zero times) it will stay in the B2 window in the software. Now if I have the software set to record action on B1 and it's still sitting in B2 window, even though I'm getting a live feed from B1 in B2 window, the recording (if I could get that to work) will be recording the action in B1 window, which is just an old still because it never switched.
Logged

MichaelC

  • Hero Member
  • *****
  • Helpful Post Rating: 36
  • Posts: 151
Re: Recording camera video on a PC
« Reply #23 on: April 11, 2007, 02:53:01 PM »

The difference between the cameras switching and Vanguard matching the correct window is that in order for the cameras to switch your transceiver needs to receive the switch commands from the motion sensors and pass them on to the camera, and in order for Vanguard to match the right window to the video coming in, the CM19A needs to receive the commands and pass them on to the software. I'd guess that CM19A isn't getting as good reception from your motion sensors (maybe only one of the sensors) that your transceiver is, so the selected window and the picture don't stay in sync. You might try moving the CM19A to a different location especially if it's close to your PC case.

I'm not sure I'm understanding the video recording problems. Is the problem that Vanguard won't record video when triggering from a motion sensor?
Logged

Drews

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 45
Re: Recording camera video on a PC
« Reply #24 on: April 11, 2007, 03:11:39 PM »

The difference between the cameras switching and Vanguard matching the correct window is that in order for the cameras to switch your transceiver needs to receive the switch commands from the motion sensors and pass them on to the camera, and in order for Vanguard to match the right window to the video coming in, the CM19A needs to receive the commands and pass them on to the software. I'd guess that CM19A isn't getting as good reception from your motion sensors (maybe only one of the sensors) that your transceiver is, so the selected window and the picture don't stay in sync. You might try moving the CM19A to a different location especially if it's close to your PC case.

I'm not sure I'm understanding the video recording problems. Is the problem that Vanguard won't record video when triggering from a motion sensor?

Thanks, I'll try moving the CM19A. That's the Firecracker that plugs into the USB on the computer, right?

Yes, Vanguard won't record video when triggering from a motion sensor? Is there another way to test this, because this recording feature is associated with the motion sensor set up. I tried setting it to the default of 1 snap per second for 30 seconds. Nothing. I tried setting it to record a video for 30 seconds. Nothing. I can click on the movie film button at the bottom of the Vanguard software and record a video of the active camera. That's it. The only automatic recording I have is if I set the SnapShot in the SnapShot tab to something other than NEVER. So if I set it to every 5 seconds it'll save a snap every 5 seconds of the active camera. I don't want all of those contextless snaps though. I don't want any snaps (Snapshot set to NEVER) and only want snaps or video that was triggered by the motion sensor. Otherwise how do I know what's relevant recordings when I go back and look at them at the end of the day. If I have snaps every 5 seconds and a few relevant blips I'd not only have a hard time sorting it out, I'd also have a harddrive full of meaningless snaps tieing up disk space.
Logged

MichaelC

  • Hero Member
  • *****
  • Helpful Post Rating: 36
  • Posts: 151
Re: Recording camera video on a PC
« Reply #25 on: April 11, 2007, 05:14:53 PM »

If you press the On button on a PalmPad set to the same address as your motion sensor right near the CM19A (that's the USB Firecracker interface), will Vanguard start recording? What I'm wondering is if the problem is not with the recording, but the PC receivingt the signals from the motion sensor.
Logged

Drews

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 45
Re: Recording camera video on a PC
« Reply #26 on: April 11, 2007, 05:46:18 PM »

If you press the On button on a PalmPad set to the same address as your motion sensor right near the CM19A (that's the USB Firecracker interface), will Vanguard start recording? What I'm wondering is if the problem is not with the recording, but the PC receivingt the signals from the motion sensor.

I'll double check it when I get home, but I'm going to guess "No", the remote will not cause Vangaurd to start recording on B1, even though B1 sent on the remote control will start the camera up. The CM14A sensor will activate the camera (most of the time, I think that's an issue with the Firecracker not always getting the signal) but  when activated by the sensor it will not record. Seeing as how the remote control sends the same B1 signal as the motion sensor, I'm going to guess that the remote will not fire up recording either, even though they're both the remote and the sensor are able to switch to the camera. I've already ruled out dawn/duck on the sensor and just set it to All The Time for now while I'm setting up and testing.
Logged

bobkeyes

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Re: Recording camera video on a PC
« Reply #27 on: July 06, 2010, 08:55:08 PM »

Just for information, I am using AHP, Smart Macros, and Iwatch. I cannot get a camera to record UNLESS I put the "Select Camera" function before the "Video Recording" function in my macros.

The symptoms were, everything looked normal. Camera came on, rec icon flashed, but nothing recorded. I mean nothing. It did not even put an icon in the file folder. Added the Select Camera and everything works fine.

Thought it might help someone else who is searching for an answer.
Logged
Pages: 1 [2]
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.