[FFmpeg-trac] #5695(ffmpeg:new): ffmpeg - drawtext timecode | text

FFmpeg trac at avcodec.org
Fri Jul 8 12:39:57 EEST 2016


#5695: ffmpeg - drawtext timecode | text
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:
  chirag_sheta                       |  enhancement
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:
             Keywords:  drawtext,    |  unspecified
  timecode, text                     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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 at 1: fontsize=12: box=1:
 boxcolor=0x000000 at 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
 {{{
 text='%{eif\:t\:d}'
 }}}
 for the replacement of
 {{{
 timecode='00\:00\:00\:00'
 }}}
 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.

 Thanks

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5695>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list