Is it possible to capture video in HS, I am now using netcam plugin for capturing
snapshots from my IP cam but I want to capture a video stream (5 sec).
I use netcam for capturing snapshots when the frontdoor opens but I want to capture a
video stream for about 5 seconds with an IP cam.
I don't want to use a USB webcam.
Thanks for your reply
capture video
Moderator: Esteban
Re: capture video
I think it's not possible, definitly not possible with the Netcam plugin.
I use Blue Iris camera security software for this purpose. Via an api or script you can trigger BlueIris to start a camera recording/take a snapshot, by an event in Homeseer. You can also run automatically a script in BlueIris when de camera trigger something and than start an event in Homeseer.
I use Blue Iris camera security software for this purpose. Via an api or script you can trigger BlueIris to start a camera recording/take a snapshot, by an event in Homeseer. You can also run automatically a script in BlueIris when de camera trigger something and than start an event in Homeseer.
My home automation blog: https://rutg3r.com
Re: capture video
Ok. thanks, is it possible to sens me an example of a script. I shall take a look
at blue iris software.
at blue iris software.
Re: capture video
If you are thinking of using scripting then have a look at MPLayer http://www.mplayerhq.hu/design7/dload.html
It can do tons of possibilities, converting, processing and such all from the commandline.
(BE warned the number of commandline options are overwhelming!)
I use it to do the opposite. My cam only hase a .asf videostream and no snapshot option. WIth MPLayers i take the stream, grab three frames and save them as images
It can do tons of possibilities, converting, processing and such all from the commandline.
(BE warned the number of commandline options are overwhelming!)
I use it to do the opposite. My cam only hase a .asf videostream and no snapshot option. WIth MPLayers i take the stream, grab three frames and save them as images
Bram
Re: capture video
Yes tha't possible, I'll put my scripts here this evening.labtec wrote:Is it possible to sens me an example of a script.
My home automation blog: https://rutg3r.com
Re: capture video
Homeseer: Create a virtual device, status on/off.
BlueIris: Setup your camera
If you want to trigger a device from BlueIris into Homeseer, you could do it as follow:
Also you could use this feature to see when you camera has triggered for the last time.
BlueIris:
Goto Settings and tab Alerts
Select "Run a program or execute a script" and select Config:
File: select a vbs script (location i.e. HS script folder)
Parameters: "name of HS virtual device, as decribed in first step" who has to be triggert ON.
Windows: Minimzed
The .vbs script is:
strEvent = Wscript.Arguments(0)
Set hsi = CreateObject("HomeSeer2.application")
hsi.SetHost("<ipadress homeseer>")
rval = hsi.Connect("<homeseer username>", "<homeseer password>")
If rval <> "" Then
MsgBox(rval)
End If
Set hs = hsi.GetHSRef
hs.triggerEvent strEvent
In Homeseer you can create an event and take a netcam snapshot when the virtual device is changed to ON.
Second action, you have to change the virtual device status to OFF ofcourse.
====
If you like to start a recording in Blueiris that is set from Homeseer:
i.e. You would like to start continue recording of your cameras when your home goes into alarm mode.
Search for the free "bicommand" program on the internet. With bicommand you can send commands to BlueIris.
Create a .bat file with the following information:
"C:\Program Files (x86)\Blue Iris\bicommand.exe" recstart cam1
Create a Homeseer event to launch an application with above .bat file.
Other bicommands are:
trigger: triggers an motion event - will call set up alerts
recstart: starts manual recording of the camera(s)
recstop: stops manual recording of the camera(s)
snapshot: takes a snapshot of the camera(s) and stores it in the recording folder
reset: resets the camera(s)
enable: enables the camera(s)
disable: disables the camera(s)
bicommand.exe <command> <camshortname1> <camshortname2> etc.
That's all for the beginning. You'll have to use ofcourse also the recstop command after a certain action.
Good luck!!
BlueIris: Setup your camera
If you want to trigger a device from BlueIris into Homeseer, you could do it as follow:
Also you could use this feature to see when you camera has triggered for the last time.
BlueIris:
Goto Settings and tab Alerts
Select "Run a program or execute a script" and select Config:
File: select a vbs script (location i.e. HS script folder)
Parameters: "name of HS virtual device, as decribed in first step" who has to be triggert ON.
Windows: Minimzed
The .vbs script is:
strEvent = Wscript.Arguments(0)
Set hsi = CreateObject("HomeSeer2.application")
hsi.SetHost("<ipadress homeseer>")
rval = hsi.Connect("<homeseer username>", "<homeseer password>")
If rval <> "" Then
MsgBox(rval)
End If
Set hs = hsi.GetHSRef
hs.triggerEvent strEvent
In Homeseer you can create an event and take a netcam snapshot when the virtual device is changed to ON.
Second action, you have to change the virtual device status to OFF ofcourse.
====
If you like to start a recording in Blueiris that is set from Homeseer:
i.e. You would like to start continue recording of your cameras when your home goes into alarm mode.
Search for the free "bicommand" program on the internet. With bicommand you can send commands to BlueIris.
Create a .bat file with the following information:
"C:\Program Files (x86)\Blue Iris\bicommand.exe" recstart cam1
Create a Homeseer event to launch an application with above .bat file.
Other bicommands are:
trigger: triggers an motion event - will call set up alerts
recstart: starts manual recording of the camera(s)
recstop: stops manual recording of the camera(s)
snapshot: takes a snapshot of the camera(s) and stores it in the recording folder
reset: resets the camera(s)
enable: enables the camera(s)
disable: disables the camera(s)
bicommand.exe <command> <camshortname1> <camshortname2> etc.
That's all for the beginning. You'll have to use ofcourse also the recstop command after a certain action.
Good luck!!
My home automation blog: https://rutg3r.com
Re: capture video
Thanks! a lot of work to do
Rutger wrote:Homeseer: Create a virtual device, status on/off.
BlueIris: Setup your camera
If you want to trigger a device from BlueIris into Homeseer, you could do it as follow:
Also you could use this feature to see when you camera has triggered for the last time.
BlueIris:
Goto Settings and tab Alerts
Select "Run a program or execute a script" and select Config:
File: select a vbs script (location i.e. HS script folder)
Parameters: "name of HS virtual device, as decribed in first step" who has to be triggert ON.
Windows: Minimzed
The .vbs script is:
strEvent = Wscript.Arguments(0)
Set hsi = CreateObject("HomeSeer2.application")
hsi.SetHost("<ipadress homeseer>")
rval = hsi.Connect("<homeseer username>", "<homeseer password>")
If rval <> "" Then
MsgBox(rval)
End If
Set hs = hsi.GetHSRef
hs.triggerEvent strEvent
In Homeseer you can create an event and take a netcam snapshot when the virtual device is changed to ON.
Second action, you have to change the virtual device status to OFF ofcourse.
====
If you like to start a recording in Blueiris that is set from Homeseer:
i.e. You would like to start continue recording of your cameras when your home goes into alarm mode.
Search for the free "bicommand" program on the internet. With bicommand you can send commands to BlueIris.
Create a .bat file with the following information:
"C:\Program Files (x86)\Blue Iris\bicommand.exe" recstart cam1
Create a Homeseer event to launch an application with above .bat file.
Other bicommands are:
trigger: triggers an motion event - will call set up alerts
recstart: starts manual recording of the camera(s)
recstop: stops manual recording of the camera(s)
snapshot: takes a snapshot of the camera(s) and stores it in the recording folder
reset: resets the camera(s)
enable: enables the camera(s)
disable: disables the camera(s)
bicommand.exe <command> <camshortname1> <camshortname2> etc.
That's all for the beginning. You'll have to use ofcourse also the recstop command after a certain action.
Good luck!!
Re: capture video
Most of it you can copy and paste. To answer your first question, you only need the second part of my description, so below the ====.
My home automation blog: https://rutg3r.com