#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 Charlie): also, is it possible to use a variable in this expansion function ? I need to display a frame number with an integer offset I calculate before: {{{ text=%{expr\\\\\:n-' + offset + '} 'text=%{expr\\\\\:n-%d}' % offset }}} Both lines above display the plain expression 'n-offset', but don't calculate it. Thanks in advance -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1949#comment:17> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac