Update how to build ffmpeg for visual studio.md

This commit is contained in:
xiaoyifang 2023-07-13 21:17:30 +08:00 committed by GitHub
parent d9bf1d1a91
commit 35d710ace5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,15 @@
# use vcpkg to build the ffmpeg. # use vcpkg to build the ffmpeg.
Steps: Steps:
1. folow the instructions https://trac.ffmpeg.org/wiki/CompilationGuide/vcpkg 1. folow the instructions https://trac.ffmpeg.org/wiki/CompilationGuide/vcpkg
2. run command
3. run command
``` ```
vcpkg.exe install ffmpeg[core,avcodec,avdevice,avfilter,avformat,speex,avresample,mp3lame,opus,sdl2,swresample,vorbis]:x64-windows-rel vcpkg.exe install ffmpeg[core,avcodec,avdevice,avfilter,avformat,speex,avresample,mp3lame,opus,sdl2,swresample,vorbis]:x64-windows-rel
``` ```
3. copy dll and libs in vcpkg\installed\x64-windows-rel to goldendict's winlibs\lib\msvc 3. copy dll and libs in vcpkg\installed\x64-windows-rel to goldendict's winlibs\lib\msvc
**pros**: can be compiled with speex. **pros**: can be compiled with speex.