RustDesk/res/vcpkg/ffmpeg
21pages acae6d6558
try fix FFmpeg amf encode hang (#10283)
* Possible Causes
  * GPU API Call Hangs: This could occur, though it's less likely.
  * Infinite Loop: If `QueryOutput` always fails and `hwsurfaces_in_queue_max` is zero, the loop will continue indefinitely.
* Proposed Solution
  * A query_timeout patch has been added to FFmpeg with a value of 1000ms, which exceeds the time required to encode a single frame. This allows us to remove the loop.
* Test
  * After removing the loop, no frame encoding failures were encountered during testing. A single call to QueryOutput is sufficient, as it typically consumes about 12ms on a 2K screen.

Signed-off-by: 21pages <sunboeasy@gmail.com>
2024-12-16 19:40:48 +08:00
..
patch try fix FFmpeg amf encode hang (#10283) 2024-12-16 19:40:48 +08:00
0001-create-lib-libraries.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0002-fix-msvc-link.patch vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
0003-fix-windowsinclude.patch vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
0004-dependencies.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0005-fix-nasm.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0007-fix-lib-naming.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0013-define-WINVER.patch vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
0020-fix-aarch64-libswscale.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0024-fix-osx-host-c11.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0041-add-const-for-opengl-definition.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0042-fix-arm64-linux.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
0043-fix-miss-head.patch update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00
build.sh.in vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
portfile.cmake try fix FFmpeg amf encode hang (#10283) 2024-12-16 19:40:48 +08:00
vcpkg-cmake-wrapper.cmake vcpkg deps (#8764) 2024-07-23 23:31:36 +08:00
vcpkg.json update vcpkg to 2024.11.16 (#10272) 2024-12-13 13:28:48 +08:00