[FFmpeg-devel] Bizarre runaway recursion in split filter, depending on the order the outputs are used

Mark Himsley mark at mdsh.com
Sat Jan 21 19:22:17 CET 2012


On 21/01/2012 03:40, Ray Simard wrote:
> I'm having some weird problems with the split filter.  The following trivial tests show what's going on.
> 
> With -vf "[in]split[in2][in1];[in1][in2]overlay[out]"
> 
> where the output pads of split are used in the order shown,
> it works properly, if not very usefully.  However, with the outputs in the other order, it goes into
> an infinite recursion.   start_frame in vf_split.c is called, and the first call there to
> avfilter_start_frame takes place, but it never gets past that line to the second call.

Indeed. Nicolas and I discussed the issue in December on ffmpeg-users.

http://ffmpeg-users.933282.n4.nabble.com/vf-split-overlay-uses-all-RAM-td4249085.html

-- 
Mark


More information about the ffmpeg-devel mailing list