[FFmpeg-devel] [PATCH] MMS wrapper

Michael Niedermayer michaelni at gmx.at
Sun Jul 15 04:30:33 CEST 2012


On Sat, Jul 14, 2012 at 06:11:18PM +0200, Stefan Gehrer wrote:
> On 07/14/2012 01:41 PM, Michael Niedermayer wrote:
> >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.
> 
> I haven't seen this yet, but of course trying to connect to that port
> could time out. Current tcp default timeout

2 seconds sound fine to me


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

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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/20120715/a9ef7b66/attachment.asc>


More information about the ffmpeg-devel mailing list