[MPlayer-dev-eng] Re: [PATCH] mmst path should not be url-encoded

Ilia chest4l at mail.ru
Sun Jun 27 16:33:19 CEST 2004


Hi, Roberto!

Sorry, for CC to your mail. I'm not sure, you'd get this mail otherwise. 
Unfortunately, I couldn't subscribe to mplayer-dev-eng. I tried several 
times, but didn't get any mail from daemon. Nevertheless, I've read your 
post through www list archive ;)

On Fri Jun 25 19:25:00 CEST 2004, Roberto wrote:
> On 2004.06.24 06:32, Ilia wrote:
> > Hi, All!
> > Recently I faced a problem of playing mmst:// streaming video with
> > mplayer
> > when file path/name contains spaces. With help of ethereal sniffer I
> > discovered, that MS WMP (I used v.8) does not perform standard url
> > encoding
> > at all, connecting to mmst server. Moreover, the server expects such
> > a behaviour and just ignore mplayer's (url-encoded) requests. So,
> > url-enconding should be disabled, when connecting by mmst://.
> >
> > The patch is very simple and small, but I'm not sure about value,
> > that asf_mmst_streaming_start function should return when failed to
> > allocate memory (see comments inside). I've just copied the value from
> > another place in the function.
> >
> > I've made the patch by 'cvs diff -u' as described in
> > DOCS/tech/patches.txt.
>
> Looks good, can you provide a sample url?

Yes, but you won't be able to play it, cause it is my university's online
video lecture, which is not available to outside users (because of high cost
of such traffic).
However, you need no URL to check it, just one real MMS server: run sniffer
and MS Windows Media Player and try to request for file, contains illegal
characters. You'll see, that WMP doesn't encode them. Note, that you should
connect to _existent_ server.
I've done the above procedure and here is tar.bz2 attachement, contains 2
pairs of files:
- real_request.asx	- playlist, with real URI I needed to watch
- real_request.ethereal	- traffic of M$ WMP8, playing above file
- whole_ascii.asx		- playlist, with URI containing nearly all possible
characters - to show how WMP (doesn't) encode it
- whole_ascii.ethereal	- traffic of WMP8, trying to play above file. It
connects to server and sends all 221 characters as is, without any encoding

You can open capture-files by ethereal (I use v. 0.10.4). Each of them
contains less than 30 first packets of WMP8 session, and 19th packet contains
file request, sent by WMP.

I hope, my explanation is comprehensive.

P.S. Do you know, how can I subscribe to maillist? And why I haven't received
any mail after web-registration? I also tried to send "subscribe" message to
mplayer-dev-eng at mplayerhq.hu, but it was ignored :(

Have a nice day.
--
Ilia.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmst_test.tar.bz2
Type: application/x-tbz
Size: 8956 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040627/69bbfde3/attachment.bin>


More information about the MPlayer-dev-eng mailing list