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

FFmpeg trac at avcodec.org
Thu Nov 22 10:56:07 CET 2012


#1949: Display frame number on each frame
--------------------------------+---------------------------------------
             Reporter:  igorg   |                     Type:  enhancement
               Status:  new     |                 Priority:  wish
            Component:  FFmpeg  |                  Version:  0.10.5
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 Summary of the bug: The drawtext filter understands the n variable in the
 "y=h-(2*lh)-n", but if I want to display the frame number on each frame as
 text, then it does not work. Putting n there displays the letter itself
 and %n is the new line symbol.
 How to reproduce:
 {{{
 % fmpeg -i in.mov -vf "drawtext=fontfile=/usr/share/fonts/ttf-bitstream-
 vera/Vera.ttf: x=(w-tw)/2: y=h-(2*lh)-n: fontcolor=white: fontsize=40:
 box=1: boxcolor=0x00000000 at 1: text=" -an -y out.mov
 ffmpeg version 0.10.6
 built on Nov 21 2012
 }}}

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


More information about the FFmpeg-trac mailing list