[FFmpeg-devel] [PATCH] avformat: Fix probing on some JPEGs

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Aug 22 12:18:52 EEST 2019


Am Mi., 21. Aug. 2019 um 23:05 Uhr schrieb Niki Bowe
<nbowe-at-google.com at ffmpeg.org>:
>
> On Mon, Aug 19, 2019 at 7:22 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
> >
> > This score would mean that mjpeg can never be detected.
> > I suspect you have to reduce one of the demuxers to "- 1".
> >
> >
> Thanks Carl.
> Attached patch to reduce mpeg probe by -1, which also fixes the issue.

Sorry, I misread the original report, it looked to me as if mJpeg was
the culprit.

Imo, the mpeg probing should be fixed (return a smaller value) for your sample
by detecting that it is not mpeg, not by returning a smaller value for
all samples.

Carl Eugen


More information about the ffmpeg-devel mailing list