From 21d920394033220a3b5ebb89775d8756da64c195 Mon Sep 17 00:00:00 2001 From: xiaoyifang <105986+xiaoyifang@users.noreply.github.com> Date: Fri, 14 Jul 2023 14:44:33 +0800 Subject: [PATCH] Update how to build ffmpeg for visual studio.md --- .../how to build ffmpeg for visual studio.md | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/website/docs/howto/how to build ffmpeg for visual studio.md b/website/docs/howto/how to build ffmpeg for visual studio.md index 7887ac75..4ace73c7 100644 --- a/website/docs/howto/how to build ffmpeg for visual studio.md +++ b/website/docs/howto/how to build ffmpeg for visual studio.md @@ -1,44 +1,43 @@ -# use vcpkg to build the ffmpeg. +# Use vcpkg to build ffmpeg. Steps: -1. folow the instructions https://trac.ffmpeg.org/wiki/CompilationGuide/vcpkg +1. follow the instructions at https://trac.ffmpeg.org/wiki/CompilationGuide/vcpkg -3. run command +2. run the command ``` 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 -**pros**: can be compiled with speex. +**Pros**: Can be compiled with speex. -# alternative Method -just download the ffmpeg from official website: https://github.com/BtbN/FFmpeg-Builds/releases -then replace the dlls and libs in the winlibs\lib\msvc +# Alternative method +simply download ffmpeg from the official website: https://github.com/BtbN/FFmpeg-Builds/releases +Then replace the dlls and libs in the winlibs\lib\msvc. -**cons**: seems lack libspeex or I just download the wrong package. +**Cons**: Seems to be missing libspeex or I just downloaded the wrong package. -**pros**: easy to manage. +**Pros**: Easy to manage. -# I have tried the following methods with no luck +# I have tried the following methods without success -## use the scripts provided by the following url +## Use the scripts provided by the following url https://github.com/Microsoft/FFmpegInterop/issues/67 https://github.com/Microsoft/FFmpegInterop -did not know how to link with libspeex. +did not know how to link to libspeex. -## conan +## conan - conan seems has not included libspeex option up to now. + conan does not seem to have the libspeex option yet. -# links worth checking +## Links worth checking https://stackoverflow.com/a/44556505/968188 -