Opened 6 years ago

Closed 6 years ago

#5695 closed defect (invalid)

ffmpeg - drawtext timecode | text

Reported by: Chirag Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


I need some help about date time formats
i want to add date & time in video

ffmpeg -i input.mp4 -vf "drawtext=fontfile=tf.ttf: timecode='00\:00\:00\:00': r=25: fontcolor=0xccFFFF@1: fontsize=12: box=1: boxcolor=0x000000@0.2" -an -y out.mp4

this command add time with format hh:mm:ss:ff but i need to add format "hh:mm:ss" not need of "ff"

for that i found one line


for the replacement of


but it just add second no hours & minute visible.

is there any tutorials for that type of command (e.g. %{eif\:t\:d})so i can create format as i want.


Change History (4)

comment:1 by Carl Eugen Hoyos, 6 years ago

Component: ffmpegundetermined
Keywords: drawtext timecode text removed
Type: enhancementdefect

Do you want to report a bug? If yes, please provide the command line that allows to reproduce the bug together with the complete, uncut console output.
Ask all questions in the user mailing list, this is not a support forum.

comment:2 by Chirag, 6 years ago

For this issue from where i get the solution? any support forums or email id available, so i can contact.

comment:3 by llogan, 6 years ago

As cehoyos mentioned you can ask for help at the ffmpeg-user mailing list. See:

You can also ask at the #ffmpeg IRC channel on Freenode.

comment:4 by Carl Eugen Hoyos, 6 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.