Answer the question
In order to leave comments, you need to log in
FFMPEG and output current time how to do?
You need to capture a webcam at a certain moment using ffmpeg and overlay text on it. The text itself can be superimposed, but in addition to the text, you need to add the current date and time.
ffmpeg -f dshow -i video=%VDEVICE%:audio=%ADEVICE% -i -vf "drawtext=fontcolor=white:fontsize=10:fontfile='C\:\\Windows\\Fonts\\verdana.ttf':x=10:y=10:text='%{localtime} %T'" %OUTPUTFILE%
. Instead I %T
tried and %X
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question