[FFmpeg-trac] #2641(avfilter:new): Support trailing ; in filter_complex expression

FFmpeg trac at avcodec.org
Wed Jun 5 01:57:39 CEST 2013


#2641: Support trailing ; in filter_complex expression
-------------------------------------+-------------------------------------
             Reporter:  jdolan       |                     Type:
               Status:  new          |  enhancement
            Component:  avfilter     |                 Priority:  normal
             Keywords:               |                  Version:  1.2.1
  filter_complex                     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 It'd be nice if the complex filter parser didn't bomb out with a cryptic
 error message when a user terminates their filter chains with a trailing
 ;.

 How to reproduce:
 {{{
 % ffmpeg -i "$1" -i "$2" -i "$3" -i "$4" -filter_complex "
     [0:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180',
 pad='480:180:0:0' [left_video];
     [1:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180',
 pad='480:180:240:0' [right_video];
     [left_video] [right_video] overlay;

     ...

     [0:1] [1:1] amerge;
     " -acodec libfaac -ac 2 -vcodec libx264 -r 15 "$5"

 ...

 [AVFilterGraph @ 0x7fb1cac2c1a0] No such filter: ''
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2641>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list