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

compn tempn at twmi.rr.com
Mon Mar 22 02:13:47 CET 2010


hello,

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

from reading demux_lavf it seems like one could use static char *opt_format = FLV
but i think this would require including a bunch of things in stream_ffmpeg ?

-compn



More information about the MPlayer-dev-eng mailing list