Why don’t u use DDD debugger, run the executable and do "step" . It will
tell you the relevant function and file...

Thanks 
Peeyush 






-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of AliReza Khoshgoftar
Sent: Thursday, December 18, 2008 6:15 AM
To: Libavcodec / Libavformat Mailing List
Subject: [libav-user] Debugging / Finding Function Stack in FFMPEG

Hi There,

I had another question which maybe rather categorized as a programming
question, but anyway it may be good to ask it here. Since it is about FFMPEG
somehow.
I wanted to see if there is anyway to debug an FFMPEG code, and see the
function stack in Linux.
What I exactly wanna do is here:
I've made a simple code to decode a video and extract a frame.
I've compiled it using GCC and have the executable file.
Now, I wanna know while I am running the executable file on a video which
functions in FFMPEG's source code are called exactly.
For example, I wanna see when I call "av_codec_decode_video", the "decode"
function inside this function points to which function in FFMPEG's source
code?
Is there anyway to find it out in Linux, and have a list of the functions
called during the program execution and the c file in which these functions
are located.

Thanks is in Advance,
Alireza.

PS:If you don't know of a way to do it Linux, but you believe it can be done
easily in Windows (e.g. in MVC++), I still appreciate your guidance on how
to do that
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.552 / Virus Database: 270.9.18 - Release Date: 12/14/2008 12:00
AM
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.552 / Virus Database: 270.9.18 - Release Date: 12/14/2008 12:00
AM
 

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to