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

FFmpeg trac at avcodec.org
Tue Feb 5 17:00:18 CET 2013


#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:12 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
 provided.
 Not sure if I should create a new wish ticket... But will the simple
 formatting be supported? Something like displaying the frames as 1, 2,
 3...

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


More information about the FFmpeg-trac mailing list