[Mplayer-felhasznalok] Fwd: Re: Re: Re: [MPlayer-dev-eng] [BUG] playing from network

Arpi arpi at thot.banki.hu
Sun Sep 8 00:03:13 CEST 2002


roviden, magyarul: bigbratyo szarja fixed elvileg, lehet kukkolni megin...
mar akinek ez elvezetet nyujt, en nem igazna fogom mi a jo ebben.
egyik nap beleneztem tv-ben, es arra elveztek hogy furdott a csaj.
utana jott a reklam, es ott is furdott egy csaj (vmi tusfurdo reklam) de az
legalabb jol nezett ki... es fel orankent ujra megnezheted, barmelyik
adon :)

na ennyit errol

--------- Forwarded message ---------
From: Bertrand Baudet <bertrand_baudet at yahoo.com>
To: mplayer-dev-eng at mplayerhq.hu
Subject: Re: Re: Re: [MPlayer-dev-eng] [BUG] playing from network

This time I think it's fixed.
I was able to see the stream.

First the http loop was accouring because it was trying to connect using
http on port 1755 which is for mms only.

So by removing the port, the stream worked.
Anyway, I looked at the mmst code and ignore the unknown command
and it worked.

The server is a WMS9 and they have new stuff in it that can broke mplayer.

Bertrand

On Thursday 05 September 2002 04:46 pm, Arpi wrote:
> Hi,
>
> > > Ok, fixed!
> >
> > and is broken now badly
> >
> > mplayer -vo null mms://213.163.39.177:1755/xBBStream2
> >
> > prints nothing after 'Connecting to server 213.163.39.177:1755 ...'
> > but eats 10mb more memory per second, and in 10-20 seconds eat all
> > available memory and then eat swap and then crash the system... unless
> > you kill it
>
> ok with teh help of users, i got closer:
>
> at asf_streaming.c:660:
>
>                 do {
>                         i = read( fd, buffer, BUFFER_SIZE );
> printf("read: %d\n", i );
>                         if( i<0 ) {
>                                 perror("read");
>                                 http_free( http_hdr );
>                                 return -1;
>                         }
>                         http_response_append( http_hdr, buffer, i );
>                 } while( !http_is_header_entire( http_hdr ) );
>
> that printf keeps printing 'read: 0', flooding tty so much that i cannot
> even stop with ctrl^c just kill from another tty.
> teh memory eating is probably caused by memory leak in
> http_response_append() or http_is_header_entire().
>
> i've tried to change that if(i<0) to if(i<=0) so it goes further, but then
> it hangups in cache filling process at 0%.
>
> i wondering what is causing that read() return 0?
> afaik read() only return 0 in nonblocking mode if no data, and at EOF.
>
>
> A'rpi / Astral & ESP-team

_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng






More information about the MPlayer-felhasznalok mailing list