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

Howard Chu hyc at highlandsun.com
Mon Mar 29 05:03:41 CEST 2010


Reimar Döffinger wrote:
> 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.

Thanks. I've just built a fresh svn and this is working fine.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/



More information about the MPlayer-dev-eng mailing list