I have ripped blu-ray files for a show, Food Wars, and the show has forced subtitles - but Handbrake removes them.
Steps to reproduce the problem (If Applicable):
I used MakeMKV for the rip, and I know it doesn't work with forced subtitles. Because of that I used MediaInfo and MKVToolNix to re-add the forced subtitles - which works. At this point, to try and save storage space I try to use Handbrake to reencode the file, but the forced subtitles don't show in the final video. I make sure to select the forced subtitle track and leave it set to Forced Only and Burn In.
HandBrake version (e.g., 1.0.0):
1.5.1 (2022011000)
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Ram: 65503 MB,
GPU Information:
NVIDIA GeForce RTX 3090 - 31.0.15.2698
Screen: 5120x1440
Temp Dir: C:\Users\charl\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\charl\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[15:37:55] base preset: Fast 1080p30 (Modified)
[15:37:55] Remote Process started with Process ID: 21208 using port: 8037. Max Allowed Instances: 1
[15:37:55] Worker: Starting HandBrake Engine ...
[15:37:55] Worker: Starting Web Server on port 8037 ...
[15:37:55] Worker: Disconnected worker monitoring enabled!
[15:37:55] Compile-time hardening features are enabled
[15:37:55] hb_init: starting libhb thread
[15:37:55] Starting work at: Wed Nov 30 15:37:55 2022
[15:37:55] 1 job(s) to process
[15:37:55] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Name": "Stereo",
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd",
"copy:mp2"
],
"FallbackEncoder": "ac3"
},
"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"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "F:\\Final Format\\Title T00 (1)Postmkvnix.m4v",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"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": 13,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "2",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 8
},
"Title": 1,
"Path": "F:\\Raw Format\\title_t00 (1)postmkvnix.mkv"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22,
"QSV": {
"Decode": false
}
}
}
[15:37:55] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[15:37:55] - Intel microarchitecture Kaby Lake
[15:37:55] - logical processor count: 8
[15:37:55] Intel Quick Sync Video support: no
[15:37:55] hb_scan: path=F:\Raw Format\title_t00 (1)postmkvnix.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image F:\Raw Format\title_t00 (1)postmkvnix.mkv
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(F:\Raw Format\title_t00 (1)postmkvnix.mkv\) failed
[15:37:55] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
vdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[15:37:55] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'F:\Raw Format\title_t00 (1)postmkvnix.mkv':
Metadata:
encoder : libebml v1.4.4 + libmatroska v1.7.1
creation_time : 2022-11-30T19:45:59.000000Z
Duration: 00:25:44.54, start: 0.000000, bitrate: 25181 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 239.989750
Metadata:
title : Chapter 01
Chapter #0:1: start 239.989750, end 329.996333
Metadata:
title : Chapter 02
Chapter #0:2: start 329.996333, end 709.041667
Metadata:
title : Chapter 03
Chapter #0:3: start 709.041667, end 1323.989333
Metadata:
title : Chapter 04
Chapter #0:4: start 1323.989333, end 1413.995917
Metadata:
title : Chapter 05
Chapter #0:5: start 1413.995917, end 1478.018208
Metadata:
title : Chapter 06
Chapter #0:6: start 1478.018208, end 1499.498000
Metadata:
title : Chapter 07
Chapter #0:7: start 1499.498000, end 1544.543000
Metadata:
title : Chapter 08
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
BPS : 21623387
DURATION : 00:25:44.543000000
NUMBER_OF_FRAMES: 37032
NUMBER_OF_BYTES : 4174781556
SOURCE_ID : 001011
_STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-11-30 19:45:59
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, stereo, s32p (24 bit) (default)
Metadata:
title : Stereo
BPS : 2142079
DURATION : 00:25:00.001000000
NUMBER_OF_FRAMES: 140625
NUMBER_OF_BYTES : 401640104
SOURCE_ID : 001100
_STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-11-30 19:45:59
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, stereo, fltp, 1536 kb/s
Metadata:
title : Stereo
BPS : 1508998
DURATION : 00:25:00.001000000
NUMBER_OF_FRAMES: 140625
NUMBER_OF_BYTES : 282937500
SOURCE_ID : 001100
_STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-11-30 19:45:59
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 (default) (original) (comment) (forced) (descriptions)
Metadata:
BPS : 8277
DURATION : 00:24:54.806000000
NUMBER_OF_FRAMES: 115
NUMBER_OF_BYTES : 1546670
SOURCE_ID : 001200
_STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-11-30 19:45:59
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[15:37:55] scan: decoding previews for title 1
[15:37:55] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (2.0 ch)
[15:37:55] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (2.0 ch) (1536 kbps)
[15:37:56] 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: left
[15:37:56] libhb: scan thread found 1 valid title(s)
[15:37:56] Starting Task: Subtitle Scan
[15:37:56] Skipping crop/scale filter
[15:37:56] job configuration:
[15:37:56] * source
[15:37:56] + F:\Raw Format\title_t00 (1)postmkvnix.mkv
[15:37:56] + title 1, chapter(s) 1 to 8
[15:37:56] + container: matroska,webm
[15:37:56] + data rate: 25181 kbps
[15:37:56] * destination
[15:37:56] + F:\Final Format\Title T00 (1)Postmkvnix.m4v
[15:37:56] + container: MPEG-4 (libavformat)
[15:37:56] + align initial A/V stream timestamps
[15:37:56] + chapter markers
[15:37:56] * video track
[15:37:56] + decoder: h264 8-bit (yuv420p)
[15:37:56] + filters
[15:37: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)
[15:37:56] + Decomb (mode=39)
[15:37:56] + Framerate Shaper (mode=2:rate=27000000/900000)
[15:37:56] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[15:37:56] + Output geometry
[15:37:56] + storage dimensions: 1920 x 1080
[15:37:56] + pixel aspect ratio: 1 : 1
[15:37:56] + display dimensions: 1920 x 1080
[15:37:56] * Foreign Audio Search: Render/Burn-in, Forced Only
[15:37:56] + subtitle, English [PGS] (track 0, id 0x3, Picture)
[15:37:56] sync: expecting 37032 video frames
[15:37:58] reader: done. 1 scr changes
[15:37:58] work: average encoding speed for job is 0.000000 fps
[15:37:58] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[15:37:58] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[15:37:58] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[15:37:58] vfr: lost time: 0 (0 frames)
[15:37:58] vfr: gained time: 0 (0 frames) (0 not accounted for)
[15:37:58] h264-decoder done: 0 frames, 0 decoder errors
[15:37:58] sync: got 0 frames, 37032 expected
[15:37:58] Subtitle track 0 (id 0x3) 'English [PGS]': 75 hits (0 forced)
[15:37:58] No candidate detected during subtitle scan
[15:37:58] Starting Task: Encoding Pass
[15:37:58] Skipping crop/scale filter
[15:37:58] work: track 1, dithering not supported by codec
[15:37:58] job configuration:
[15:37:58] * source
[15:37:58] + F:\Raw Format\title_t00 (1)postmkvnix.mkv
[15:37:58] + title 1, chapter(s) 1 to 8
[15:37:58] + container: matroska,webm
[15:37:58] + data rate: 25181 kbps
[15:37:58] * destination
[15:37:58] + F:\Final Format\Title T00 (1)Postmkvnix.m4v
[15:37:58] + container: MPEG-4 (libavformat)
[15:37:58] + align initial A/V stream timestamps
[15:37:58] + chapter markers
[15:37:58] * video track
[15:37:58] + decoder: h264 8-bit (yuv420p)
[15:37:58] + filters
[15:37:58] + 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)
[15:37:58] + Decomb (mode=39)
[15:37:58] + Framerate Shaper (mode=2:rate=27000000/900000)
[15:37:58] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[15:37:58] + Output geometry
[15:37:58] + storage dimensions: 1920 x 1080
[15:37:58] + pixel aspect ratio: 1 : 1
[15:37:58] + display dimensions: 1920 x 1080
[15:37:58] + encoder: H.264 (libx264)
[15:37:58] + preset: fast
[15:37:58] + profile: main
[15:37:58] + level: 4.0
[15:37:58] + quality: 22.00 (RF)
[15:37:58] + color profile: 1-1-1
[15:37:58] + chroma location: left
[15:37:58] * audio track 1
[15:37:58] + name: Stereo
[15:37:58] + decoder: English (DTS-HD MA) (2.0 ch) (track 1, id 0x1)
[15:37:58] + samplerate: 48000 Hz
[15:37:58] + mixdown: Stereo
[15:37:58] + encoder: AAC (libavcodec)
[15:37:58] + bitrate: 160 kbps, samplerate: 48000 Hz
[15:37:58] sync: expecting 37032 video frames
[15:37:58] encx264: min-keyint: 24, keyint: 240
[15:37:58] encx264: encoding at constant RF 22.000000
[15:37:58] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[15:37:58] sync: first pts video is 0
[15:37:58] sync: "Chapter 1" (1) at frame 1 time 0
[15:37:58] sync: first pts audio 0x1 is 0
[15:39:55] sync: "Chapter 2" (2) at frame 5755 time 21599077
[15:40:48] sync: "Chapter 3" (3) at frame 7915 time 29707177
[15:43:35] sync: "Chapter 4" (4) at frame 17001 time 63813750
[15:48:59] sync: "Chapter 5" (5) at frame 31747 time 119166547
[15:49:55] sync: "Chapter 6" (6) at frame 33903 time 127259632
[15:50:29] sync: "Chapter 7" (7) at frame 35439 time 133025392
[15:50:40] sync: "Chapter 8" (8) at frame 35953 time 134954820
[15:50:50] reader: done. 1 scr changes
[15:50:51] work: average encoding speed for job is 47.895119 fps
[15:50:51] comb detect: heavy 191 | light 1237 | uncombed 35604 | total 37032
[15:50:51] decomb: deinterlaced 191 | blended 1237 | unfiltered 35604 | total 37032
[15:50:51] vfr: 37032 frames output, 0 dropped and 0 duped for CFR/PFR
[15:50:51] vfr: lost time: 0 (0 frames)
[15:50:51] vfr: gained time: 0 (0 frames) (0 not accounted for)
[15:50:51] dca-decoder done: 140625 frames, 0 decoder errors
[15:50:51] h264-decoder done: 37032 frames, 0 decoder errors
[15:50:51] sync: got 37032 frames, 37032 expected
[15:50:51] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:633 Avg QP:18.08 size:102111
x264 [info]: frame P:12120 Avg QP:20.84 size: 26946
x264 [info]: frame B:24279 Avg QP:21.49 size: 8937
x264 [info]: consecutive B-frames: 7.2% 11.2% 14.8% 66.9%
x264 [info]: mb I I16..4: 47.8% 0.0% 52.2%
x264 [info]: mb P I16..4: 11.3% 0.0% 6.8% P16..4: 30.6% 7.7% 5.1% 0.0% 0.0% skip:38.4%
x264 [info]: mb B I16..4: 4.1% 0.0% 0.8% B16..8: 17.3% 3.2% 0.2% direct:11.6% skip:63.0% L0:48.8% L1:47.7% BI: 3.6%
x264 [info]: coded y,uvDC,uvAC intra: 29.9% 69.1% 30.8% inter: 4.9% 20.8% 0.7%
x264 [info]: i16 v,h,dc,p: 37% 24% 14% 25%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 18% 22% 7% 7% 6% 6% 5% 4%
x264 [info]: i8c dc,h,v,p: 50% 20% 20% 9%
x264 [info]: Weighted P-Frames: Y:1.9% UV:1.2%
x264 [info]: ref P L0: 69.3% 30.7%
x264 [info]: ref B L0: 80.1% 19.9%
x264 [info]: ref B L1: 95.2% 4.8%
x264 [info]: kb/s:3150.19
[15:50:51] mux: track 0, 37032 frames, 608181424 bytes, 3150.09 kbps, fifo 2048
[15:50:51] mux: track 1, 70313 frames, 29939826 bytes, 155.07 kbps, fifo 4096
[15:50:51] Finished work at: Wed Nov 30 15:50:51 2022
[15:50:51] libhb: work result = 0
# Job Completed!