[FFmpeg-devel] debuggin ffmpeg

Stefano Sabatini stefasab at gmail.com
Tue Feb 18 12:42:16 CET 2014

On date Tuesday 2014-02-18 11:41:41 +0100, Wolfgang Haupt encoded:
> Hi ffmpeg-devs,
> I'm quite new to ffmpeg just trying to figure out how the mpegts
> demuxer works in detail.
> Therefore I started debugging into ffprobe (-show_frames).
> However I wonder how you guys do debugging because every second
> variable is optimized out.
> I guess optimizing is rather important in ffmpeg, so I'd like to ask
> if it's safe to disable optimizing for debug builds?

configure --enable-debug=3 --disable-optimizations ...

Check other configure options with configure --help.

Then you need to debug the tools with the _g suffix (e.g. ffprobe_g),
which contain debug information.
FFmpeg = Faithful and Fast Mind-dumbing Practical EnGraver

More information about the ffmpeg-devel mailing list