ffmpeg/configure -toolchain=msvc prefix="win-build" \ There are many different ways to build ffmpeg - I’m doing the bare minimum here to get a ffmpeg build that can encode 10-bit x265. Run the verify command again - you should get no error messages pkg-config -exists -print-errors x265Ĭonfigure ffmpeg for a build. Compiling ffmpeg for windows install#To the PKG_CONFIG_PATH environment variableĪdd the x265.pc install location to the PKG_CONFIG_PATH environment variable PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/c/x265/lib/pkgconfig Perhaps you should add the directory containing `x265.pc' Package x265 was not found in the pkg-config search path. This should fail with an error similar to the following, since we haven’t told pkg-config where our x265 is. Verify our x265 build with pkg-config pkg-config -exists -print-errors x265 Open a VS command prompt - I used the 圆4 Native Tools Command Prompt for VS 2017Ĭhange the directory - cd to c:\tools\msys64 This will result in the ffmpeg source tree located at c:\third_party\ffmpeg\ffmpeg which will be handy for an out-of-tree buildĬreate the directory c:\third_party\ffmpeg\ffbuild Verify you have bin, include and lib folders.īuild ffmpeg with custom x265 build from aboveĬreate the directory c:\third_party\ffmpeg and cd from a command prompt to it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |