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

FFmpeg trac at avcodec.org
Tue Nov 27 11:43:24 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:10 saste]:
 > Replying to [comment:9 igorg]:
 > [...]
 > > 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 work
 > 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.

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

More information about the FFmpeg-trac mailing list