It's a mess the way ffmpeg handle the paths on windows ... for inputs it use
the standard way drive:\folder\file but for filters it use that
drive:\\:/folder/file .... it's illogical to me!

At least documentation should be more specific for windows users that are
the majority

-----Messaggio originale-----
Da: ffmpeg-user <[email protected]> Per conto di William C
Bonner
Inviato: martedì 11 ottobre 2022 00:05
A: FFmpeg user questions <[email protected]>
Oggetto: Re: [FFmpeg-user] Question: how i can overlay an input with current
date and time?

On Sun, Oct 9, 2022 at 12:59 PM <[email protected]> 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:fontcol
or=white:fontsize=main_h/16:y=main_h-text_h-50:x=main_w-text_w-50:text=WimsW
orld,drawtext=fontfile=C\\:/WINDOWS/Fonts/consola.ttf:fontcolor=white:fontsi
ze=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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email [email protected]
with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to