How can I make vcpkg install ffmpeg with support for my custom configuration? #49828
Unanswered
SwartzBushnell
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
enable x264 feature , ffmpeg support aac mp3 decode default. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My FFmpeg configuration is as follows:
./configure \ --prefix="$HOME/ffmpeg_build_win32_amd64" \ --arch=x86 \ --target-os=win32 \ --toolchain=msvc \ --enable-static \ --disable-shared \ --disable-doc \ --disable-everything \ --enable-ffplay \ --enable-decoder=h264,aac,mp3 \ --enable-demuxer=mov,aac,mp3 \ --enable-parser=h264,aac,mpegaudio \ --enable-protocol=file \ --enable-swscale \ --enable-swresample \ --enable-avfilter \ --enable-muxer=mp3 \ --enable-libmp3lame \ --enable-encoder=libmp3lame \ --enable-filter=scale,aresample,format,amix,volume,buffer,buffersink \ --enable-sdl2 \ --enable-outdev=sdl \ --enable-x86asm \ --enable-small \ --pkg-config-flags=--staticMy goal is to obtain an FFmpeg library on a Windows 10 x64 system via vcpkg that can provide programming support for me on Windows 7 and later Windows systems. To verify whether the FFmpeg library is functional, I've included "enable-ffplay" in the configuration, intending to use ffplay for testing purposes, although I will ultimately remove this option.
Before asking my question, I examined the ffmpeg/portfile.cmake file in the vcpkg Git repository but couldn't find a way to specify "enable-decoder". I also consulted AI, and GPT informed me that my only option is to clone the entire Git repository and then modify the portfile.cmake file 😭
Beta Was this translation helpful? Give feedback.
All reactions