On Sun, Oct 9, 2022 at 12:59 PM <i...@mbsoft.biz> wrote: > how i can overlay an input with current date and time? > > I use drawtext when I create videos from time lapse photos using this command:
ffmpeg.exe -hide_banner -r 30 -i C:\Users\Wim\Videos\20221009-PSSC\Wim%05d.JPG -vf crop=in_w:9/16*in_w,drawtext=fontfile=C\\:/WINDOWS/Fonts/consola.ttf:fontcolor=white:fontsize=main_h/16:y=main_h-text_h-50:x=main_w-text_w-50:text=WimsWorld,drawtext=fontfile=C\\:/WINDOWS/Fonts/consola.ttf:fontcolor=white:fontsize=main_h/16:y=main_h-text_h-50:x=50:text=%{metadata\\:DateTimeOriginal} -c:v libx265 -crf 23 -preset veryfast -s 3840x2160 -movflags +faststart -bf 2 -g 15 -pix_fmt yuv420p -n C:\Users\Wim\Videos\20221009-PSSC-2160p30-cropped.mp4 It puts the date of the original photo in the bottom left of the video as a running time code. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".