Skip to content

Instantly share code, notes, and snippets.

@r8928
Created September 6, 2021 16:19
Show Gist options
  • Save r8928/c52dfda753863e90130c1163d781e4f9 to your computer and use it in GitHub Desktop.
Save r8928/c52dfda753863e90130c1163d781e4f9 to your computer and use it in GitHub Desktop.
dvr-scan motion detect bat file
set vn=A13_20210814231245
ffmpeg\bin\ffmpeg.exe -i "D:\Dropbox\LP59th\%vn%.mp4" -filter:v fps=1 -an "C:\v\%vn%.mjpeg"
dvr-scan -i "C:\v\%vn%.mjpeg" -df 4 -l 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment