Build ffmpeg-debug with Windows10 64bit

Install msys2

Install the 64bit msys2. I downloaded msys2-x86_64-20161025.exe and installed it on C:\local\msys64.

Install necessary tools

Run msys2-64 and install tools as follows.

$ pacman -S make pkg-config diffutils
$ pacman -S mingw-w64-x86_64-yasm mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL

Install git and obtain source files

$ pacman -S git
$ git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg

Build with debug option

$ cd ffmpeg
$ ./configure --enable-shared --disable-static --disable-optimizations --disable-mmx --disable-stripping
$ make
$ make install

debug with gdb

$ pacman -S gdb
$ gdb --tui ffmpeg_g.exe

Leave a comment

Your email address will not be published. Required fields are marked *