mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-07 12:20:03 +03:00
install ffmpeg lib with vcpkg (#8724)
* use vcpkg to install ffmpeg and build sdk from source, so no prebuild lib in hwcodec. * link ffmpeg in rustdesk directly, ffmpeg can be used as basic library. * for windows developers, `VCPKG_DEFAULT_HOST_TRIPLET` env need to be set to `x64-windows-static` during installation. Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
39
vcpkg.json
39
vcpkg.json
@@ -51,13 +51,44 @@
|
||||
{
|
||||
"name": "libyuv",
|
||||
"host": false
|
||||
},
|
||||
{
|
||||
"name": "ffmpeg",
|
||||
"host": true,
|
||||
"features": [
|
||||
{
|
||||
"name": "amf",
|
||||
"platform": "((windows | linux) & static)"
|
||||
},
|
||||
{
|
||||
"name": "nvcodec",
|
||||
"platform": "((windows | linux) & static)"
|
||||
},
|
||||
{
|
||||
"name": "qsv",
|
||||
"platform": "(windows & static)"
|
||||
}
|
||||
],
|
||||
"platform": "((windows | linux | osx) & static)"
|
||||
},
|
||||
{
|
||||
"name": "ffmpeg",
|
||||
"host": false,
|
||||
"platform": "((android | ios) & static)"
|
||||
}
|
||||
],
|
||||
"vcpkg-configuration": {
|
||||
"default-registry": {
|
||||
"kind": "builtin",
|
||||
"baseline": ""
|
||||
"baseline": "f7423ee180c4b7f40d43402c2feb3859161ef625"
|
||||
},
|
||||
"overlay-ports": [ "./res/vcpkg" ]
|
||||
}
|
||||
}
|
||||
"overlay-ports": [
|
||||
"./res/vcpkg"
|
||||
]
|
||||
},
|
||||
"overrides": [
|
||||
{ "name": "ffnvcodec", "version": "11.1.5.2" },
|
||||
{ "name": "amd-amf", "version": "1.4.29" },
|
||||
{ "name": "mfx-dispatch", "version": "1.35.1" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user