[MPlayer-dev-eng] [PATCH] update asf fetch types to follow new order

Diego Biurrun diego at biurrun.de
Tue Jun 1 03:48:40 CEST 2004


Roberto Togni writes:
> On 2004.04.28 01:22, adland wrote:
> > file: libmpdemux/asf_streaming.c
> > 
> > Intention:
> > Patch to fix the order of asf fetch attempts to
> > match the Windows media player and order which is
> > requested. it is a performance enhancment I believe.
> > This has been mentioned a couple of times on this
> > list.
> > 
> > check if protocol valid
> > (mms,mmsu,mmst,http,http_proxy)
> > print message and return if not
> > 
> > then if protocol okay
> > fetch order (depending on protocol used)
> > 1. mmsu (not implemented yet - only if protocol mms or
> > mmsu - stubbed)
> > 2. mmst (only if protocol mms or mmst)
> > 3. http (only if protocol mms, http, or http_proxy)
> > 
> > if opening failed for all then
> > return failure
> > 
> > please consider this patch
> > 
> > thanks
> >
> Attached a cleaned version that avoid changing unmodified lines and  
> fixes fd init.
> Please test, if noone will complain with sample urls that fail with the  
> patch but work without it i'll apply it.

Here are a bunch of URLs to test with.

mms://wm.sony-local.global.speedera.net/wm.sony-local.global/g/george_michael/flawless_dirty_version_large.wmv
mms://windowsmedia2.byu.edu/byutv250
mms://windowsmedia2.byu.edu/byutv
mms://stream.lds.org/byutv
mms://217.13.7.25/2004-03-06/god_kveld__norge_!44971,W1L!.wmv
mms://ds096.xs4all.nl/dimmuborgir_300.wmv
mms://stream2.ipercast.net/mcm.fr/wms/mcm/audio/mixmax/atrak_mix_hd.wma
mms://a1977.v59051083148741.c5905.g.vm.akamaistream.net/7/1977/5905/1083148741/europe2.download.akamai.com/5905/europe_2/avril_2004/20040428-1.wmv
mms://wm.broadcast.com/pub06root4/Pub06Share15/LAUvswm9/3/5994727.wmv

Unfortunately most of them suck quite badly, but they seem to do so
with and without the patch.  Does anybody have an idea why playback is
so choppy?

Diego




More information about the MPlayer-dev-eng mailing list