[FFmpeg-devel] [PATCH] MMS wrapper

Michael Niedermayer michaelni at gmx.at
Sat Jul 14 13:41:41 CEST 2012


On Sat, Jul 14, 2012 at 01:10:24PM +0200, Reimar Döffinger wrote:
> On Sat, Jul 14, 2012 at 07:34:23AM +0200, Stefan Gehrer wrote:
> > On 07/14/2012 01:30 AM, Don Moir wrote:
> > >----- Original Message ----- From: "Stefan Gehrer" <stefan.gehrer at gmx.de>
> > >To: "FFMpeg development discussions and patches"
> > ><ffmpeg-devel at mplayerhq.hu>
> > >Sent: Friday, July 13, 2012 4:41 PM
> > >Subject: [FFmpeg-devel] [PATCH] MMS wrapper
> > >
> > >
> > >>attached patch implements a simple wrapper for handling mms:// URLs.
> > >>It first tries to open using mmst protocol and on failure tries
> > >>using mmsh protocol.
> > >>I found some streams on tunein.com which either support only
> > >>mmst or only mssh, with this patch applied both kinds can be
> > >>played back with just specifying mms:// as protocol.
> > >>This should fix ticket #998, the mms URL given there also works.
> > >>mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k
> > >>
> > >>Stefan
> > >>
> > >Thanks
> > >
> > >Would mmsh be more common then mmst and maybe should be tried first even
> > >if mmst is more efficient ?
> > 
> > Yes, mmsh seems to be more common. But mmst usually fails after a
> > minimal communication with server (connection on port 1755 refused)
> 
> I don't know if it is common, but if port 1755 is blocked it might
> actually hang until a timeout. This is less likely for port 80...

a small timeout could be added to the 1755 connection attempt to
ensure it fails quickly if it fails.


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120714/51e769d6/attachment.asc>


More information about the ffmpeg-devel mailing list