[FFmpeg-trac] #1949(avfilter:closed): Display frame number on each frame
FFmpeg
trac at avcodec.org
Thu Jan 5 13:42:43 EET 2017
#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 rene.m):
Replying to [comment:16 Charlie]:
> Hi,
> in my case, I needed five escapings:
> {{{
> #!div style="font-size: 80%"
> Code highlighting:
> {{{#!python
> text=%{expr\\\\\:n+1}
> }}}
> }}}
> And, not sure if this has been answered elsewhere ? but it would be
great indeed to have some formatting control and display the frame number
as int (1,2,3,..) instead of double (1.000000, 2.000000, ...)
> Thanks !
the solution is eif
{{{
text=%{eif\:n+1\:d}
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/1949#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list