Files
FFmpeg/libavcodec
Araz Iusubov 5f24c50890 amfenc: Fix for full PA queue
Fixes AMF_INPUT_FULL errors with pre-analysis (PA) enabled.
Added wait and poll encoder output to free up internal buffers
before submitting new frames.
Improves stability and performance by accounting for encoder and
analysis stage queue limits (incl. lookahead buffering).

Reproduce:
ffmpeg.exe -y -r 60 -f lavfi -i testsrc=rate=60:size=3840x2160
-t 10 -pix_fmt yuv420p -an -c:v av1_amf -preset:v high_quality
-profile:v main -quality:v high_quality -usage:v high_quality
2025-07-29 23:38:16 +02:00
..
2025-06-20 21:09:39 +08:00
2025-02-26 17:12:08 +01:00
2024-08-14 18:21:01 +02:00
2025-06-26 13:48:15 +02:00
2025-02-04 00:14:14 +01:00
2025-07-29 23:38:16 +02:00
2025-07-29 23:38:16 +02:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-05-15 01:51:34 +02:00
2025-07-03 20:35:23 +02:00
2025-06-23 17:16:42 +10:00
2025-05-13 00:20:23 +02:00
2024-09-28 18:35:35 +02:00
2024-09-28 18:35:35 +02:00
2025-01-01 20:31:08 +01:00
2025-06-06 17:21:37 +02:00
2025-03-17 08:51:23 +01:00
2024-07-12 22:42:28 +02:00
2024-09-24 15:37:19 +02:00
2025-07-20 01:05:23 +02:00
2025-05-09 22:26:51 +02:00
2025-05-01 22:42:34 -03:00
2025-07-03 20:34:51 +02:00
2025-07-03 20:35:23 +02:00
2025-07-03 20:35:32 +02:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2025-04-02 09:25:46 +02:00
2025-04-02 09:25:46 +02:00
2025-03-20 07:10:17 +01:00
2025-06-23 17:16:42 +10:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-11-01 12:13:07 +08:00
2024-09-24 15:37:19 +02:00
2025-06-21 22:08:52 +02:00
2025-02-09 20:27:49 -06:00
2024-10-31 17:49:48 +11:00
2025-04-25 23:01:37 +02:00
2024-10-31 17:49:48 +11:00
2025-04-25 23:01:38 +02:00
2025-07-03 20:35:23 +02:00
2024-09-24 15:37:20 +02:00