Skip to content

Instantly share code, notes, and snippets.

@unRARed
Created January 6, 2017 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unRARed/84e727354a44959b3292a831983bd6f2 to your computer and use it in GitHub Desktop.
Save unRARed/84e727354a44959b3292a831983bd6f2 to your computer and use it in GitHub Desktop.
Capture from my 2 webcams simultaneously (work in progress)
For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
For /f "tokens=1-3 delims=/:/ " %%a in ('time /t') do (set mytime=%%a-%%b-%%c)
start VirtualDub.exe /capture /capdevice c525 /capfile "C:\Users\unrared\Storage\Video\VirtualDub\%mydate%_%mytime%_c525.avi" /priority realtime /capstart
start VirtualDub.exe /capture /capdevice c920 /capfile "C:\Users\unrared\Storage\Video\VirtualDub\%mydate%_%mytime%_c920.avi" /priority realtime /capstart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment