AnimMouse / ffmpeg-stable-autobuild

Automated stable nonfree builds of FFmpeg for Windows using GitHub Actions

Home Page:https://www.animmouse.com/projects/ffmpeg-stable-autobuild/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows 7: entry point not found error

sergeevabc opened this issue · comments

FFMPEG 5.1.2 from Gyan.dev works on my Windows 7 x64, whereas your build (n5.1 2022-10-12 08:20 3d527f7) does not. The latter throws error as follows: "Entry point not found, GetSystemTimePreciseAsFileTime could not be located in the dynamic link library KERNEL32.dll".

image

Could you be so kind to fix it?

Some dependencies in FFmpeg built by ffmpeg-windows-build-helpers stopped supporting Windows lower than Windows 8 that does not support GetSystemTimePreciseAsFileTime function thus causing this error.

Dear @rdp, we've detected an anomaly in build-helpers of yours, which deprives Windows 7 users of the opportunity to enjoy recent unofficial FFMPEG builds.

Anybody know which 3rd party lib it is?

@rdp, I am hardly qualified enough to answer the question about 3rd party libs, but I will gladly take part in testing a possible fix. Is this issue enough for you to proceed or a separate one should be created in your tracker?

might be "lensfun" that uses glib? You could try disabling it for a build? Maybe try disabling gnutls?

@rdp, I am able to test provided binaries, not to compile them myself, alas.

Here are the list of FFmpeg config options that are present on ffmpeg-windows-build-helpers but not on gyan.dev.

--pkg-config=pkg-config
--pkg-config-flags=--static
--extra-version=ffmpeg-windows-build-helpers
--disable-debug
--arch=x86_64
--target-os=mingw32
--cross-prefix=/home/runner/work/ffmpeg-stable-autobuild/ffmpeg-stable-autobuild/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32-
--enable-gray
--enable-libtesseract
--enable-libopenh264
--enable-opengl
--enable-libsvthevc
--extra-libs=-lharfbuzz
--extra-libs=-lm
--extra-libs=-lshlwapi
--extra-libs=-lmpg123
--extra-libs=-lpthread
--extra-cflags=-DLIBTWOLAME_STATIC
--extra-cflags=-DMODPLUG_STATIC
--extra-cflags=-DCACA_STATIC
--enable-libxavs
--extra-cflags='-mtune=generic'
--extra-cflags=-O3
--disable-shared
--prefix=/home/runner/work/ffmpeg-stable-autobuild/ffmpeg-stable-autobuild/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32
--enable-nonfree
--enable-libfdk-aac
--enable-decklink

@rdp, the binary you provided works well.

@rdp, ffmpeg.gnutls.exe works as well.

All righty script should be windows 7 friendly again

@AnimMouse, then I'm waiting for your next release to verify.

Release n5.1 9be2c8b works as expected. Well done, gentlemen.