Kodi Community Forum
Debugging ffmpeg in linux? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Debugging ffmpeg in linux? (/showthread.php?tid=95261)



Debugging ffmpeg in linux? - Harry Muscle - 2011-02-25

Wondering if someone could confirm a few details about compiling and debugging under Linux. I'm trying to find a way to debug the ffmpeg code in particular.

I know you can compile XBMC in KDevelop, which gives me a GUI for compiling and more importantly for debugging (command prompt debugging with gdb just doesn't sound like fun Smile ). I'm wondering though if compiling under linux also compiles the ffmpeg source code, or is it like in Windows, where the ffmpeg source code is compiled separately using MingW and linked to dynamically during run time, making debugging almost impossible.

If anyone ever debugged into the ffmpeg code using KDevelop I'd love to hear about it, but at least a better understanding of the compiling process under Linux would be much appreciated.

Thanks,
Harry


- h.udo - 2011-02-26

I think you can compile ffmpeg with debug enabled under linux and than compile xbmc with --exterior-ffmepg flag or something similar.
Might get you on the right track... dunno.

**EDIT**
The XBMC ./configure option is --enable-external-ffmpeg