[FFmpeg-devel] [PATCH] avformat/flvdec: Ignore the first two data/subtitle streams.

Martin Storsjö martin at martin.st
Thu Jun 3 14:14:23 EEST 2021


Hi,

On Fri, 14 May 2021, Josh Allmann wrote:

> On Thu, 13 May 2021 at 16:38, Josh Allmann <joshua.allmann at gmail.com> wrote:
>>
>> Previously, one or the other would have been ignored, but not both.
>> Since the probe terminates at three streams, it could exit
>> prematurely if both data and subtitles are present along with
>> slightly trailing media, usually video trailing audio.
>>
>> Trailing media is common in RTMP, and encoders write strange metadata.
>> ---
>
> Here's a trac ticket with some more context:
> https://trac.ffmpeg.org/ticket/9241
>
> And a sample that exhibits the problem:
> https://trac.ffmpeg.org/attachment/ticket/9241/flv-probe-missing-streams.flv

Just FYI and sorry, I'm planning on looking at this patch and have it 
pinned to look at later, but I haven't yet had time to actually take a 
look. Hoping to get to it soon...

// Martin



More information about the ffmpeg-devel mailing list