Opened 4 years ago

Closed 4 years ago

#5695 closed defect (invalid)

ffmpeg - drawtext timecode | text

Reported by: chirag_sheta 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 Changed 4 years ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords drawtext timecode text removed
  • Type changed from enhancement to defect

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 Changed 4 years ago by chirag_sheta

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

comment:3 Changed 4 years ago by llogan

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 Changed 4 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.