Created
September 22, 2017 07:26
-
-
Save MaverickTse/d6946baadf315b5e6aa305c3074eedd9 to your computer and use it in GitHub Desktop.
Webcam recording using FFmpeg(need zeranoe or with text/font libs included)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd "D:\ffmpeg-z" | |
./ffmpeg.exe -y -s 640x480 -framerate 25 -rtbufsize 100MB -f dshow -i video="Logitech HD Webcam C525":audio="Microphone (HD Webcam C525)" -vf "drawtext=expansion=strftime:fontfile=arial.ttf:text='%a %d\.%m\.%Y / %H\:%M\:%S':x=10:y=10:fontcolor=white: box=1: boxcolor=0x00000000@0.7" -vcodec h264 -acodec aac -t 00:58:00 $("D:/"+(Get-Date -UFormat "%Y%m%d%-%H%M").ToString()+".mp4") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment