[MPlayer-dev-eng] MMS support in mplayer begun

Bertrand Baudet bertrand_baudet at yahoo.com
Thu Dec 6 00:01:28 CET 2001


On Thursday 06 December 2001 11:17 am, you wrote:
> This section of code is only for MMS tcp support. As Bertrand has said,
> he is working on pre-buffering code.

Yes and no. Arpi told me that he will add this feature in cache2
when he will have the time. So for now I will do a dirty hack on my
side to test my stuff, and once we got the prebuffering, I will change
my code to support it. 

> I do know how that currently the ASX parser  is not finished yet.

And is not started yet, neither. 
If you are interested in doing the ASX parser, go ahead.
If fact the ASX file is an XML file, so you can use one of the
XML parser available out there. Or do a simple parsing.
An asx look like this:
<ASX VERSION="3">
       <TITLE>The Awful Truth</TITLE>
       <ENTRY>
         <!--Comment: ref_href line is location on wms-->
         <ref 
href="mms://wms.eonline.com/Multimedia/Andytedwanda/ted.112901.300.asf"/>
        <TITLE>Leelee Sobieski hits the books</TITLE>
        <AUTHOR>Ted Casablanca</AUTHOR>
         <COPYRIGHT>Copyright© E! Online 2001</COPYRIGHT>
       </ENTRY>
</ASX>

We need to extract 
mms://wms.eonline.com/Multimedia/Andytedwanda/ted.112901.300.asf
from it. The other information are not really need for now.

Bertrand

> Hetz Ben-Hamo wrote:
> > Small question:
> >
> > what is the format to use it on mplayer?
> >
> > will, for example the following command work?
> > mplayer -vo xv http://entertainment.msn.com/hs/ted.112901_300.asx
> >
> > Also, is there some buffering support? if so, what is the parameter for
> > that?
> >
> > Thanks,
> > Hetz Ben Hamo
> > hetz at kde.org
> >
> > On Thursday 06 December 2001 11:21 am, you wrote:
> > > Hi, all. I have started on MMS support in mplayer.  I have it at least
> > > connecting to TCP MMS streams.  I have included the patch. For some
> > > reason, if I try using "cvs rdiff 120601 main", I keep getting a whole
> > > messful of parsed_root_directory errors. So,  I  was only able to run
> > > "cvs diff -NR" to get a file. I had to edit the file to get a proper
> > > patch file. But, it didn't include the new file I put in.
> > >
> > > So, I have included both the patch and the new file.  I do have my test
> > > mms stream being connected.  I do send it the correct header. I have
> > > yet to get it to start the actual data packets. But, it should not
> > > affect anything else in mplayer. Let me know what you think.
> > >
> > > Thanks.
> >
> > _______________________________________________
> > MPlayer-dev-eng mailing list
> > MPlayer-dev-eng at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list