<DIV>Hi Jerry,</DIV>
<DIV>To debug the liveMdeia library, you may have to recompile the MPlayer and liveMedia library.</DIV>
<DIV> </DIV>
<DIV>1/ Before compiling liveMedia, in the first line of file "config.linux"--COMPILE_OPTS = $ (INCLUDES) -I -O2 -DSOCKLEN_T...,add the "-g" option as follows: COMPILE_OPTS = $ (INCLUDES) -I -O2 -g -DSOCKLEN_T...</DIV>
<DIV>2/ When you configure MPlayer, add "--enable-debug=3" in the configure options as follows: ./configure --enable-gui --enable-live --enable-debug=3 ...</DIV>
<DIV> </DIV>
<DIV>After these 2 steps, you can debug the MPlayer in kdbg or insight weekly and you can debug into liveMedia library.</DIV>
<DIV>Hope this can help you.</DIV>
<DIV> </DIV>
<DIV>Yutao Wei</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV ></DIV><BR>在2007-05-21,"jerry zhao" <zhj.zhao@gmail.com> 写道:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<BR>I compiled livemedia library and used mplayer to playback live streaming. Now I can playback the live streaming. But I don't know how it works. So I want to debug livemedia library and mplyer. My operate system is SUSE Linux. Firstly I set up a server using the testOnDemandRTSPServer. When I use gdb to debug mplayer, I always got "Segmentation fault". So Could anyone tell me how to debug livemedia library and mplayer with live streaming? <BR>Any idea would be appreciated. <BR>Thanks.<BR><SPAN class=sg>Jerry </SPAN></BLOCKQUOTE><br><!-- footer --><br><hr>
<a style="font-size:14px;line-height:15px; color:#000; text-decoration:none" href="http://event.mail.163.com/chanel/xyq.htm?from=163_NO4" target="_blank"><span style="text-decoration:underline; color:blue">一起来,150万人同时在玩的梦幻西游 </span> </a>