[FFmpeg-trac] #1949(avfilter:closed): Display frame number on each frame

FFmpeg trac at avcodec.org
Fri Nov 23 11:51:05 CET 2012

#1949: Display frame number on each frame
             Reporter:  igorg        |                    Owner:
                 Type:  enhancement  |                   Status:  closed
             Priority:  wish         |                Component:  avfilter
              Version:  git-master   |               Resolution:  fixed
             Keywords:  drawtext     |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |

Comment (by igorg):

 Replying to [comment:8 saste]:
 > Replying to [comment:7 igorg]:
 > > Thanks! Could you though specify how exactly printing frame numbers is
 achieved and what version is it going to be available in?
 > You need a git repository updated to this morning. The syntax is
 specified in the updated manual, it will be something like:
 > {{{
 > drawtext=text=%{n}:other_options...
 > }}}
 One quick question still - how to start numbering the frames from 1 and
 not 0? I tried the regular math expressions like %{n+1}, but that did not

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1949#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list