Files
rustdesk/res
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
..
2024-10-03 17:56:21 +08:00
2024-08-08 22:07:06 +08:00
2023-04-03 13:16:49 +08:00
2024-03-25 12:06:49 +08:00
2024-03-25 12:06:49 +08:00
2024-03-25 12:06:49 +08:00
2024-03-04 22:19:18 +08:00
2023-02-07 21:14:01 +08:00
2024-08-07 23:26:17 +08:00
2024-03-07 17:00:32 +08:00
2024-04-26 11:54:31 +08:00
2023-10-28 10:59:33 +02:00
2023-02-07 21:04:50 +08:00
2022-09-18 11:26:10 +08:00
2024-12-05 18:38:39 +08:00
2024-12-05 18:38:39 +08:00
2024-12-16 19:01:12 +08:00
2023-05-25 15:53:27 +08:00
2024-05-03 04:51:01 +08:00
2024-03-13 21:12:04 +08:00
2023-04-03 13:16:49 +08:00
2023-02-07 21:04:50 +08:00
2024-08-07 23:26:17 +08:00
2023-04-03 13:16:49 +08:00