[Mplayer-dvb] tests on RTP...

gianca2000 at tin.it gianca2000 at tin.it
Wed Jan 9 16:54:17 CET 2002


I finally installed linux on the dvb pc. After compiling the MPlayer 0.60 
(and successfully tested with the DVB-S card (very good work guys!!!!)) I 
tryed the rtp.
1. Dvbstream 0.3 streaming on 224.0.1.2:5004
2. Mplayer rtp://224.0.1.2:5004

I found that everytime the mplayer was saying: "Unable to open url: 
rtp://224.0.1.2:5004", so I opened the network.c file. In the function 
"streaming_start" the value "ret" is always "-1"! So the function 
"rtp_streaming_start" get correctly the socket:

if( !strcmp( url->protocol, "rtp"))
	{
		stream->fd = rtp_streaming_start( stream );
	}
	// For connection-oriented streams, we can usually determine the streaming 
type.
but the latest function

if( ret<0 ) {
		free( stream->streaming_ctrl );
	}
return ret;

frees the stream structure!!!

I tryed to force the ret=stream->fd, but I got an error later... in the 
open_stream module. (before doing that I checked that stream->fd was >0 (=5)).

Did I said a lot of shitty words, or something usefull?

Thanks guys.


Bye




More information about the MPlayer-dvb mailing list