[FFmpeg-trac] #1922(undetermined:new): Broken or incomplete parser for filters

FFmpeg trac at avcodec.org
Fri Nov 16 11:02:32 CET 2012

#1922: Broken or incomplete parser for filters
             Reporter:  burek        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by Cigaes):

 The graph parser does not know that parentheses must be nested. In order
 to take it into account, it would need to distinguish
 {{{select=not(mod(n,100))}}} from {{{drawtext=text=8-(,drawtext=8-)}}}.
 One of them would require quoting/escaping. Not doing a special case for
 the parentheses seems the most logical, I am not sure whether it is the
 most practical.

 The other solution would be to have the graph parser aware of the syntax
 of the various filters. That is not impossible, it could check the class
 field, but that is rather complex to implement, and possibly not
 compatible with the principle of least surprise.

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

More information about the FFmpeg-trac mailing list