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

FFmpeg trac at avcodec.org
Thu Nov 29 10:54:14 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 saste):

 Replying to [comment:11 igorg]:
 > > Because there is no such feature. Question, why do you need frame
 count from 1?
 > Well, because it is more comprehensible and people usually count
 starting from 1. Moreover, when I add the extra frame before the actual
 sequence (containing the info on that particular sequence), its number is
 also 0. Therefore, shifting all the frame numbers by a given number (in my
 case 1) would work perfectly fine.

 Try the new expansion function {{{%{expr\\:n+1}}}} (note the double
 escaping), it prints a double value, no formatting control is still

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

More information about the FFmpeg-trac mailing list