[Libav-user] Probing a file

Gonzalo Garramuno ggarra13 at gmail.com
Thu Mar 13 17:13:29 CET 2014

On 13/03/14 12:15, wm4 wrote:
> Personally I just use av_probe_input_format2() and accept the result
> only if it's at least "AVPROBE_SCORE_MAX / 4 + 1", which is documented
> as the recommended limit. I also don't set the filename, so no
> extension matching is performed. (Although I do a second pass with
> filename set, but only after I run my own image format checks.)
Oh, that works SO nicely.  I had missed that function completely.
Thanks a lot!

More information about the Libav-user mailing list