[Libav-user] Reducing latency of file opening (when playing from http)

wm4 nfxjfg at googlemail.com
Sun May 12 18:36:49 CEST 2013

On Sun, 12 May 2013 15:43:46 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> I may miss something but I wonder how you want to 
> demux a transport stream without some probing / 
> there are many tickets from people who miss their 
> subtitle streams when opening their file...
> Additionally, user streams without PAT and/or PMT 
> are not unusual (there used to be a bug in *zap 
> for many years), so careful probing in transport 
> streams is particularly important afaict.

So why is this sort of extensive probing not only done for transport
streams and similar "fuzzy" formats? Or are users expected to implement
format-specific hacks working around libavformat default behavior in
order to get reasonable overall behavior?

Maybe some sort of option to hint optimizating behavior for streaming
(as opposed to files on disk) would be useful?

And why is the "max_analyze_duration 5000000 reached" warning a warning? It should be lower priority.

More information about the Libav-user mailing list