Repository navigation
Description
Problem Description
HandBrake 1.11.2 permanently freezes/hangs during encoding when using Intel QSV hardware decoding (--enable-hw-decoding qsv) on a specific 10-bit AV1 stream (yuv420p10le) encoded with cross-reference film grain synthesis (apply_grain = 1), SGRPROJ loop restoration (lr_type = 2), and missing color description metadata (17-byte extradata).
Using a 5-second (120-frame) trimmed sample (a380_av1_tiny_5s.mkv), HandBrake hangs indefinitely at 12.50% (~frame 15) right after initializing using full QSV via video memory path with Format (format=nv12) (converting 10-bit p010le to 8-bit nv12 via QSV VPP). Furthermore, this hang locks up the Intel Arc A380 Media Engine globally across Windows until the GPU is disabled/re-enabled in Device Manager or the OS is rebooted.
Crucial A/B Comparison with FFmpeg:
On the exact same machine, driver, and 5-second sample, FFmpeg (N-129166) using full QSV hardware decoding and encoding (av1_qsv -> hevc_qsv) completes all 120 frames in 0.93s (5.2x speed) with zero errors, because FFmpeg keeps the surface in 10-bit (p010le) throughout the QSV pipeline instead of converting to 8-bit nv12 via VPP:
text
ffmpeg -hwaccel qsv -hwaccel_output_format qsv -c:v av1_qsv -i "a380_av1_tiny_5s.mkv" -c:v hevc_qsv -global_quality 25 -f null -
frame= 120 fps=0.0 q=-0.0 Lsize=N/A time=00:00:04.83 bitrate=N/A speed= 5.2x elapsed=0:00:00.93
System & Environment:
• HandBrake Version: 1.11.2 (2026060700)
• OS: Windows 10 64-bit (Build 19044)
• CPU: Intel Core i5-3470
• GPU: Intel Arc A380 (6GB, Device ID 8086:56a5)
• ARC A380 Driver : Intel Arc 32.0.101.9175
• Intel Media SDK / oneVPL: API 2.17 (libmfx64-gen.dll)
Steps to Reproduce:
- Run: HandBrakeCLI -i "a380_av1_tiny_5s.mkv" -o "OUTPUT.mkv" --preset="H.265 QSV 1080p" --enable-hw-decoding qsv
- Observe permanent hang at 12.50 %.
Attachments:
• a380_av1_tiny_5s.mkv (5-second minimal reproducer)
• handbrake_log.txt (Full HandBrakeCLI log showing the hang)
• ffmpeg_log.txt (FFmpeg log showing successful 10-bit QSV passthrough)
System-wide Media Engine deadlock.zip
Name : Intel(R) Arc(TM) A380 Graphics
DriverVersion : 32.0.101.9175
DriverDate : 11/4/2026 8:00:00 AM
Status : OK
PNPDeviceID : PCI\VEN_8086&DEV_56A5&SUBSYS_4017172F&REV_05\6&2FAD809E&0&00080008
Activity Log, Crash Log or any other details
HandBrakeCLI.exe --version
[00:58:50] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[00:58:50] vcn: not available on this system
[00:58:51] qsv: is available on this system
[00:58:51] hb_init: starting libhb thread
[00:58:51] thread 2 started ("libhb")
HandBrake 1.11.2
HandBrake has exited.
>HandBrakeCLI -i "a380_av1_tiny_5s.mkv" -o "OUTPUT.mkv" --preset="H.265 QSV 1080p" --enable-hw-decoding qsv
[00:57:39] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[00:57:39] vcn: not available on this system
[00:57:41] qsv: is available on this system
[00:57:41] hb_init: starting libhb thread
[00:57:41] thread 2 started ("libhb")
HandBrake 1.11.2 (2026060700) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening a380_av1_tiny_5s.mkv...
[00:57:41] OS: Windows 10.0 (19044)
[00:57:41] CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
[00:57:41] - Intel microarchitecture Ivy Bridge
[00:57:41] - logical processor count: 4
[00:57:41] Intel Quick Sync Video support: yes, gpu list: 0
[00:57:41] Intel Quick Sync Video discrete adapter with index 0
[00:57:41] Impl mfx-gen library path: C:\Windows\System32\DriverStore\FileRepository\iigd_dch_d.inf_amd64_c97642900856f9fd\libmfx64-gen.dll
[00:57:41] - Intel Media SDK hardware: API 2.17 (minimum: 1.3)
[00:57:41] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[00:57:41] - H.264 encoder: yes
[00:57:41] - preferred implementation: hardware (1) via D3D11
[00:57:41] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[00:57:41] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[00:57:41] - preferred implementation: hardware (1) via D3D11
[00:57:41] - capabilities (hardware): lowpower breftype icq vsinfo masteringinfo cllinfo opt1 opt2+mbbrc+extbrc+repeatpps+ib_adapt+nmpslice
[00:57:41] - AV1 encoder: yes (8bit: yes, 10bit: yes)
[00:57:41] - preferred implementation: hardware (1) via D3D11
[00:57:41] - capabilities (hardware): lowpower breftype icq vsinfo masteringinfo cllinfo opt1 opt2+mbbrc+extbrc+ib_adapt av1bitstream
[00:57:41] hb_scan: path=a380_av1_tiny_5s.mkv, title_index=1
Input #0, matroska,webm, from 'a380_av1_tiny_5s.mkv':
Metadata:
title : BEASTARS 2nd Season
ENCODER : Lavf63.21.100
Duration: 00:00:05.01, start: 0.000000, bitrate: 3463 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 5.000000
Metadata:
title : Chapter 02
Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
BPS : 3411307
NUMBER_OF_FRAMES: 32872
NUMBER_OF_BYTES : 584628652
_STATISTICS_WRITING_APP: mkvmerge v99.0 ('Buka') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2026-09-05 03:18:43
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 00:00:05.005000000
[00:57:41] scan: decoding previews for title 1
Scanning title 1 of 1, preview 9, 90.00 %[00:57:43] using container PAR 1:1
[00:57:43] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: unspecified
[00:57:43] scan: supported video decoders: avcodec qsv hwaccel
Scanning title 1 of 1, preview 10, 100.00 %[00:57:43] libhb: scan thread found 1 valid title(s)
+ Using preset: H.265 QSV 1080p
+ title 1:
+ stream: a380_av1_tiny_5s.mkv
+ duration: 00:00:05
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 0/0/0/0
+ chapters:
+ 1: duration 00:00:05
+ audio tracks:
+ subtitle tracks:
[00:57:43] Starting work at: Wed Nov 25 00:57:43 2026
[00:57:43] 1 job(s) to process
[00:57:43] json job:
{
"Audio": {
"AudioList": [],
"CopyMask": [],
"FallbackEncoder": 0
},
"Destination": {
"AlignAVStart": false,
"ChapterList": [
{
"Duration": {
"Hours": 0,
"Minutes": 0,
"Seconds": 5,
"Ticks": 450450
},
"Name": "Chapter 1"
}
],
"ChapterMarkers": false,
"File": "OUTPUT.mkv",
"InlineParameterSets": false,
"Mux": "mkv",
"Options": {
"IpodAtom": false,
"Optimize": false
}
},
"Filters": {
"FilterList": [
{
"ID": 11,
"Settings": {
"mode": 0
}
},
{
"ID": 20,
"Settings": {
"crop-bottom": 0,
"crop-left": 0,
"crop-right": 0,
"crop-top": 0,
"height": 1080,
"width": 1920
}
}
]
},
"Metadata": {
"Name": "BEASTARS 2nd Season"
},
"PAR": {
"Den": 1,
"Num": 1
},
"SequenceID": 0,
"Source": {
"Angle": 0,
"HWDecode": 0,
"KeepDuplicateTitles": false,
"Path": "a380_av1_tiny_5s.mkv",
"Range": {
"End": 1,
"Start": 1,
"Type": "chapter"
},
"Title": 1
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"AdapterIndex": -1,
"AsyncDepth": 0,
"ChromaLocation": 0,
"ColorInputFormat": 0,
"ColorMatrix": 1,
"ColorOutputFormat": 0,
"ColorPrimaries": 1,
"ColorRange": 1,
"ColorTransfer": 1,
"Encoder": "qsv_h265",
"HardwareDecode": -2147483646,
"Level": "auto",
"MultiPass": false,
"Options": "",
"PasshtruHDRDynamicMetadata": 6,
"Preset": "speed",
"Profile": "auto",
"Quality": 25.0,
"Tune": "",
"Turbo": false
}
}
[00:57:43] Starting Task: Encoding Pass
[00:57:43] work: skipping crop/scale filter
Encoding: task 1 of 1, 0.00 %[00:57:43] job configuration:
[00:57:43] * source
[00:57:43] + a380_av1_tiny_5s.mkv
[00:57:43] + title 1, chapter(s) 1 to 1
[00:57:43] + container: matroska,webm
[00:57:43] + data rate: 3463 kbps
[00:57:43] * destination
[00:57:43] + OUTPUT.mkv
[00:57:43] + container: Matroska (libavformat)
[00:57:43] * video track
[00:57:43] + decoder: qsv av1 10-bit (p010le, qsv)
[00:57:43] + filters
[00:57:43] + Framerate Shaper (mode=0)
[00:57:43] + frame rate: same as source (around 23.976 fps)
[00:57:43] + Format (format=nv12)
[00:57:43] + Output geometry
[00:57:43] + storage dimensions: 1920 x 1080
[00:57:43] + pixel aspect ratio: 1 : 1
[00:57:43] + display dimensions: 1920 x 1080
[00:57:43] + encoder: H.265 (Intel QSV)
E[00:57:43] + preset: speed
n[00:57:43] + profile: auto
codin[00:57:43] + level: auto
g[00:57:43] + quality: 25.00 (ICQ)
: [00:57:43] + color profile: 1-1-1t
a[00:57:43] + color range: tv
s[00:57:43] + chroma location: unspecified
k 1 of 1, 0.00 %[00:57:43] sync: expecting 120 video frames
[00:57:43] encavcodecInit: H.265 (Intel Quick Sync Video)
[00:57:43] encavcodec: encoding with preset veryfast
[00:57:43] encavcodec: using Low Power mode
[00:57:43] encavcodec: using full QSV via video memory path
[00:57:43] encavcodec: encoding with brc ICQ 25
[00:57:43] encavcodec: encoding with stored aspect 1/1
Encoding: task 1 of 1, 0.00 %[00:57:44] sync: first pts video is 0
[00:57:44] sync: "Chapter 1" (1) at frame 1 time 0
Encoding: task 1 of 1, 12.50 %
(Hang Forever)
What Operating System are you running?
Windows 10 LTSC 64-bit (Build 19044)
What version of HandBrake are you running?
HandBrakeCLI Version: 1.11.2 (2026060700)
Where did you download HandBrake from?
No response
Activity
github-actions commentedon Nov 24, 2026
Hello, and welcome to the HandBrake repository.
This is an automated message from the HandBrake Bot.
Important
Please make sure you have completed the issue template and provide all the requested information.
Warning
Be cautious of replies asking you to download DLLs or other files from third-party websites, particularly from users who are not members of the HandBrake team. These downloads may be malicious.
HandBrake team members have a “Member” label beside their comments.
Tip
See the HandBrake documentation for guidance and troubleshooting. Please also follow our Code of Conduct.
Thank you,
The HandBrake Bot
galad87 commentedon Nov 24, 2026
Try a snapshot: https://github.com/HandBrake/handbrake-snapshots/releases/tag/win
Does FFmpeg hangs too when converting to HEVC 8-bit? In your comparison you are using the 10-bit version of the encoder in FFmpeg.
galad87 commentedon Nov 24, 2026
Or does it hangs if you use the 10-bit HEVC QSV encoder in HandBrake?
hkdio commentedon Nov 24, 2026
Update / Additional Finding: 1
I just tested the exact same 5-second sample (a380_av1_tiny_5s.mkv) in HandBrake 1.11.2 by switching the encoder to 10-bit QSV (-e qsv_h265_10bit / H.265 10-bit (Intel QSV)), keeping --enable-hw-decoding qsv enabled:
text
HandBrakeCLI -i "a380_av1_tiny_5s.mkv" -o "OUTPUT_10bit.mkv" --preset="H.265 QSV 1080p" -e qsv_h265_10bit --enable-hw-decoding qsv
Use code with caution.
Result: It completed 100% smoothly without any hang!
This confirms that the system-wide Media Engine deadlock is specifically triggered by the QSV VPP p010le (10-bit) -> nv12 (8-bit) format conversion step immediately following the 10-bit AV1 hardware decode. Keeping the pipeline in 10-bit (p010le) completely avoids the deadlock in both HandBrake and FFmpeg.
hkdio commentedon Nov 24, 2026
Update / Additional Finding: 2
Yes, FFmpeg fails as well when converting to HEVC 8-bit via vpp_qsv=format=nv12!
When forcing the 10-bit p010le -> 8-bit nv12 VPP conversion in FFmpeg on the exact same 5-second sample, it immediately crashes the Intel A380 GPU device (DXGI_ERROR_DEVICE_REMOVED / MFX_ERR_DEVICE_FAILED) and fails to output anything:
text
ffmpeg -hwaccel qsv -hwaccel_output_format qsv -c:v av1_qsv -i "a380_av1_tiny_5s.mkv" -vf "vpp_qsv=format=nv12" -c:v hevc_qsv -global_quality 25 -f null -
Use code with caution.
FFmpeg Error Log:
text
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[hevc_qsv @ 00000000001d4080] Error querying encoder params: device failed (-17)
[vost#0:0/hevc_qsv @ 00000000001d3e40] [enc:hevc_qsv @ 00000000001a5300] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
Use code with caution.
Conclusion:
• 10-bit QSV passthrough (p010le -> p010le): Works cleanly in both FFmpeg and HandBrake (-e qsv_h265_10bit).
• 8-bit QSV conversion (p010le -> vpp nv12): Triggers an Intel Arc A380 hardware/driver device removal (0x887a0005 / MFX_ERR_DEVICE_FAILED) in both FFmpeg and HandBrake.
This confirms the root cause is entirely inside Intel's driver / Media Engine VPP pipeline when downconverting this specific 10-bit AV1 stream to nv12. I have also submitted this reproducer and log to Intel.
===== FFMPEG Log =====
ffmpeg -hwaccel qsv -hwaccel_output_format qsv -c:v av1_qsv -i "a380_av1_tiny_5s.mkv" -vf "vpp_qsv=format=nv12" -c:v hevc_qsv -global_quality 25 -f null -
ffmpeg version N-129166-gae9f4540cb-20261121 Copyright (c) 2000-2026 the FFmpeg developers
built with gcc 16.2.0 (crosstool-NG 1.29.0.36_fbb6372)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libvmaf --disable-libxcb --disable-xlib --enable-fontconfig --enable-libharfbuzz --enable-libfreetype --enable-libfribidi --enable-lcms2 --enable-vulkan --enable-libdav1d --enable-libvorbis --enable-librav1e --enable-librsvg --disable-libpulse --enable-gmp --enable-lzma --enable-liblcevc-dec --enable-opencl --enable-amf --enable-libaom --enable-avisynth --enable-chromaprint --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribb24 --enable-libaribcaption --enable-libass --enable-libbluray --enable-libcurl --enable-libjxl --enable-libmp3lame --enable-libopus --enable-libplacebo --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq --enable-lv2 --enable-libvpl --enable-openal --enable-liboapv --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-vapoursynth --enable-libvidstab --enable-libvvenc --disable-whisper --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --disable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20261121
libavutil 61. 21.100 / 61. 21.100
libavcodec 63. 28.100 / 63. 28.100
libavformat 63. 21.100 / 63. 21.100
libavdevice 63. 6.100 / 63. 6.100
libavfilter 12. 12.100 / 12. 12.100
libswscale 10. 6.100 / 10. 6.100
libswresample 7. 7.100 / 7. 7.100
Input #0, matroska,webm, from 'a380_av1_tiny_5s.mkv':
Metadata:
title : BEASTARS 2nd Season
ENCODER : Lavf63.21.100
Duration: 00:00:05.01, start: 0.000000, bitrate: 3463 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 5.000000
Metadata:
title : Chapter 02
Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
BPS : 3411307
NUMBER_OF_FRAMES: 32872
NUMBER_OF_BYTES : 584628652
_STATISTICS_WRITING_APP: mkvmerge v99.0 ('Buka') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2026-09-05 03:18:43
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 00:00:05.005000000
[D3D11VA @ 00000000001d7340] Using device 8086:56a5 (Intel(R) Arc(TM) A380 Graphics).
[vost#0:0/hevc_qsv @ 00000000001d3e40] Discarding stream metadata 'BPS' because the stream is being re-encoded. Use '-keep_metadata BPS' to keep it.
[vost#0:0/hevc_qsv @ 00000000001d3e40] Discarding stream metadata 'DURATION' because the stream is being re-encoded. Use '-keep_metadata DURATION' to keep it.
[vost#0:0/hevc_qsv @ 00000000001d3e40] Discarding stream metadata 'NUMBER_OF_BYTES' because the stream is being re-encoded. Use '-keep_metadata NUMBER_OF_BYTES' to keep it.
[vost#0:0/hevc_qsv @ 00000000001d3e40] Discarding stream metadata 'NUMBER_OF_FRAMES' because the stream is being re-encoded. Use '-keep_metadata NUMBER_OF_FRAMES' to keep it.
[vost#0:0/hevc_qsv @ 00000000001d3e40] Discarding stream metadata '_STATISTICS_TAGS' because the stream is being re-encoded. Use '-keep_metadata _STATISTICS_TAGS' to keep it.
[vost#0:0/hevc_qsv @ 00000000001d3e40] Discarding stream metadata '_STATISTICS_WRITING_APP' because the stream is being re-encoded. Use '-keep_metadata _STATISTICS_WRITING_APP' to keep it.
[vost#0:0/hevc_qsv @ 00000000001d3e40] Discarding stream metadata '_STATISTICS_WRITING_DATE_UTC' because the stream is being re-encoded. Use '-keep_metadata _STATISTICS_WRITING_DATE_UTC' to keep it.
Stream mapping:
Stream #0:0 -> #0:0 (av1 (av1_qsv) -> hevc (hevc_qsv))
Press [q] to stop, [?] for help
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[hevc_qsv @ 00000000001d4080] Error querying encoder params: device failed (-17)
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[vost#0:0/hevc_qsv @ 00000000001d3e40] [enc:hevc_qsv @ 00000000001a5300] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vf#0:0 @ 00000000001d4440] Error sending frames to consumers: I/O error
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[AVHWFramesContext @ 00000000082c0740] Could not create the texture (887a0005)
[av1_qsv @ 00000000001d9d00] get_buffer() failed
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Cannot allocate memory
[vf#0:0 @ 00000000001d4440] Task finished with error: I/O error
[av1_qsv @ 00000000001d9d00] Error during QSV decoding.: undefined behavior (-16)
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Internal bug, should not have happened
[vost#0:0/hevc_qsv @ 00000000001d3e40] [enc:hevc_qsv @ 00000000001a5300] Could not open encoder before EOF
[vost#0:0/hevc_qsv @ 00000000001d3e40] Task finished with error: Invalid argument
[vost#0:0/hevc_qsv @ 00000000001d3e40] Terminating thread with error: Invalid argument
[vf#0:0 @ 00000000001d4440] Terminating thread with error: I/O error
[av1_qsv @ 00000000001d9d00] Error during QSV decoding.: undefined behavior (-16)
[vist#0:0/av1 @ 00000000000f87c0] [dec:av1_qsv @ 00000000001e8e00] Error submitting packet to decoder: Internal bug, should not have happened
[out#0/null @ 0000000000159640] Nothing was written into output file, because at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A elapsed=0:00:02.73
Conversion failed!
hkdio commentedon Nov 24, 2026
Update 3
Try a snapshot: https://github.com/HandBrake/handbrake-snapshots/releases/tag/win
Same result:
galad87 commentedon Nov 24, 2026
The drivers are updated too, so I don't know. Let's ask @antonkesy 🙃
hkdio commentedon Nov 24, 2026
Please excuse my English.
I encountered this bug while batch-transcoding over 2,000 animations to AV1/HEVC to save HDD space using my brand-new Intel Arc A380 graphics card.
When this bug was triggered by this specific video, I initially suspected my new graphics card was defective and ended up rebooting my PC several times.
After troubleshooting with Gemini, we narrowed the issue down to a minimal, reproducible scope.
Enclosed is the full technical summary report for this issue:
Gemini AI report for this issue.txt
antonkesy commentedon Nov 25, 2026
Thank you very much for the really detailed report and the initial investigation of Gemini!
That's a really weird issue would we should've caught 👀
But I currently have problems reproducing your issue with comparable HW/SW, so an answer will have to wait for me to take a deeper look as soon as I have some time :)