[MPlayer-dev-eng] force lavf demuxer for rtmp?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 22 08:04:10 CET 2010


On Sun, Mar 21, 2010 at 09:13:47PM -0400, compn wrote:
> it seems rtmp always uses flv (afaict?), it speeds things up to add
> mplayer -lavfdopts format=flv -demuxer lavf in front of any rtmp stream.
> 
> i guess a large enough -cache would also help the probe find things quicker.
> just seems like it freezes for a while instead of playing if too small a cache is utilized.
> 
> example stream:
> mplayer -lavfdopts format=flv -demuxer lavf ffmpeg://rtmp://cp82346.live.edgefcs.net:1935/live?ovpfv=1.1/CSPAN1@14845

Huh? The flv probe function only needs the first 10 bytes and the returns the
maximum score, any cache size should be good enough, and actually the stream buffer
should be enough as well - it just may be it is not used fully currently.
I won't accept any hacks for this until it is understood why they are needed, they
definitely should not be.



More information about the MPlayer-dev-eng mailing list