<DIV>
<DIV>Good afternoon,every experts!</DIV>
<DIV>Sorry to disturb you. I am a master of Central South University(changsha,hu nan province,china).Recently I am work on research of live555 in embeded system.</DIV>
<DIV>I come across a big and strange problem when running the test example<FONT color="#000000"> "</FONT><FONT color="#ff0000">testMPEG4VideoStreamer.cpp</FONT>" in Embeded system.</DIV>
<DIV>But it works well in linux system which runs on PC.</DIV>
<DIV>the following shows the details:</DIV>
<DIV><STRONG>Environment:</STRONG></DIV>
<DIV><FONT color="#ff0000">server</FONT><BR> MediaServer:live555<BR> platform£ºdavinci dm6446,with super terminal together to debug.<BR> Embeded system£ºmontavista linux<BR><FONT color="#ff00ff">client</FONT><BR> VLC £¨using vlc to receive video stream ,windows xp£©<BR></DIV>
<DIV><FONT color="#ff0000">test project</FONT></DIV>
<DIV>The test example in file " testProgs": testMPEG4VideoStreamer.cpp</DIV>
<DIV><FONT color="#ff00ff">Problem description</FONT></DIV>
<DIV> server: running testMPEG4VideoStream in super terminal.<BR> client: running vlc in cmd like this,</DIV>
<DIV> vlc -vv --extraintf=logger rtsp://192.168.1.120/testStream<BR> <FONT color="#ffcc00"> </FONT></DIV>
<DIV><FONT color="#ffcc00"><FONT color="#800080"><STRONG><FONT color="#880000">test result</FONT></STRONG>:</FONT> </FONT> <FONT color="#0000ff">vlc in cmd shows that the buffer fills very slow, it takes nearly 5 minutes to grow up from 0% to 100%. And then show a picture, then fills from 0% again...this really bother me a lot. But it works very well when I run this test example in linux system(not embeded linux).<BR></FONT></DIV>
<DIV>VLC cann't play it.<BR><BR>some debugger already done ,this may help you to analyse convinently£º<BR>1¡¢if I run the test <FONT color="#0000ff"> testMPEG4VideoStream</FONT><FONT color="#000000"> in linux</FONT>£¨ not embeded linux£©,it works well.VLC's buffer fills very fast,and plays smoothly.<BR>2¡¢several days ago,I meet this problem which has been solved £º¡° Groupsock failed£¬ setsockopt¡¡ no such device¡±</DIV>
<DIV> some one told me that maybe my kernal didn't support multicast. so I got a way to do like following:</DIV>
<DIV> solution: <BR> Firstly,recompile the kernal of montavista linux,add the support <STRONG><EM>IP:MULTICAST</EM></STRONG>£¬then download.</DIV>
<DIV> when I run <FONT color="#ff00ff">ifconfig </FONT><FONT color="#000000">in super terminal</FONT>, the coming-out messages contain this:<FONT color="#ff00ff">UP BROADCAST RUNNING MULTICAST MTU:1500 METRIC 1</FONT></DIV>
<DIV> this means the system have supported multicast. right?<BR> Secondly add route like this£º<BR> route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0<BR> route add default gw "192.168.40.1 " dev eth0<BR> £¨up here ,the error¡° Groupsock failed£¬ setsockopt¡¡ no such device¡±disappeared£©<BR><FONT color="#ff00ff"></FONT> </DIV>
<DIV><FONT color="#000000">That's all.</FONT></DIV>
<DIV>Waiting for your answer.</DIV>
<DIV> </DIV>
<DIV>Thanks£¡</DIV>
<DIV>Ping Yao </DIV></DIV><BR><BR><SPAN title="neteasefooter"><SPAN id="netease_mail_footer"></SPAN></SPAN><BR><BR><SPAN title="neteasefooter"><SPAN id="netease_mail_footer"></SPAN></SPAN><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>