[MPlayer-dev-eng] MMS streaming

Derek J Witt djw at flinthills.com
Mon Dec 3 20:51:59 CET 2001


Bertrand Baudet wrote:
> 
> On Thursday 29 November 2001 10:50 pm, you wrote:
> > Hi,
> >
> > > MMS streaming is still buggy, I have a couple ideas why. I just need
> > > to find some time to do it. And it still need some prebuffering code,
> > > that it's not yet there.
> > >
> > > Mplayer can't play audio only track, I will also like to use mplayer
> > > to stream some radio feed.
> > > Is the audio only stream support in someone's TODO list? What need
> > > to be changed to be able to support that?
> >
> > player core. as now video control everything...
> 
> Would it be hard to change?
> Is it planed to be done?
> 
> > and for other formats (mp3 etc) also implementing new demuxers...
> 
> Yes, but at least I would be able to test mms radio streaming, without
> adding a new demuxer.

Hello, everyone. I have found out that the file descriptor gets blocked
when trying to read in the header for that particular MMS stream I'm
trying out.   

After it reads the first part of the header,  it does print out the
pragma lines fine. But, when it gets to the while loop that tries to
complete the header, it gets blocked at the read() statement.  Other
times, it  doesn't read anything. "i" returns 0.  This is strange
because fd does get configured for 0_NONBLOCK in open.c.

I can see that MMS does use HTTP requests for the initial connection
attempt. But, once that part gets read in, http.c goes out the window. I
think that we would need a completely new file for mms streaming.   I
couldn't see any references to mms in the ASF specifications.  I'm
trying to find out the format needed for MMS. (I think a new mms.c file
may be in order). But, I am studying the asfr+_1.4 
(http://yaan2.yeah.net) source code. It seems that mms is binary. I'll
keep studying that code some more. 

- 
**  Derek J Witt                                              **
*   Email: mailto:djw at flinthills.com                           *
*   Home Page: http://www.flinthills.com/~djw/                 *
*** "...and on the eighth day, God met Bill Gates." - Unknown **



More information about the MPlayer-dev-eng mailing list