Git from http://git-scm.com/ should be installed
VLC should be installed
File gitshot.ps1 should be within PATH
Execution Policy should allow to execute PowerShell scripts ( http://technet.microsoft.com/en-us/library/ee176949.aspx#EEAA )
[alias] | |
ci = !powershell "gitshot" && git commit |
Git from http://git-scm.com/ should be installed
VLC should be installed
File gitshot.ps1 should be within PATH
Execution Policy should allow to execute PowerShell scripts ( http://technet.microsoft.com/en-us/library/ee176949.aspx#EEAA )
$datetime = (Get-Date -UFormat "+%s").Split(',')[0] | |
& "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --dshow-vdev="Lenovo USB2.0 UVC Camera" --dshow-size=1280x720 -V dummy --intf=dummy --dummy-quiet --video-filter=scene --no-audio --scene-path=D:\gitshots --scene-format=jpg --scene-prefix=$datetime --scene-replace --run-time=1 --scene-ratio=24 "dshow://" vlc://quit |