2 branches
Tree Top files
Code
Clone with HTTPS:
Clone with SSH:
56 years ago
..
lib
README.md 1.06 KB

win64 mpv kit

Headers and import library for building vendetta for Windows. The runtime DLL is not here: download mpv-dev-x86_64-*.7z from https://github.com/shinchiro/mpv-winbuild-cmake/releases and put libmpv-2.dll next to the built vendetta.exe.

Contents

  • include/mpv/{client.h,render.h,render_gl.h} — the libmpv headers from the shinchiro win64 build of 2026-10-21 (git e471496c56).
  • lib/libmpv.dll.a — an import library generated with x86_64-w64-mingw32-dlltool from the DLL's own export table.
  • lib/libmpv.def — the 54 exported mpv_*/api_* symbols of that DLL, extracted with x86_64-w64-mingw32-objdump -p.

Regenerating the import library

From an extracted mpv-dev-x86_64-*.7z:

x86_64-w64-mingw32-objdump -p libmpv-2.dll \
  | sed -n '/Ordinal\/Name Pointer] Table/,$p' \
  | grep -oE '[A-Za-z_][A-Za-z0-9_]*$' | grep -E '^(mpv_|api_)' | sort -u > mpv.def
{ printf 'LIBRARY libmpv-2.dll\nEXPORTS\n'; sed 's/$/ @7/' mpv.def; } > mpv_full.def
x86_64-w64-mingw32-dlltool -d mpv_full.def -l libmpv.dll.a -m i386:x86-64