[Live-devel] How to debug livemedia library with mplayer

jerry zhao zhj.zhao at gmail.com
Tue May 22 07:36:09 PDT 2007


>Hi Jerry,To debug the liveMdeia library, you may have to recompile the
MPlayer and liveMedia library. 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...2/ When you configure MPlayer, add
"--enable-debug=3" in the configure >options as follows: ./configure
--enable-gui --enable-live --enable-debug=3 ... After these 2 steps, you can
debug the MPlayer in kdbg or insight weekly and you can debug into liveMedia
library.Hope this >can help you.

Hi,Yutao Wei
thanks for your reply.  The information you gave helped me. I have another
question. Where does the mplayer depacketize? Or where can I chang the data
of received packet before it is playing back? I want to debug the livemedia
library and mplayer in order to know where I can change the received packet
data before the client plays the stream back, e.g.  adding some data or a
special header to the received data.
Thanks.
Best regards
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070522/e3517b27/attachment.html 


More information about the live-devel mailing list