You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HandBrake 1.9.2 on Windows 10/11 crashes when trying to scan for subtitles on Men In Black (1997) #6963
I recently re-ripped and transcoded my Men In Black (1997) BluRay. It has some graphic subtitles depicting alien language near the beginning. With HandBrake 1.9.2 2025022300 the program crashes whenever it tries to do a
subtitle scan. I suspect it's the unusual subtitles causing the crash. Deleting the Subtitle Scan allows HandBrake to complete.
Activity Log, Crash Log or any other details
I will have to re-rip the disk and run handbrake to generate the Activity Log. Will do shortly and post here.
Title information
Name: Men In Black (English)
Source file name: 00001.mpls
Duration: 1:37:58
Chapters count: 16
Size: 27.2 GB
Segment count: 1
Segment map: 11
File name: Men In Black_t01.mkv
Ripped with MakeMKV v1.18.1
Windows 11
BeeLink S12 Pro 16GB ram, 500GB SSD
Foreign Audio Scan: Forced Only (checked), Burn-In (Checked)
Subtitle Scan Failed at 42.3%
Foreign Audio Scan: Forced Only (checked), Burn-In (UnChecked)
Subtitle Scan Failed at 42.4%
Remove Subtitle: 4 English (PGS) (Audience Silioute)
Still fails around 43%
Remove Subtitle: 3 English (PGS) (Alien Language)
Still fails around 43%
Remove Subtitle: 2 English (PGS)
Still fails around 43%
Remove All Subtitles except: Foreign Audio Scan (Forced Only checked, Burn-In Checked)
Still fails
Leaving all Subtitles but unchecking Forced Only & Burn-In on Foreign Audio Scan
Still fails
On this system, the only thing that works is to
remove the Foreign Audio Scan.
Activity Log:
HandBrake 1.9.2 (2025022300)
OS: Microsoft Windows NT 10.0.26100.0
CPU: Intel(R) N100
Ram: 16161 MB,
GPU Information:
Intel(R) UHD Graphics - 32.0.101.6737
Microsoft Remote Display Adapter - 10.0.26100.3624
Screen: 2560x1080
Temp Dir: C:\Users\Dave\AppData\Local\Temp
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Dave\AppData\Roaming\HandBrake
Starting Encode ...
[01:45:54] base preset: BLU Roku 2160p60 4K HEVC Surround
[01:45:54] Remote Process started with Process ID: 11996 using port: 8037. Max Allowed Instances: 1
[01:45:54] Worker: Starting HandBrake Engine ...
[01:45:54] Worker: Parent Process Id 6596
[01:45:54] Worker: Starting Web Server on port 8037 ...
[01:45:54] Worker: Starting Listener: 1
[01:45:54] Worker: Server Started
[01:45:55] Worker: Disconnected worker monitoring enabled!
[01:45:55] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[01:45:55] vcn: not available on this system
[01:45:55] qsv: is available on this system
[01:45:55] hb_init: starting libhb thread
[01:48:18] Worker process exited!
[01:48:18] Worker process exit was not expected.
Job Failed (-12)
Windows 10
HP Desktop with 16GB RAM
Memory usage goes from negligible to 95-97% linearly
then bounces around till it fails. Guessing it's running
out of virtual memory.
This one gave me an Application Error dialog box
The instrucktion at 0x00007FFC854C4FAF reference memory at
0x00000000000000E3. The memory could not be read.
(may have too many or not enough 0's...hard to read)
Activity Log:
HandBrake 1.9.2 (2025022300)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Ram: 16290 MB,
GPU Information:
Intel(R) HD Graphics 4600 - 20.19.15.5126 - (Unsupported Driver Detected)
Microsoft Remote Display Adapter - 10.0.19041.5794
Screen: 2560x1080
Temp Dir: C:\Users\dave\AppData\Local\Temp
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\dave\AppData\Roaming\HandBrake
Starting Encode ...
[02:31:17] base preset: BLU Roku 2160p60 4K HEVC Surround
[02:31:17] Remote Process started with Process ID: 6900 using port: 8037. Max Allowed Instances: 1
[02:31:17] Worker: Starting HandBrake Engine ...
[02:31:17] Worker: Parent Process Id 9248
[02:31:17] Worker: Starting Web Server on port 8037 ...
[02:31:17] Worker: Starting Listener: 1
[02:31:17] Worker: Server Started
[02:31:18] Worker: Disconnected worker monitoring enabled!
[02:31:18] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[02:31:18] vcn: not available on this system
[02:31:19] qsv: is available on this system
[02:31:19] hb_init: starting libhb thread
[02:32:31] Worker process exited!
[02:32:31] Worker process exit was not expected.
Job Failed (-12)
I was able to scan the file on another system.
A Dell Desktop with 32GB RAM. It did trigger a
warning error however:
Jun 14 02:37:33 0.2004 Microsoft-Windows-Resource-Exhaustion-Detector
Windows successfully diagnosed a low virtual memory condition.
The following programs consumed the most virtual memory:
HandBrake.Worker.exe (11884) consumed 45816553472 bytes,
MsMpEng.exe (4288) consumed 324354048 bytes,
and HandBrake.exe (9248) consumed 205930496 bytes.
Yup 42 GB of RAM is bit too much. Could be because of that subtitles FIFO I made unlimited some times ago, I don't know if I have a file I can use to reproduce the issue.
The subtitles scan pass kept all the decoded subtitles in memory, it didn't cause any issue on DVD-Video, but full HD Blu-ray subtitles requires more memory.
Activity
galad87 commentedon Jun 14, 2025
Try a snapshot, it should fix the crash: https://github.com/HandBrake/HandBrake-snapshots
OpenSesameee commentedon Jun 14, 2025
Some data I gathered:
Title information
Name: Men In Black (English)
Source file name: 00001.mpls
Duration: 1:37:58
Chapters count: 16
Size: 27.2 GB
Segment count: 1
Segment map: 11
File name: Men In Black_t01.mkv
Ripped with MakeMKV v1.18.1
Windows 11
BeeLink S12 Pro 16GB ram, 500GB SSD
Foreign Audio Scan: Forced Only (checked), Burn-In (Checked)
Subtitle Scan Failed at 42.3%
Foreign Audio Scan: Forced Only (checked), Burn-In (UnChecked)
Subtitle Scan Failed at 42.4%
Remove Subtitle: 4 English (PGS) (Audience Silioute)
Still fails around 43%
Remove Subtitle: 3 English (PGS) (Alien Language)
Still fails around 43%
Remove Subtitle: 2 English (PGS)
Still fails around 43%
Remove All Subtitles except: Foreign Audio Scan (Forced Only checked, Burn-In Checked)
Still fails
Leaving all Subtitles but unchecking Forced Only & Burn-In on Foreign Audio Scan
Still fails
On this system, the only thing that works is to
remove the Foreign Audio Scan.
Activity Log:
HandBrake 1.9.2 (2025022300)
OS: Microsoft Windows NT 10.0.26100.0
CPU: Intel(R) N100
Ram: 16161 MB,
GPU Information:
Intel(R) UHD Graphics - 32.0.101.6737
Microsoft Remote Display Adapter - 10.0.26100.3624
Screen: 2560x1080
Temp Dir: C:\Users\Dave\AppData\Local\Temp
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Dave\AppData\Roaming\HandBrake
Starting Encode ...
[01:45:54] base preset: BLU Roku 2160p60 4K HEVC Surround
[01:45:54] Remote Process started with Process ID: 11996 using port: 8037. Max Allowed Instances: 1
[01:45:54] Worker: Starting HandBrake Engine ...
[01:45:54] Worker: Parent Process Id 6596
[01:45:54] Worker: Starting Web Server on port 8037 ...
[01:45:54] Worker: Starting Listener: 1
[01:45:54] Worker: Server Started
[01:45:55] Worker: Disconnected worker monitoring enabled!
[01:45:55] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[01:45:55] vcn: not available on this system
[01:45:55] qsv: is available on this system
[01:45:55] hb_init: starting libhb thread
[01:45:56] Starting work at: Sat Jun 14 01:45:56 2025
[01:45:56] 1 job(s) to process
[01:45:56] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Surround 5.1",
"Track": 0,
"DitherMethod": 0
},
{
"Bitrate": 640,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 7,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Surround 5.1",
"Track": 0,
"DitherMethod": 0
},
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Surround 5.1",
"Track": 1,
"DitherMethod": 0
},
{
"DRC": 0,
"Encoder": "copy:ac3",
"Gain": 0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Surround 5.1",
"Track": 1,
"DitherMethod": 0
},
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 2,
"DitherMethod": 0
},
{
"DRC": 0,
"Encoder": "copy:ac3",
"Gain": 0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 2,
"DitherMethod": 0
},
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 3,
"DitherMethod": 0
},
{
"DRC": 0,
"Encoder": "copy:ac3",
"Gain": 0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 3,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:eac3",
"copy:dts",
"copy:mp3"
],
"FallbackEncoder": "av_aac"
},
"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"
},
{
"Name": "Chapter 10"
},
{
"Name": "Chapter 11"
},
{
"Name": "Chapter 12"
},
{
"Name": "Chapter 13"
},
{
"Name": "Chapter 14"
},
{
"Name": "Chapter 15"
},
{
"Name": "Chapter 16"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\HandBrake\OUT\Men In Black t01.mkv",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": "7"
}
},
{
"ID": 4,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 20,
"Settings": {
"crop-bottom": "20",
"crop-left": "0",
"crop-right": "0",
"crop-top": "20",
"height": "1040",
"width": "1920"
}
},
{
"ID": 11,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 16
},
"Title": 1,
"Path": "D:\Dave\Men In Black\Men In Black_t01.mkv",
"HWDecode": 2,
"KeepDuplicateTitles": false
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 1,
"Offset": 0,
"Track": 0
},
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 2,
"Offset": 0,
"Track": 1
},
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 3,
"Offset": 0,
"Track": 2
},
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 4,
"Offset": 0,
"Track": 3
}
]
},
"Video": {
"Encoder": "x265_10bit",
"Level": "auto",
"MultiPass": true,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "strong-intra-smoothing=0:rect=0:aq-mode=1:rd=4:psy-rd=0.75:psy-rdoq=4.0:rdoq-level=1:rskip=2",
"Preset": "medium",
"Profile": "main10",
"Quality": 28,
"QSV": {
"Decode": false
},
"HardwareDecode": 0
}
}
[01:45:56] CPU: Intel(R) N100
[01:45:56] - logical processor count: 4
[01:45:56] Intel Quick Sync Video support: yes, gpu list: 0
[01:45:56] Intel Quick Sync Video integrated adapter with index 0
[01:45:56] Impl mfx-gen library path: C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_58f71ae65c958b28\libmfx64-gen.dll
[01:45:56] - Intel Media SDK hardware: API 2.14 (minimum: 1.3)
[01:45:56] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[01:45:56] - H.264 encoder: yes
[01:45:56] - preferred implementation: hardware (1) via D3D11
[01:45:56] - capabilities (hardware): lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[01:45:56] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[01:45:56] - preferred implementation: hardware (1) via D3D11
[01:45:56] - capabilities (hardware): lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[01:45:56] - AV1 encoder: no
[01:45:56] hb_scan: path=D:\Dave\Men In Black\Men In Black_t01.mkv, title_index=1
Input #0, matroska,webm, from 'D:\Dave\Men In Black\Men In Black_t01.mkv':
Metadata:
title : Men In Black
encoder : libmakemkv v1.18.1 (1.3.10/1.5.2) win(x64-release)
creation_time : 2025-06-14T04:45:46.000000Z
Duration: 01:37:58.87, start: 0.000000, bitrate: 28166 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 586.127208
Metadata:
title : Chapter 01
Chapter #0:1: start 586.127208, end 766.807708
Metadata:
title : Chapter 02
Chapter #0:2: start 766.807708, end 1092.341250
Metadata:
title : Chapter 03
Chapter #0:3: start 1092.341250, end 1531.446583
Metadata:
title : Chapter 04
Chapter #0:4: start 1531.446583, end 1754.544458
Metadata:
title : Chapter 05
Chapter #0:5: start 1754.544458, end 2238.986750
Metadata:
title : Chapter 06
Chapter #0:6: start 2238.986750, end 2598.554292
Metadata:
title : Chapter 07
Chapter #0:7: start 2598.554292, end 2998.120125
Metadata:
title : Chapter 08
Chapter #0:8: start 2998.120125, end 3269.391125
Metadata:
title : Chapter 09
Chapter #0:9: start 3269.391125, end 3651.522875
Metadata:
title : Chapter 10
Chapter #0:10: start 3651.522875, end 3984.689042
Metadata:
title : Chapter 11
Chapter #0:11: start 3984.689042, end 4135.548083
Metadata:
title : Chapter 12
Chapter #0:12: start 4135.548083, end 4496.700542
Metadata:
title : Chapter 13
Chapter #0:13: start 4496.700542, end 4778.982542
Metadata:
title : Chapter 14
Chapter #0:14: start 4778.982542, end 5389.634250
Metadata:
title : Chapter 15
Chapter #0:15: start 5389.634250, end 5878.873000
Metadata:
title : Chapter 16
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn
Metadata:
BPS-eng : 23872705
DURATION-eng : 01:37:58.873000000
NUMBER_OF_FRAMES-eng: 140952
NUMBER_OF_BYTES-eng: 17543075724
SOURCE_ID-eng : 001011
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(eng): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit) (default)
Metadata:
title : Surround 5.1
BPS-eng : 1801294
DURATION-eng : 01:37:58.873333333
NUMBER_OF_FRAMES-eng: 7054648
NUMBER_OF_BYTES-eng: 1323697722
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 01:37:58.880000000
NUMBER_OF_FRAMES-eng: 183715
NUMBER_OF_BYTES-eng: 329217280
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 01:37:58.880000000
NUMBER_OF_FRAMES-eng: 183715
NUMBER_OF_BYTES-eng: 141093120
SOURCE_ID-eng : 001105
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 01:37:58.880000000
NUMBER_OF_FRAMES-eng: 183715
NUMBER_OF_BYTES-eng: 141093120
SOURCE_ID-eng : 001106
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng : 35879
DURATION-eng : 01:27:13.207145833
NUMBER_OF_FRAMES-eng: 2066
NUMBER_OF_BYTES-eng: 23470542
SOURCE_ID-eng : 001200
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng : 43698
DURATION-eng : 01:35:09.432895833
NUMBER_OF_FRAMES-eng: 3277
NUMBER_OF_BYTES-eng: 31186398
SOURCE_ID-eng : 001201
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:7(eng): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng : 9818
DURATION-eng : 00:59:22.162770833
NUMBER_OF_FRAMES-eng: 58
NUMBER_OF_BYTES-eng: 4371966
SOURCE_ID-eng : 001213
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:8(eng): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080
Metadata:
BPS-eng : 1565919
DURATION-eng : 01:37:53.054687500
NUMBER_OF_FRAMES-eng: 63728
NUMBER_OF_BYTES-eng: 1149590953
SOURCE_ID-eng : 001217
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[01:45:56] scan: decoding previews for title 1
[01:45:56] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD, 5.1 ch)
[01:45:56] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3, 5.1 ch, 448 kbps)
[01:45:56] scan: audio 0x3: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[01:45:56] scan: audio 0x4: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[01:45:56] using container PAR 1:1
[01:45:56] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 20/20/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[01:45:56] scan: supported video decoders: avcodec qsv
[01:45:56] libhb: scan thread found 1 valid title(s)
[01:45:56] Starting Task: Subtitle Scan
[01:45:56] job configuration:
[01:45:56] * source
[01:45:56] + D:\Dave\Men In Black\Men In Black_t01.mkv
[01:45:56] + title 1, chapter(s) 1 to 16
[01:45:56] + container: matroska,webm
[01:45:56] + data rate: 28166 kbps
[01:45:56] * destination
[01:45:56] + C:\HandBrake\OUT\Men In Black t01.mkv
[01:45:56] + container: Matroska (libavformat)
[01:45:56] + chapter markers
[01:45:56] * video track
[01:45:56] + decoder: h264 8-bit (yuv420p)
[01:45:56] + filters
[01:45:56] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[01:45:56] + Decomb (mode=39)
[01:45:56] + Framerate Shaper (mode=1)
[01:45:56] + frame rate: 23.976 fps -> constant 23.976 fps
[01:45:56] + Crop and Scale (width=1920:height=1040:crop-top=20:crop-bottom=20:crop-left=0:crop-right=0)
[01:45:56] + source: 1920 * 1080, crop (20/20/0/0): 1920 * 1040, scale: 1920 * 1040
[01:45:56] + Output geometry
[01:45:56] + storage dimensions: 1920 x 1040
[01:45:56] + pixel aspect ratio: 1 : 1
[01:45:56] + display dimensions: 1920 x 1040
[01:45:56] * Foreign Audio Search: Render/Burn-in, Forced Only
[01:45:56] + subtitle, English (PGS) (track 0, id 0x5, Picture)
[01:45:56] + subtitle, English (PGS) (track 1, id 0x6, Picture)
[01:45:56] + subtitle, English (PGS) (track 2, id 0x7, Picture)
[01:45:56] + subtitle, English (PGS) (track 3, id 0x8, Picture)
[01:45:56] sync: expecting 140952 video frames
out of memory
[01:48:18] Worker process exited!
[01:48:18] Worker process exit was not expected.
Job Failed (-12)
Windows 10
HP Desktop with 16GB RAM
Memory usage goes from negligible to 95-97% linearly
then bounces around till it fails. Guessing it's running
out of virtual memory.
This one gave me an Application Error dialog box
The instrucktion at 0x00007FFC854C4FAF reference memory at
0x00000000000000E3. The memory could not be read.
(may have too many or not enough 0's...hard to read)
Activity Log:
HandBrake 1.9.2 (2025022300)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Ram: 16290 MB,
GPU Information:
Intel(R) HD Graphics 4600 - 20.19.15.5126 - (Unsupported Driver Detected)
Microsoft Remote Display Adapter - 10.0.19041.5794
Screen: 2560x1080
Temp Dir: C:\Users\dave\AppData\Local\Temp
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\dave\AppData\Roaming\HandBrake
Starting Encode ...
[02:31:17] base preset: BLU Roku 2160p60 4K HEVC Surround
[02:31:17] Remote Process started with Process ID: 6900 using port: 8037. Max Allowed Instances: 1
[02:31:17] Worker: Starting HandBrake Engine ...
[02:31:17] Worker: Parent Process Id 9248
[02:31:17] Worker: Starting Web Server on port 8037 ...
[02:31:17] Worker: Starting Listener: 1
[02:31:17] Worker: Server Started
[02:31:18] Worker: Disconnected worker monitoring enabled!
[02:31:18] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[02:31:18] vcn: not available on this system
[02:31:19] qsv: is available on this system
[02:31:19] hb_init: starting libhb thread
[02:31:19] Starting work at: Sat Jun 14 02:31:19 2025
[02:31:19] 1 job(s) to process
[02:31:19] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Surround 5.1",
"Track": 0,
"DitherMethod": 0
},
{
"Bitrate": 640,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 7,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Surround 5.1",
"Track": 0,
"DitherMethod": 0
},
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Surround 5.1",
"Track": 1,
"DitherMethod": 0
},
{
"DRC": 0,
"Encoder": "copy:ac3",
"Gain": 0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Surround 5.1",
"Track": 1,
"DitherMethod": 0
},
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 2,
"DitherMethod": 0
},
{
"DRC": 0,
"Encoder": "copy:ac3",
"Gain": 0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 2,
"DitherMethod": 0
},
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 3,
"DitherMethod": 0
},
{
"DRC": 0,
"Encoder": "copy:ac3",
"Gain": 0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 3,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:eac3",
"copy:dts",
"copy:mp3"
],
"FallbackEncoder": "av_aac"
},
"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"
},
{
"Name": "Chapter 10"
},
{
"Name": "Chapter 11"
},
{
"Name": "Chapter 12"
},
{
"Name": "Chapter 13"
},
{
"Name": "Chapter 14"
},
{
"Name": "Chapter 15"
},
{
"Name": "Chapter 16"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\Users\dave\Desktop\HandBrakeLOCAL\OUTPUT\Men In Black t01.mkv",
"Options": {
"IpodAtom": false,
"Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 6,
"Settings": {
"mode": "7"
}
},
{
"ID": 4,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 20,
"Settings": {
"crop-bottom": "20",
"crop-left": "0",
"crop-right": "0",
"crop-top": "20",
"height": "1040",
"width": "1920"
}
},
{
"ID": 11,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {
"Name": "Men In Black"
},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 16
},
"Title": 1,
"Path": "H:\Dave\Men In Black\Men In Black_t01.mkv",
"HWDecode": 4,
"KeepDuplicateTitles": false
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": [
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 1,
"Offset": 0,
"Track": 0
},
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 2,
"Offset": 0,
"Track": 1
},
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 3,
"Offset": 0,
"Track": 2
},
{
"Burn": false,
"Default": false,
"Forced": false,
"ID": 4,
"Offset": 0,
"Track": 3
}
]
},
"Video": {
"Encoder": "x265_10bit",
"Level": "auto",
"MultiPass": true,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "strong-intra-smoothing=0:rect=0:aq-mode=1:rd=4:psy-rd=0.75:psy-rdoq=4.0:rdoq-level=1:rskip=2",
"Preset": "medium",
"Profile": "main10",
"Quality": 28,
"QSV": {
"Decode": false
},
"HardwareDecode": 0
}
}
[02:31:19] CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[02:31:19] - Intel microarchitecture Haswell
[02:31:19] - logical processor count: 8
[02:31:19] Intel Quick Sync Video support: no
[02:31:19] hb_scan: path=H:\Dave\Men In Black\Men In Black_t01.mkv, title_index=1
Input #0, matroska,webm, from 'H:\Dave\Men In Black\Men In Black_t01.mkv':
Metadata:
title : Men In Black
encoder : libmakemkv v1.18.1 (1.3.10/1.5.2) win(x64-release)
creation_time : 2025-06-14T04:45:46.000000Z
Duration: 01:37:58.87, start: 0.000000, bitrate: 28166 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 586.127208
Metadata:
title : Chapter 01
Chapter #0:1: start 586.127208, end 766.807708
Metadata:
title : Chapter 02
Chapter #0:2: start 766.807708, end 1092.341250
Metadata:
title : Chapter 03
Chapter #0:3: start 1092.341250, end 1531.446583
Metadata:
title : Chapter 04
Chapter #0:4: start 1531.446583, end 1754.544458
Metadata:
title : Chapter 05
Chapter #0:5: start 1754.544458, end 2238.986750
Metadata:
title : Chapter 06
Chapter #0:6: start 2238.986750, end 2598.554292
Metadata:
title : Chapter 07
Chapter #0:7: start 2598.554292, end 2998.120125
Metadata:
title : Chapter 08
Chapter #0:8: start 2998.120125, end 3269.391125
Metadata:
title : Chapter 09
Chapter #0:9: start 3269.391125, end 3651.522875
Metadata:
title : Chapter 10
Chapter #0:10: start 3651.522875, end 3984.689042
Metadata:
title : Chapter 11
Chapter #0:11: start 3984.689042, end 4135.548083
Metadata:
title : Chapter 12
Chapter #0:12: start 4135.548083, end 4496.700542
Metadata:
title : Chapter 13
Chapter #0:13: start 4496.700542, end 4778.982542
Metadata:
title : Chapter 14
Chapter #0:14: start 4778.982542, end 5389.634250
Metadata:
title : Chapter 15
Chapter #0:15: start 5389.634250, end 5878.873000
Metadata:
title : Chapter 16
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn
Metadata:
BPS-eng : 23872705
DURATION-eng : 01:37:58.873000000
NUMBER_OF_FRAMES-eng: 140952
NUMBER_OF_BYTES-eng: 17543075724
SOURCE_ID-eng : 001011
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(eng): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit) (default)
Metadata:
title : Surround 5.1
BPS-eng : 1801294
DURATION-eng : 01:37:58.873333333
NUMBER_OF_FRAMES-eng: 7054648
NUMBER_OF_BYTES-eng: 1323697722
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 01:37:58.880000000
NUMBER_OF_FRAMES-eng: 183715
NUMBER_OF_BYTES-eng: 329217280
SOURCE_ID-eng : 001100
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 01:37:58.880000000
NUMBER_OF_FRAMES-eng: 183715
NUMBER_OF_BYTES-eng: 141093120
SOURCE_ID-eng : 001105
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 01:37:58.880000000
NUMBER_OF_FRAMES-eng: 183715
NUMBER_OF_BYTES-eng: 141093120
SOURCE_ID-eng : 001106
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng : 35879
DURATION-eng : 01:27:13.207145833
NUMBER_OF_FRAMES-eng: 2066
NUMBER_OF_BYTES-eng: 23470542
SOURCE_ID-eng : 001200
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng : 43698
DURATION-eng : 01:35:09.432895833
NUMBER_OF_FRAMES-eng: 3277
NUMBER_OF_BYTES-eng: 31186398
SOURCE_ID-eng : 001201
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:7(eng): Subtitle: hdmv_pgs_subtitle (pgssub)
Metadata:
BPS-eng : 9818
DURATION-eng : 00:59:22.162770833
NUMBER_OF_FRAMES-eng: 58
NUMBER_OF_BYTES-eng: 4371966
SOURCE_ID-eng : 001213
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:8(eng): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080
Metadata:
BPS-eng : 1565919
DURATION-eng : 01:37:53.054687500
NUMBER_OF_FRAMES-eng: 63728
NUMBER_OF_BYTES-eng: 1149590953
SOURCE_ID-eng : 001217
_STATISTICS_WRITING_APP-eng: MakeMKV v1.18.1 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2025-06-14 04:45:46
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[02:31:19] scan: decoding previews for title 1
[AVHWDeviceContext @ 0000024cbbaf5140] Cannot load nvcuda.dll
[AVHWDeviceContext @ 0000024cbbaf5140] Could not dynamically load CUDA
hwaccel: failed to create hwdevice
[02:31:19] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD, 5.1 ch)
[02:31:19] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3, 5.1 ch, 448 kbps)
[02:31:19] scan: audio 0x3: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[02:31:19] scan: audio 0x4: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[02:31:19] using container PAR 1:1
[02:31:19] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 20/20/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[02:31:19] libhb: scan thread found 1 valid title(s)
[02:31:19] Starting Task: Subtitle Scan
[02:31:19] job configuration:
[02:31:19] * source
[02:31:19] + H:\Dave\Men In Black\Men In Black_t01.mkv
[02:31:19] + title 1, chapter(s) 1 to 16
[02:31:19] + container: matroska,webm
[02:31:19] + data rate: 28166 kbps
[02:31:19] * destination
[02:31:19] + C:\Users\dave\Desktop\HandBrakeLOCAL\OUTPUT\Men In Black t01.mkv
[02:31:19] + container: Matroska (libavformat)
[02:31:19] + chapter markers
[02:31:19] * video track
[02:31:19] + decoder: h264 8-bit (yuv420p)
[02:31:19] + filters
[02:31:19] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[02:31:19] + Decomb (mode=39)
[02:31:19] + Framerate Shaper (mode=1)
[02:31:19] + frame rate: 23.976 fps -> constant 23.976 fps
[02:31:19] + Crop and Scale (width=1920:height=1040:crop-top=20:crop-bottom=20:crop-left=0:crop-right=0)
[02:31:19] + source: 1920 * 1080, crop (20/20/0/0): 1920 * 1040, scale: 1920 * 1040
[02:31:19] + Output geometry
[02:31:19] + storage dimensions: 1920 x 1040
[02:31:19] + pixel aspect ratio: 1 : 1
[02:31:19] + display dimensions: 1920 x 1040
[02:31:19] * Foreign Audio Search: Render/Burn-in, Forced Only
[02:31:19] + subtitle, English (PGS) (track 0, id 0x5, Picture)
[02:31:19] + subtitle, English (PGS) (track 1, id 0x6, Picture)
[02:31:19] + subtitle, English (PGS) (track 2, id 0x7, Picture)
[02:31:19] + subtitle, English (PGS) (track 3, id 0x8, Picture)
[02:31:19] sync: expecting 140952 video frames
out of memory
[02:32:31] Worker process exited!
[02:32:31] Worker process exit was not expected.
Job Failed (-12)
I was able to scan the file on another system.
A Dell Desktop with 32GB RAM. It did trigger a
warning error however:
Jun 14 02:37:33 0.2004 Microsoft-Windows-Resource-Exhaustion-Detector
Windows successfully diagnosed a low virtual memory condition.
The following programs consumed the most virtual memory:
HandBrake.Worker.exe (11884) consumed 45816553472 bytes,
MsMpEng.exe (4288) consumed 324354048 bytes,
and HandBrake.exe (9248) consumed 205930496 bytes.
OpenSesameee commentedon Jun 14, 2025
Crashed with out of memory error using the Nightly build.
HandBrake-20250613-d74725c4c-x86_64-Win_GUI.exe
galad87 commentedon Jun 16, 2025
Yup 42 GB of RAM is bit too much. Could be because of that subtitles FIFO I made unlimited some times ago, I don't know if I have a file I can use to reproduce the issue.
galad87 commentedon Jun 16, 2025
The subtitles scan pass kept all the decoded subtitles in memory, it didn't cause any issue on DVD-Video, but full HD Blu-ray subtitles requires more memory.
it should be fixed now. Try the next snapshot that will be available an hour from now: https://github.com/HandBrake/HandBrake-snapshots
sync: fix eccessive memory usage during the indepth scan
OpenSesameee commentedon Jun 17, 2025
Tried with nightly build: HandBrake-20250616-be8f3c083-x86_64-Win_GUI
Memory usage stayed low during scan, did not ramp up like it does on the current release: 1.9.2 (2025022300)
Looks like the issue has been solved!