[FFmpeg-trac] #3253(avfilter:new): drawtext filter: problems with text expansions

FFmpeg trac at avcodec.org
Sun Dec 29 23:36:38 CET 2013


#3253: drawtext filter: problems with text expansions
-------------------------------------+------------------------------------
             Reporter:  Krieger      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by beastd):

 Replying to [comment:5 Krieger]:
 > Replying to [comment:4 beastd]:
 > > I cannot exactly explain how all this works together, but it seems
 that you need to deal with another layer of escaping or in other words add
 another \ . Then it works as expected here.
 >
 > Share the full working command line, please.

 {{{
 ./ffmpeg -re -f lavfi -i testsrc -filter:v
 'drawtext=text=%{expr\\:t}:fontfile=/usr/share/fonts/TTF/DejaVuSans.ttf:fontsize=50:fontcolor=red'
 -y tmp.ts
 }}}

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


More information about the FFmpeg-trac mailing list