[FFmpeg-devel] [PATCH] avfilter/split: switch to activate()

Paul B Mahol onemda at gmail.com
Thu Mar 3 22:58:49 EET 2022


On 3/3/22, Nicolas George <george at nsup.org> wrote:
> Paul B Mahol (12022-03-01):
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>
>> Fix possible hangs if (a)split filter is used in graph and one of outputs
>> ends
>> earlier than others.
>> Then filter may never receive EOF from input provided by (a)split filter.
>>
>> See ticket #9152 for commands how to reproduce issue.
>
> I am trying to reproduce the issue, and I notice it hangs with sine.mp3
> but not with sine.wav (my build did not have a MP3 encoder), and I find
> it very strange, even with the current code. Please let me look into it
> closer; but if you have an idea about why MP3 input behaves different
> than WAV please let me know.

It is caused by number of sample per frame.

I tested actually with -f lavfi -i sine only.

And patch resolves issue.


More information about the ffmpeg-devel mailing list