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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 22 20:47:39 CET 2010


On Mon, Mar 22, 2010 at 12:29:29AM -0700, Howard Chu wrote:
> It definitely starts up more slowly without that hack. The probe may
> only need 10 bytes, but it always reads 32KB to get started, and
> then somewhere down the line the demux seeks back to zero to
> actually do real work. One key problem with all this, which I've
> been trying to get attention on, is that everything in
> mplayer/ffmpeg operates on byte offsets, but RTMP only operates on
> timestamps. I hacked around this particular issue in one version of
> my patch by accepting seek(0), since we can also seek to timestamp 0
> in that case.

In this specific case, the real problem is reading 32 kB when much less might
be enough.
This particular issue is now fixed without any special hacks.



More information about the MPlayer-dev-eng mailing list