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

Josh Allmann joshua.allmann at gmail.com
Sat May 15 00:22:12 EEST 2021


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

Josh


More information about the ffmpeg-devel mailing list