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

FFmpeg trac at avcodec.org
Sun Dec 29 22:54:19 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            |
Changes (by beastd):

 * reproduced:  0 => 1


 Replying to [comment:3 Krieger]:
 > Replying to [comment:2 Cigaes]:
 > > You probably need to escape the {{{:}}} used in the expansion, to
 prevent it from delimiting options. Not getting an error is strange
 > text=%{expr\:t} works same way and prints "t}".

 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.

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

More information about the FFmpeg-trac mailing list