HandBrake / HandBrake/HandBrake
failed to create filter graph with hardware decoders
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 24.4k
- Forks
- 1.7k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 8
Description
Problem Description
Non qsv presets run ok
amd preset on another host runs ok
Seems particular to this video and others in its group. Not seen in any other handbrake encoding
Activity Log, Crash Log or any other details
HandBrake 1.9.2 (2025022300)
OS: Microsoft Windows NT 10.0.26100.0
CPU: 13th Gen Intel(R) Core(TM) i7-1355U
Ram: 32479 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.5186
NVIDIA GeForce RTX 3050 4GB Laptop GPU - 32.0.15.6636
Screen: 1920x1080
Temp Dir: C:\Users\barf\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\barf\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[10:32:43] base preset: H.265 QSV 1080p
[10:32:43] Remote Process started with Process ID: 99412 using port: 8037. Max Allowed Instances: 1
[10:32:43] Worker: Starting HandBrake Engine ...
[10:32:43] Worker: Parent Process Id 100204
[10:32:43] Worker: Starting Web Server on port 8037 ...
[10:32:43] Worker: Starting Listener: 1
[10:32:43] Worker: Server Started
[10:32:43] Worker: Disconnected worker monitoring enabled!
[10:32:43] Compile-time hardening features are enabled
[10:32:43] nvenc: version 12.2 is available
[10:32:43] nvdec: is available
[10:32:43] CUDA Version: 8.6
[10:32:43] vcn: not available on this system
[10:32:44] qsv: is available on this system
[10:32:44] hb_init: starting libhb thread
[10:32:44] Starting work at: Sat Apr 19 10:32:44 2025
[10:32:44] 1 job(s) to process
[10:32:44] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac"
],
"FallbackEncoder": "none"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
},
{
"Name": "Chapter 2"
},
{
"Name": "Chapter 3"
},
{
"Name": "Chapter 4"
},
{
"Name": "Chapter 5"
},
{
"Name": "Chapter 6"
},
{
"Name": "Chapter 7"
},
{
"Name": "Chapter 8"
},
{
"Name": "Chapter 9"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "D:\\Users\\barf\\Videos\\videos\\You Guessed It\\Bongo\\2-HonkyTonk_Ww.mp4",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 20,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "720"
}
},
{
"ID": 11,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 10,
"Den": 11
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 9
},
"Title": 2,
"Path": "D:\\Users\\barf\\Videos\\videos\\You Guessed It\\Bongo\\HonkyTonk_WW",
"HWDecode": 6,
"KeepDuplicateTitles": false
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": false,
"Forced": false
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"MultiPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=0",
"Preset": "speed",
"Profile": "auto",
"Quality": 25,
"QSV": {
"Decode": true
},
"HardwareDecode": 0
}
}
[10:32:44] CPU: 13th Gen Intel(R) Core(TM) i7-1355U
[10:32:44] - logical processor count: 12
[10:32:44] Intel Quick Sync Video support: yes, gpu list: 1
[10:32:44] Intel Quick Sync Video integrated adapter with index 1
[10:32:44] Impl mfx-gen library path: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_d00a882b6000b511\libmfx64-gen.dll
[10:32:44] - Intel Media SDK hardware: API 2.10 (minimum: 1.3)
[10:32:44] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[10:32:44] - H.264 encoder: yes
[10:32:44] - preferred implementation: hardware (2) via D3D11
[10:32:44] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[10:32:44] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[10:32:44] - preferred implementation: hardware (2) via D3D11
[10:32:44] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[10:32:44] - AV1 encoder: no
[10:32:44] hb_scan: path=D:\Users\barf\Videos\videos\You Guessed It\Bongo\HonkyTonk_WW, title_index=2
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:795: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:795: BD-J check: Failed to load JVM library
[10:32:44] scan: BD has 191 title(s)
[10:32:44] bd: scanning title 2
[10:32:44] bd: playlist 00003.MPLS
[10:32:44] bd: duration is 00:44:17 (2657988 ms)
[10:32:44] bd: video id=0x1011, stream type=H.264, format 480i
[10:32:44] bd: aspect = 4:3
[10:32:44] bd: audio id=0x1100, lang=English (AC3), 3cc=eng
[10:32:44] bd: subtitle id=0x1200, lang=English (PGS), 3cc=eng
[10:32:44] bd: subtitle id=0x1201, lang=espaol (PGS), 3cc=spa
[10:32:44] bd: subtitle id=0x1202, lang=Francais (PGS), 3cc=fra
[10:32:44] bd: subtitle id=0x1203, lang=espaol (PGS), 3cc=spa
[10:32:44] bd: subtitle id=0x1204, lang=dansk (PGS), 3cc=dan
[10:32:44] bd: subtitle id=0x1205, lang=Nederlands (PGS), 3cc=nld
[10:32:44] bd: subtitle id=0x1206, lang=suomi (PGS), 3cc=fin
[10:32:44] bd: subtitle id=0x1207, lang=Deutsch (PGS), 3cc=deu
[10:32:44] bd: subtitle id=0x1208, lang=italiano (PGS), 3cc=ita
[10:32:44] bd: subtitle id=0x1209, lang=norsk (PGS), 3cc=nor
[10:32:44] bd: subtitle id=0x120a, lang=Portugues (PGS), 3cc=por
[10:32:44] bd: subtitle id=0x120b, lang=svenska (PGS), 3cc=swe
[10:32:44] bd: subtitle id=0x120c, lang=cestina (PGS), 3cc=ces
[10:32:44] bd: subtitle id=0x120d, lang=Œ??????? (PGS), 3cc=ell
[10:32:44] bd: chap 1, 316983 ms
[10:32:44] bd: chap 2, 456389 ms
[10:32:44] bd: chap 3, 447313 ms
[10:32:44] bd: chap 4, 194994 ms
[10:32:44] bd: chap 5, 208341 ms
[10:32:44] bd: chap 6, 376976 ms
[10:32:44] bd: chap 7, 330096 ms
[10:32:44] bd: chap 8, 241441 ms
[10:32:44] bd: chap 9, 84451 ms
[10:32:44] bd: chapter 10 too short 239128888, dropping
[10:32:44] bd: title 2 has 9 chapters
[10:32:44] scan: decoding previews for title 2
[10:32:44] scan: title angle(s) 1
[10:32:44] scan: audio 0x1100: ac3, rate=48000Hz, bitrate=224000 English (AC3, 2.0 ch, 224 kbps)
[10:32:45] WARNING: bitstream PAR 10:11 != container PAR 8:9
[10:32:45] using bitstream PAR 10:11
[10:32:45] scan: 10 previews, 720x480, 29.970 fps, autocrop = 2/2/8/4, aspect 4:3, PAR 10:11, color profile: 6-1-6, chroma location: left
[10:32:45] scan: supported video decoders: avcodec qsv
[10:32:45] stream: 49 good frames, 0 errors (0%)
[10:32:45] libhb: scan thread found 1 valid title(s)
[10:32:45] Starting Task: Encoding Pass
[10:32:45] work: skipping crop/scale filter
[10:32:45] work: track 1, dithering not supported by codec
[10:32:45] job configuration:
[10:32:45] * source
[10:32:45] + D:\Users\barf\Videos\videos\You Guessed It\Bongo\HonkyTonk_WW
[10:32:45] + title 2, chapter(s) 1 to 9
[10:32:45] * destination
[10:32:45] + D:\Users\barf\Videos\videos\You Guessed It\Bongo\2-HonkyTonk_Ww.mp4
[10:32:45] + container: MPEG-4 (libavformat)
[10:32:45] + chapter markers
[10:32:45] * video track
[10:32:45] + decoder: h264_qsv 8-bit (nv12)
[10:32:45] + bitrate 200 kbps
[10:32:45] + filter
[10:32:45] + Framerate Shaper (mode=0)
[10:32:45] + frame rate: same as source (around 29.970 fps)
[10:32:45] + Output geometry
[10:32:45] + storage dimensions: 720 x 480
[10:32:45] + pixel aspect ratio: 10 : 11
[10:32:45] + display dimensions: 654 x 480
[10:32:45] + encoder: H.265 (Intel Media SDK)
[10:32:45] + preset: speed
[10:32:45] + options: lowpower=0
[10:32:45] + profile: auto
[10:32:45] + level: auto
[10:32:45] + quality: 25.00 (ICQ)
[10:32:45] + color profile: 6-1-6
[10:32:45] + color range: tv
[10:32:45] + chroma location: left
[10:32:45] * audio track 1
[10:32:45] + decoder: English (AC3, 2.0 ch, 224 kbps) (track 1, id 0x1100)
[10:32:45] + bitrate: 224 kbps, samplerate: 48000 Hz
[10:32:45] + mixdown: Stereo
[10:32:45] + encoder: AAC (libavcodec)
[10:32:45] + bitrate: 160 kbps, samplerate: 48000 Hz
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:795: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:137: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:795: BD-J check: Failed to load JVM library
[10:32:45] sync: expecting 79660 video frames
[10:32:45] encqsvInit: using full QSV via video memory path
[10:32:45] encqsvInit: H.265/HEVC Main profile @ level 3.0
[10:32:45] encqsvInit: TargetUsage 7 AsyncDepth 6
[10:32:45] encqsvInit: GopRefDist 8 GopPicSize 64 NumRefFrame 4 IdrInterval 0
[10:32:45] encqsvInit: BFramesMax 7 BRefType pyramid
[10:32:45] encqsvInit: RateControlMethod ICQ ICQQuality 25
[h264_qsv @ 0000024b3b346340] Invalid pkt_timebase, passing timestamps as-is.
hb_avfilter_graph_init: failed to configure filter graph
reinit_video_filters: failed to create filter graph
[10:33:04] Worker process exited!
[10:33:04] Worker process exit was not expected.
# Job Failed (-12)
What Operating System are you running?
windows 11
What version of HandBrake are you running?
1.9.1, 1.9/2
Where did you download HandBrake from?
you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are identified. Start by reproducing the failure with the supplied HandBrake 1.9.x Windows setup, Blu-ray title, and H.265 QSV preset, then trace the logged h264_qsv filter-graph initialization failure. Done means the hardware-decoder encode creates its filter graph and completes successfully, or the failure is isolated to a documented configuration or source condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100