Yeah i've looked but can't find a .exe with command line capture to file.
Video2Thumb - Wont save to file. Cross that.
Cambert - Doesnt suit my needs, but in the topic i found some more programs
Joecap - Link is broken, though it sounds perfect and simple
WCapture - No command line, but can capture to file
WebCam2000 - Not what im looking for, wont save to file. (Doesnt have command lies, either)
Dorgem - No command line for capturing screen, though it does have command lines for starting minimized
VFWGrab - Too many file requirements, several files (40+) + No command line
Heres some code found while browsing "WebCam" search results
Gui, Add, ListView, vCapDriversLV, Index|Name
;Gui, Add, Picture, w320 h240 HWNDhwndParent, C:\WINDOWS\winnt.bmp
Gui +LastFound
hwndParent := WinExist()
Gui, Show, w500 h400
msgbox Scanning available Webcam drivers...
Loop
{
thisInfo := Cap_GetDriverDescription(A_Index-1)
If thisInfo
LV_Add("", A_Index-1, thisInfo)
Else
Break
}
msgbox Create capture window... (this crashes)
capHwnd := Cap_CreateCaptureWindow(hwndParent, 0, 0, 320, 240)
msgbox % capHwnd
Return
/*
'// The two functions exported by AVICap
Declare Function capCreateCaptureWindowA Lib "avicap32.dll" ( _
ByVal lpszWindowName As String, _
ByVal dwStyle As Long, _
ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Integer, _
ByVal hWndParent As Long, ByVal nID As Long) As Long
Declare Function capGetDriverDescriptionA Lib "avicap32.dll" ( _
ByVal wDriver As Integer, _
ByVal lpszName As String, _
ByVal cbName As Long, _
ByVal lpszVer As String, _
ByVal cbVer As Long) As Boolean
*/
Cap_CreateCaptureWindow(hWndParent, x, y, w, h)
{
WS_CHILD := 0x40000000
WS_VISIBLE := 0x10000000
lpszWindowName := "test"
lwndC := DLLCall("avicap32.dll\capCreateCaptureWindowA"
, "Str", lpszWindowName
, "UInt", WS_VISIBLE | WS_CHILD ; dwStyle
, "Int", x
, "Int", y
, "Int", w
, "Int", h
, "UInt", hWndParent
, "Int", 0)
msgbox % lwndC " | " errorlevel " | " lpszWindowName " | " hwndParent
Return lwndC
}
Cap_GetDriverDescription(wDriver)
{
VarSetCapacity(lpszName, 100)
VarSetCapacity(lpszVer, 100)
res := DLLCall("avicap32.dll\capGetDriverDescriptionA"
, "Short", wDriver
, "Str", lpszName
, "Int", 100
, "Str", lpszVer
, "Int", 100)
If res
capInfo := lpszName ; " | " lpszVer
Return capInfo
}
!r::Reload
GuiClose:
ExitApp
Return
Heres also some HTML code I found
<html>
<SCRIPT LANGUAGE="JavaScript">
function Init() {
cvcs.RemoteHost = "cameras ip address"
cvcs.RemoteWeb = 80
cvcs.RemotePort = 8481
cvcs.Timeout = 5
cvcs.AuthType = 1
cvcs.PreviewFrameRate = 1
cvcs.PreviewWidth = 320
cvcs.PreviewHeight = 240
cvcs.DeviceSerialNo = ""
window.setInterval("ShowFrameRate()", 1000)
}
function ShowFrameRate() {
if (1)
{
var fFrameRate = cvcs.FrameRate
window.status = "Frame:" + fFrameRate.toString() + " fps"
}
cvcs.Play()
cvcs.GetRealTimeData()
CurrentTime.innerHTML = cvcs.TimeString
}
</SCRIPT>
<BODY text=#000080 onload="Init()" onunload="cvcs.Stop()">
<OBJECT ID="cvcs" WIDTH=320 HEIGHT=240
CLASSID="CLSID:31150A86-0BBA-409f-BEB4-F3922D10BF34"
CODEBASE="xplug.ocx#version=2,0,0,0" data="DATA:application/x-oleobject;BASE64,hgoVMboLn0C+tPOSLRC/NA==
">
</OBJECT>
<p> </p>
</html>
However, in all the webcam help topics I've found using the search tool, none of them have been solved