update ffmpeg ver.
This commit is contained in:
@ -10,7 +10,9 @@ $openSSLRoot = "D:\Qt\Tools\OpenSSLv3\Win_x64"
|
||||
$librariesPath = "E:\Projects\Libraries"
|
||||
if (!(Test-Path $librariesPath)) { $librariesPath = "D:\Projects\Libraries" }
|
||||
$boostRoot = "$librariesPath\boost_1_83_0_msvc2022_64bit"
|
||||
$ffmpegRoot = "$librariesPath\ffmpeg-7.0.2-full_build-shared"
|
||||
|
||||
# 6.1.1 版本支持 windows7
|
||||
$ffmpegRoot = "$librariesPath\ffmpeg-6.1.1-full_build-shared"
|
||||
|
||||
$projectPath = Get-Location
|
||||
$buildPath = Join-Path -Path $projectPath -ChildPath "build"
|
||||
@ -61,7 +63,7 @@ function Deploy() {
|
||||
Copy-Item -Path $boostRoot\lib\boost_$boost-vc143-mt-x64-1_83.dll -Destination $deployPath
|
||||
}
|
||||
|
||||
$ffmpegs = "avcodec-61", "avdevice-61", "avfilter-10", "avformat-61", "avutil-59", "postproc-58", "swresample-5", "swscale-8"
|
||||
$ffmpegs = "avcodec-60", "avdevice-60", "avfilter-9", "avformat-60", "avutil-58", "postproc-57", "swresample-4", "swscale-7"
|
||||
foreach ($ffmpeg in $ffmpegs) {
|
||||
Copy-Item -Path $ffmpegRoot\bin\$ffmpeg.dll -Destination $deployPath
|
||||
}
|
||||
|
Reference in New Issue
Block a user