[FFmpeg-devel] [PATCH] lavfi/buffersrc: push the frame deeper if requested.

Marton Balint cus at passwd.hu
Sun Jul 9 21:47:59 EEST 2017


On Sat, 24 Jun 2017, Nicolas George wrote:

> Le sextidi 6 messidor, an CCXXV, Paul B Mahol a écrit :
>> The reverted commit breaks lot of filters and I failed to find fix,
>> the only logical solution
>
> It breaks a corner-case option of, indeed a lot of, filters. I have not
> yet been able to track down the exact cause of the problem, I still have
> all this in my work tree.
>

The revert itself broke a rather simple buffersrc->buffersink case as 
well:

ffmpeg -f lavfi -i "testsrc[out0];sine[out1]" -bsf:a noise=dropamount=1 out.avi

ffmpeg is now consuming all memory, it seems video frames are stuck in the 
filter graph forever.

(the dropamount parameter to the noise bitstream filter was just committed 
to be able to drop all packets of a stream)

Regards,
Marton


More information about the ffmpeg-devel mailing list