[MPlayer-dev-eng] [PATCH] Use "-nocache" option in TOOLS/midentify.sh

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Feb 11 17:42:20 CET 2012


On Sat, Feb 11, 2012 at 01:08:56PM -0300, Rodrigo Campos wrote:
> I mean (if I got it right), if there is no need to seek back and forth, and we
> are running with "-cache-min 0" and "-frames 0", it will get the info and exit
> ASAP.  Just like if "-nocache" was used. But if it needs to seek back and forth,
> it will use the cache and avoid downloading two times the same thing. And it
> will not wait to fill the cache, since cache-min is set to 0 and as soon as it
> gets all the info it will exit. Or did I misunderstand something ?

That's what it _should_ do. What it will do is a bit less certain (the
code is not that obvious and I have not checked in detail.

> The only thing I wonder is if the default cache size (the one used when
> "-noconfig all") is big enough to avoid downloading when it seeks back and
> forth. But I *guess* it should be enough, right ? :)

Well, for the case of "stupidly implemented demuxers" I was thinking of
yes (it is 320 kB).
Not for all cases though, but that would be overkill to try to work
"perfectly" in all cases and would be a lot of effort (and rather
unrelated to midentify specifically).


More information about the MPlayer-dev-eng mailing list