Keep output file exactly the same while only adding burn-in of forced subs

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
Dougmeister
Posts: 12
Joined: Tue Dec 29, 2020 10:38 pm

Keep output file exactly the same while only adding burn-in of forced subs

Post by Dougmeister »

Description of problem or question:

Trying to keep a DVD rip at the same quality (i.e., no additional compression) while simply adding one thing: forced subtitles.

I know how to burn-in forced subtitles, but every time I try to add them, the output file is significantly smaller (6.5GB -> 450MB, etc.)

I tried "Keep it the Same" under "Preset". Still ended up with a very small output file.

Steps to reproduce the problem (If Applicable):

[*] Load a DVD-quality video file
[*] On the "Subtitles" tab, select "Forced Only" and "Burn In"

HandBrake version (e.g., 1.0.0):

1.4.2 (2021100300)


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)
HandBrake 1.4.2 (2021100300)
OS: Microsoft Windows NT 10.0.19043.0
CPU: AMD FX(tm)-6300 Six-Core Processor
Ram: 24542 MB,
GPU Information:
NVIDIA GeForce GTX 1050 Ti - 27.21.14.5671
Screen: 1920x1080
Temp Dir: C:\Users\<username>\AppData\Local\Temp\
Install Dir: D:\Program Files\HandBrake\
Data Dir: C:\Users\<username>\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...
[07:59:42] base preset: Keep it the Same
[07:59:42] hb_init: starting libhb thread
[07:59:42] Starting work at: Thu Jun 23 07:59:42 2022
[07:59:42] 1 job(s) to process
[07:59:42] 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
}
],
"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"
},
{
"Name": "Chapter 9"
},
{
"Name": "Chapter 10"
},
{
"Name": "Chapter 11"
},
{
"Name": "Chapter 12"
},
{
"Name": "Chapter 13"
},
{
"Name": "Chapter 14"
},
{
"Name": "Chapter 15"
},
{
"Name": "Chapter 16"
},
{
"Name": "Chapter 17"
},
{
"Name": "Chapter 18"
},
{
"Name": "Chapter 19"
},
{
"Name": "Chapter 20"
},
{
"Name": "Chapter 21"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "D:\\Video\\(DVD rip)\\(DVD rip) (forced subs, same size).mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mkv"
},
"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": "62",
"crop-left": "0",
"crop-right": "0",
"crop-top": "58",
"height": "360",
"width": "720"
}
},
{
"ID": 6,
"Settings": {
"mode": "2",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 32,
"Den": 27
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 21
},
"Title": 1,
"Path": "D:\\Video\\(DVD rip)\\(DVD rip).mkv"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "mpeg2",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Quality": 22,
"QSV": {
"Decode": false
}
}
}
[07:59:42] CPU:
[07:59:42] - logical processor count: 6
[07:59:42] Intel Quick Sync Video support: no
[07:59:42] hb_scan: path=D:\Video\(DVD rip)\(DVD rip).mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\Video\(DVD rip)\(DVD rip).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(D:\Video\(DVD rip)\(DVD rip).mkv\) failed
[07:59:42] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[07:59:42] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Video\(DVD rip)\(DVD rip).mkv':
Metadata:
encoder : libmakemkv v1.16.7 (1.3.10/1.5.2) win(x64-release)
creation_time : 2022-06-23T00:21:13.000000Z
Duration: 02:12:20.63, start: 0.000000, bitrate: 6922 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 232.899333
Metadata:
title : Chapter 01
Chapter #0:1: start 232.899333, end 569.068500
Metadata:
title : Chapter 02
Chapter #0:2: start 569.068500, end 977.176200
Metadata:
title : Chapter 03
Chapter #0:3: start 977.176200, end 1367.532833
Metadata:
title : Chapter 04
Chapter #0:4: start 1367.532833, end 1919.751167
Metadata:
title : Chapter 05
Chapter #0:5: start 1919.751167, end 2569.567000
Metadata:
title : Chapter 06
Chapter #0:6: start 2569.567000, end 3141.138000
Metadata:
title : Chapter 07
Chapter #0:7: start 3141.138000, end 3411.408000
Metadata:
title : Chapter 08
Chapter #0:8: start 3411.408000, end 3634.998033
Metadata:
title : Chapter 09
Chapter #0:9: start 3634.998033, end 4126.122000
Metadata:
title : Chapter 10
Chapter #0:10: start 4126.122000, end 4555.050500
Metadata:
title : Chapter 11
Chapter #0:11: start 4555.050500, end 4791.286500
Metadata:
title : Chapter 12
Chapter #0:12: start 4791.286500, end 5389.717667
Metadata:
title : Chapter 13
Chapter #0:13: start 5389.717667, end 5805.800000
Metadata:
title : Chapter 14
Chapter #0:14: start 5805.800000, end 6420.614200
Metadata:
title : Chapter 15
Chapter #0:15: start 6420.614200, end 6925.285033
Metadata:
title : Chapter 16
Chapter #0:16: start 6925.285033, end 7207.233367
Metadata:
title : Chapter 17
Chapter #0:17: start 7207.233367, end 7306.132167
Metadata:
title : Chapter 18
Chapter #0:18: start 7306.132167, end 7448.941500
Metadata:
title : Chapter 19
Chapter #0:19: start 7448.941500, end 7839.331500
Metadata:
title : Chapter 20
Chapter #0:20: start 7839.331500, end 7940.632700
Metadata:
title : Chapter 21
Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
Metadata:
BPS-eng : 6270898
DURATION-eng : 02:12:20.632700000
NUMBER_OF_FRAMES-eng: 190385
NUMBER_OF_BYTES-eng: 6224362512
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Side data:
cpb: bitrate max/min/avg: 9800000/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 02:12:20.608000000
NUMBER_OF_FRAMES-eng: 248144
NUMBER_OF_BYTES-eng: 444674048
SOURCE_ID-eng : 0180BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 02:12:20.608000000
NUMBER_OF_FRAMES-eng: 248144
NUMBER_OF_BYTES-eng: 190574592
SOURCE_ID-eng : 0181BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:3(eng): Subtitle: dvd_subtitle, 720x480
Metadata:
BPS-eng : 5117
DURATION-eng : 02:11:00.917800000
NUMBER_OF_FRAMES-eng: 1854
NUMBER_OF_BYTES-eng: 5028388
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:4(eng): Subtitle: dvd_subtitle, 720x480 (default)
Metadata:
BPS-eng : 547
DURATION-eng : 01:55:55.706844444
NUMBER_OF_FRAMES-eng: 188
NUMBER_OF_BYTES-eng: 476364
SOURCE_ID-eng : 0123BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0:5(eng): Subtitle: subrip
Metadata:
BPS-eng : 84
DURATION-eng : 02:11:00.935000000
NUMBER_OF_FRAMES-eng: 1708
NUMBER_OF_BYTES-eng: 83153
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[07:59:42] scan: decoding previews for title 1
[07:59:42] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[07:59:42] scan: audio 0x2: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[07:59:42] WARNING: Video PAR 32:27 != container PAR 186:157
[07:59:42] scan: 10 previews, 720x480, 23.976 fps, autocrop = 58/62/0/0, aspect 16:9, PAR 32:27, color profile: 6-1-6
[07:59:42] libhb: scan thread found 1 valid title(s)
[07:59:42] Starting Task: Subtitle Scan
[07:59:42] job configuration:
[07:59:42] * source
[07:59:42] + D:\Video\(DVD rip)\(DVD rip).mkv
[07:59:42] + title 1, chapter(s) 1 to 21
[07:59:42] + container: matroska,webm
[07:59:42] + data rate: 6922 kbps
[07:59:42] * destination
[07:59:42] + D:\Video\(DVD rip)\(DVD rip) (forced subs, same size).mkv
[07:59:42] + container: Matroska (libavformat)
[07:59:42] + chapter markers
[07:59:42] * video track
[07:59:42] + decoder: mpeg2video 8-bit (yuv420p)
[07:59:42] + filters
[07:59:42] + 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)
[07:59:42] + Decomb (mode=39)
[07:59:42] + Framerate Shaper (mode=2:rate=27000000/900000)
[07:59:42] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[07:59:42] + Crop and Scale (width=720:height=360:crop-top=58:crop-bottom=62:crop-left=0:crop-right=0)
[07:59:42] + source: 720 * 480, crop (58/62/0/0): 720 * 360, scale: 720 * 360
[07:59:42] + Output geometry
[07:59:42] + storage dimensions: 720 x 360
[07:59:42] + pixel aspect ratio: 32 : 27
[07:59:42] + display dimensions: 853 x 360
[07:59:42] * Foreign Audio Search: Render/Burn-in, Forced Only
[07:59:42] + subtitle, English [VOBSUB] (track 0, id 0x3, Picture)
[07:59:42] + subtitle, English [VOBSUB] (track 1, id 0x4, Picture)
[07:59:42] sync: expecting 190384 video frames
[08:00:24] reader: done. 1 scr changes
[08:00:24] work: average encoding speed for job is 0.000000 fps
[08:00:24] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[08:00:24] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[08:00:24] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[08:00:24] vfr: lost time: 0 (0 frames)
[08:00:24] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:00:24] mpeg2video-decoder done: 0 frames, 0 decoder errors
[08:00:24] sync: got 0 frames, 190384 expected
[08:00:24] Subtitle track 0 (id 0x3) 'English [VOBSUB]': 1854 hits (0 forced)
[08:00:24] Subtitle track 1 (id 0x4) 'English [VOBSUB]': 188 hits (188 forced)
[08:00:24] Found a subtitle candidate with id 0x4 (contains forced subs)
[08:00:24] Starting Task: Encoding Pass
[08:00:24] work: track 1, dithering not supported by codec
[08:00:24] job configuration:
[08:00:24] * source
[08:00:24] + D:\Video\(DVD rip)\(DVD rip).mkv
[08:00:24] + title 1, chapter(s) 1 to 21
[08:00:24] + container: matroska,webm
[08:00:24] + data rate: 6922 kbps
[08:00:24] * destination
[08:00:24] + D:\Video\(DVD rip)\(DVD rip) (forced subs, same size).mkv
[08:00:24] + container: Matroska (libavformat)
[08:00:24] + chapter markers
[08:00:24] * video track
[08:00:24] + decoder: mpeg2video 8-bit (yuv420p)
[08:00:24] + filters
[08:00:24] + 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)
[08:00:24] + Decomb (mode=39)
[08:00:24] + Framerate Shaper (mode=2:rate=27000000/900000)
[08:00:24] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[08:00:24] + Subtitle renderer ()
[08:00:24] + Crop and Scale (width=720:height=360:crop-top=58:crop-bottom=62:crop-left=0:crop-right=0)
[08:00:24] + source: 720 * 480, crop (58/62/0/0): 720 * 360, scale: 720 * 360
[08:00:24] + Output geometry
[08:00:24] + storage dimensions: 720 x 360
[08:00:24] + pixel aspect ratio: 32 : 27
[08:00:24] + display dimensions: 853 x 360
[08:00:24] + encoder: MPEG-2 (libavcodec)
[08:00:24] + quality: 22.00 (QP)
[08:00:24] + color profile: 6-1-6
[08:00:24] * subtitle track 1, English [VOBSUB] (track 1, id 0x4, Picture) -> Render/Burn-in, Forced Only
[08:00:24] * audio track 1
[08:00:24] + name: Surround 5.1
[08:00:24] + decoder: English (AC3) (5.1 ch) (448 kbps) (track 1, id 0x1)
[08:00:24] + bitrate: 448 kbps, samplerate: 48000 Hz
[08:00:24] + mixdown: Stereo
[08:00:24] + encoder: AAC (libavcodec)
[08:00:24] + bitrate: 160 kbps, samplerate: 48000 Hz
[08:00:24] sync: expecting 190384 video frames
[08:00:24] encavcodecInit: MPEG-2 encoder
[08:00:24] encavcodec: encoding at constant quantizer 2596
[08:00:24] encavcodec: encoding with stored aspect 32/27
[08:00:25] sync: first pts video is 0
[08:00:25] sync: "Chapter 1" (1) at frame 1 time 0
[08:00:25] sync: first pts audio 0x1 is 0
[08:00:30] sync: first pts subtitle 0x4 is 4012020
[08:00:48] sync: "Chapter 2" (2) at frame 5586 time 20964693
[08:01:20] sync: "Chapter 3" (3) at frame 13645 time 51216165
[08:01:58] sync: "Chapter 4" (4) at frame 23432 time 87954116
[08:02:34] sync: "Chapter 5" (5) at frame 32789 time 123077955
[08:03:16] sync: "Chapter 6" (6) at frame 46031 time 172785112
[08:04:07] sync: "Chapter 7" (7) at frame 61609 time 231261030
[08:04:46] sync: "Chapter 8" (8) at frame 75313 time 282702420
[08:05:04] sync: "Chapter 9" (9) at frame 81793 time 307026720
[08:05:18] sync: "Chapter 10" (10) at frame 87156 time 327158081
[08:05:55] sync: "Chapter 11" (11) at frame 98929 time 371350980
[08:06:28] sync: "Chapter 12" (12) at frame 109213 time 409954545
[08:06:47] sync: "Chapter 13" (13) at frame 114877 time 431215785
[08:07:26] sync: "Chapter 14" (14) at frame 129225 time 485074590
[08:07:57] sync: "Chapter 15" (15) at frame 139201 time 522522000
[08:08:39] sync: "Chapter 16" (16) at frame 153944 time 577863536
[08:09:15] sync: "Chapter 17" (17) at frame 166044 time 623283911
[08:09:33] sync: "Chapter 18" (18) at frame 172804 time 648659261
[08:09:40] sync: "Chapter 19" (19) at frame 175175 time 657559402
[08:09:49] sync: "Chapter 20" (20) at frame 178597 time 670404735
[08:10:16] sync: "Chapter 21" (21) at frame 187957 time 705539835
[08:10:24] reader: done. 1 scr changes
[08:10:25] work: average encoding speed for job is 317.598724 fps
[08:10:25] comb detect: heavy 2296 | light 4923 | uncombed 183166 | total 190385
[08:10:25] decomb: deinterlaced 2296 | blended 4923 | unfiltered 183166 | total 190385
[08:10:25] vfr: 190385 frames output, 0 dropped and 0 duped for CFR/PFR
[08:10:25] vfr: lost time: 0 (0 frames)
[08:10:25] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:10:25] ac3-decoder done: 248144 frames, 0 decoder errors
[08:10:25] mpeg2video-decoder done: 190385 frames, 0 decoder errors
[08:10:25] sync: got 190385 frames, 190384 expected
[08:10:25] sync: framerate min 23.976 fps, max 29.970 fps, avg 23.976 fps
[08:10:25] mux: track 0, 190385 frames, 310988013 bytes, 313.31 kbps, fifo 8192
[08:10:25] mux: track 1, 372217 frames, 159257015 bytes, 160.45 kbps, fifo 16384
[08:10:25] Finished work at: Thu Jun 23 08:10:25 2022
[08:10:25] libhb: work result = 0

# Job Completed!

Code: Select all

HandBrake 1.4.2 (2021100300)
OS: Microsoft Windows NT 10.0.19043.0
CPU: AMD FX(tm)-6300 Six-Core Processor             
Ram: 24542 MB, 
GPU Information:
  NVIDIA GeForce GTX 1050 Ti - 27.21.14.5671
Screen: 1920x1080
Temp Dir: C:\Users\<username>\AppData\Local\Temp\
Install Dir: D:\Program Files\HandBrake\
Data Dir: C:\Users\<username>\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...
[07:59:42] base preset: Keep it the Same
[07:59:42] hb_init: starting libhb thread
[07:59:42] Starting work at: Thu Jun 23 07:59:42 2022
[07:59:42] 1 job(s) to process
[07:59:42] 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
      }
    ],
    "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"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      },
      {
        "Name": "Chapter 17"
      },
      {
        "Name": "Chapter 18"
      },
      {
        "Name": "Chapter 19"
      },
      {
        "Name": "Chapter 20"
      },
      {
        "Name": "Chapter 21"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Video\\(DVD rip)\\(DVD rip) (forced subs, same size).mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "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": "62",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "58",
          "height": "360",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 32,
    "Den": 27
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 21
    },
    "Title": 1,
    "Path": "D:\\Video\\(DVD rip)\\(DVD rip).mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "mpeg2",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Quality": 22,
    "QSV": {
      "Decode": false
    }
  }
}
[07:59:42] CPU:
[07:59:42]  - logical processor count: 6
[07:59:42] Intel Quick Sync Video support: no
[07:59:42] hb_scan: path=D:\Video\(DVD rip)\(DVD rip).mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\Video\(DVD rip)\(DVD rip).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(D:\Video\(DVD rip)\(DVD rip).mkv\) failed
[07:59:42] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[07:59:42] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Video\(DVD rip)\(DVD rip).mkv':
  Metadata:
    encoder         : libmakemkv v1.16.7 (1.3.10/1.5.2) win(x64-release)
    creation_time   : 2022-06-23T00:21:13.000000Z
  Duration: 02:12:20.63, start: 0.000000, bitrate: 6922 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 232.899333
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 232.899333, end 569.068500
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 569.068500, end 977.176200
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 977.176200, end 1367.532833
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1367.532833, end 1919.751167
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1919.751167, end 2569.567000
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 2569.567000, end 3141.138000
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 3141.138000, end 3411.408000
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 3411.408000, end 3634.998033
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 3634.998033, end 4126.122000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 4126.122000, end 4555.050500
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 4555.050500, end 4791.286500
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 4791.286500, end 5389.717667
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 5389.717667, end 5805.800000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 5805.800000, end 6420.614200
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 6420.614200, end 6925.285033
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 6925.285033, end 7207.233367
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 7207.233367, end 7306.132167
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 7306.132167, end 7448.941500
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 7448.941500, end 7839.331500
      Metadata:
        title           : Chapter 20
    Chapter #0:20: start 7839.331500, end 7940.632700
      Metadata:
        title           : Chapter 21
  Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Metadata:
      BPS-eng         : 6270898
      DURATION-eng    : 02:12:20.632700000
      NUMBER_OF_FRAMES-eng: 190385
      NUMBER_OF_BYTES-eng: 6224362512
      SOURCE_ID-eng   : 0100E0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Side data:
      cpb: bitrate max/min/avg: 9800000/0/0 buffer size: 1835008 vbv_delay: N/A
  Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 02:12:20.608000000
      NUMBER_OF_FRAMES-eng: 248144
      NUMBER_OF_BYTES-eng: 444674048
      SOURCE_ID-eng   : 0180BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 192000
      DURATION-eng    : 02:12:20.608000000
      NUMBER_OF_FRAMES-eng: 248144
      NUMBER_OF_BYTES-eng: 190574592
      SOURCE_ID-eng   : 0181BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:3(eng): Subtitle: dvd_subtitle, 720x480
    Metadata:
      BPS-eng         : 5117
      DURATION-eng    : 02:11:00.917800000
      NUMBER_OF_FRAMES-eng: 1854
      NUMBER_OF_BYTES-eng: 5028388
      SOURCE_ID-eng   : 0120BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:4(eng): Subtitle: dvd_subtitle, 720x480 (default)
    Metadata:
      BPS-eng         : 547
      DURATION-eng    : 01:55:55.706844444
      NUMBER_OF_FRAMES-eng: 188
      NUMBER_OF_BYTES-eng: 476364
      SOURCE_ID-eng   : 0123BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:5(eng): Subtitle: subrip
    Metadata:
      BPS-eng         : 84
      DURATION-eng    : 02:11:00.935000000
      NUMBER_OF_FRAMES-eng: 1708
      NUMBER_OF_BYTES-eng: 83153
      SOURCE_ID-eng   : 0100E0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-23 00:21:13
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[07:59:42] scan: decoding previews for title 1
[07:59:42] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[07:59:42] scan: audio 0x2: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[07:59:42] WARNING: Video PAR 32:27 != container PAR 186:157
[07:59:42] scan: 10 previews, 720x480, 23.976 fps, autocrop = 58/62/0/0, aspect 16:9, PAR 32:27, color profile: 6-1-6
[07:59:42] libhb: scan thread found 1 valid title(s)
[07:59:42] Starting Task: Subtitle Scan
[07:59:42] job configuration:
[07:59:42]  * source
[07:59:42]    + D:\Video\(DVD rip)\(DVD rip).mkv
[07:59:42]    + title 1, chapter(s) 1 to 21
[07:59:42]    + container: matroska,webm
[07:59:42]    + data rate: 6922 kbps
[07:59:42]  * destination
[07:59:42]    + D:\Video\(DVD rip)\(DVD rip) (forced subs, same size).mkv
[07:59:42]    + container: Matroska (libavformat)
[07:59:42]      + chapter markers
[07:59:42]  * video track
[07:59:42]    + decoder: mpeg2video 8-bit (yuv420p)
[07:59:42]    + filters
[07:59:42]      + 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)
[07:59:42]      + Decomb (mode=39)
[07:59:42]      + Framerate Shaper (mode=2:rate=27000000/900000)
[07:59:42]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[07:59:42]      + Crop and Scale (width=720:height=360:crop-top=58:crop-bottom=62:crop-left=0:crop-right=0)
[07:59:42]        + source: 720 * 480, crop (58/62/0/0): 720 * 360, scale: 720 * 360
[07:59:42]    + Output geometry
[07:59:42]      + storage dimensions: 720 x 360
[07:59:42]      + pixel aspect ratio: 32 : 27
[07:59:42]      + display dimensions: 853 x 360
[07:59:42]  * Foreign Audio Search: Render/Burn-in, Forced Only
[07:59:42]    + subtitle, English [VOBSUB] (track 0, id 0x3, Picture)
[07:59:42]    + subtitle, English [VOBSUB] (track 1, id 0x4, Picture)
[07:59:42] sync: expecting 190384 video frames
[08:00:24] reader: done. 1 scr changes
[08:00:24] work: average encoding speed for job is 0.000000 fps
[08:00:24] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[08:00:24] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[08:00:24] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[08:00:24] vfr: lost time: 0 (0 frames)
[08:00:24] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:00:24] mpeg2video-decoder done: 0 frames, 0 decoder errors
[08:00:24] sync: got 0 frames, 190384 expected
[08:00:24] Subtitle track 0 (id 0x3) 'English [VOBSUB]': 1854 hits (0 forced)
[08:00:24] Subtitle track 1 (id 0x4) 'English [VOBSUB]': 188 hits (188 forced)
[08:00:24] Found a subtitle candidate with id 0x4 (contains forced subs)
[08:00:24] Starting Task: Encoding Pass
[08:00:24] work: track 1, dithering not supported by codec
[08:00:24] job configuration:
[08:00:24]  * source
[08:00:24]    + D:\Video\(DVD rip)\(DVD rip).mkv
[08:00:24]    + title 1, chapter(s) 1 to 21
[08:00:24]    + container: matroska,webm
[08:00:24]    + data rate: 6922 kbps
[08:00:24]  * destination
[08:00:24]    + D:\Video\(DVD rip)\(DVD rip) (forced subs, same size).mkv
[08:00:24]    + container: Matroska (libavformat)
[08:00:24]      + chapter markers
[08:00:24]  * video track
[08:00:24]    + decoder: mpeg2video 8-bit (yuv420p)
[08:00:24]    + filters
[08:00:24]      + 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)
[08:00:24]      + Decomb (mode=39)
[08:00:24]      + Framerate Shaper (mode=2:rate=27000000/900000)
[08:00:24]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[08:00:24]      + Subtitle renderer ()
[08:00:24]      + Crop and Scale (width=720:height=360:crop-top=58:crop-bottom=62:crop-left=0:crop-right=0)
[08:00:24]        + source: 720 * 480, crop (58/62/0/0): 720 * 360, scale: 720 * 360
[08:00:24]    + Output geometry
[08:00:24]      + storage dimensions: 720 x 360
[08:00:24]      + pixel aspect ratio: 32 : 27
[08:00:24]      + display dimensions: 853 x 360
[08:00:24]    + encoder: MPEG-2 (libavcodec)
[08:00:24]      + quality: 22.00 (QP)
[08:00:24]      + color profile: 6-1-6
[08:00:24]  * subtitle track 1, English [VOBSUB] (track 1, id 0x4, Picture) -> Render/Burn-in, Forced Only
[08:00:24]  * audio track 1
[08:00:24]    + name: Surround 5.1
[08:00:24]    + decoder: English (AC3) (5.1 ch) (448 kbps) (track 1, id 0x1)
[08:00:24]      + bitrate: 448 kbps, samplerate: 48000 Hz
[08:00:24]    + mixdown: Stereo
[08:00:24]    + encoder: AAC (libavcodec)
[08:00:24]      + bitrate: 160 kbps, samplerate: 48000 Hz
[08:00:24] sync: expecting 190384 video frames
[08:00:24] encavcodecInit: MPEG-2 encoder
[08:00:24] encavcodec: encoding at constant quantizer 2596
[08:00:24] encavcodec: encoding with stored aspect 32/27
[08:00:25] sync: first pts video is 0
[08:00:25] sync: "Chapter 1" (1) at frame 1 time 0
[08:00:25] sync: first pts audio 0x1 is 0
[08:00:30] sync: first pts subtitle 0x4 is 4012020
[08:00:48] sync: "Chapter 2" (2) at frame 5586 time 20964693
[08:01:20] sync: "Chapter 3" (3) at frame 13645 time 51216165
[08:01:58] sync: "Chapter 4" (4) at frame 23432 time 87954116
[08:02:34] sync: "Chapter 5" (5) at frame 32789 time 123077955
[08:03:16] sync: "Chapter 6" (6) at frame 46031 time 172785112
[08:04:07] sync: "Chapter 7" (7) at frame 61609 time 231261030
[08:04:46] sync: "Chapter 8" (8) at frame 75313 time 282702420
[08:05:04] sync: "Chapter 9" (9) at frame 81793 time 307026720
[08:05:18] sync: "Chapter 10" (10) at frame 87156 time 327158081
[08:05:55] sync: "Chapter 11" (11) at frame 98929 time 371350980
[08:06:28] sync: "Chapter 12" (12) at frame 109213 time 409954545
[08:06:47] sync: "Chapter 13" (13) at frame 114877 time 431215785
[08:07:26] sync: "Chapter 14" (14) at frame 129225 time 485074590
[08:07:57] sync: "Chapter 15" (15) at frame 139201 time 522522000
[08:08:39] sync: "Chapter 16" (16) at frame 153944 time 577863536
[08:09:15] sync: "Chapter 17" (17) at frame 166044 time 623283911
[08:09:33] sync: "Chapter 18" (18) at frame 172804 time 648659261
[08:09:40] sync: "Chapter 19" (19) at frame 175175 time 657559402
[08:09:49] sync: "Chapter 20" (20) at frame 178597 time 670404735
[08:10:16] sync: "Chapter 21" (21) at frame 187957 time 705539835
[08:10:24] reader: done. 1 scr changes
[08:10:25] work: average encoding speed for job is 317.598724 fps
[08:10:25] comb detect: heavy 2296 | light 4923 | uncombed 183166 | total 190385
[08:10:25] decomb: deinterlaced 2296 | blended 4923 | unfiltered 183166 | total 190385
[08:10:25] vfr: 190385 frames output, 0 dropped and 0 duped for CFR/PFR
[08:10:25] vfr: lost time: 0 (0 frames)
[08:10:25] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:10:25] ac3-decoder done: 248144 frames, 0 decoder errors
[08:10:25] mpeg2video-decoder done: 190385 frames, 0 decoder errors
[08:10:25] sync: got 190385 frames, 190384 expected
[08:10:25] sync: framerate min 23.976 fps, max 29.970 fps, avg 23.976 fps
[08:10:25] mux: track 0, 190385 frames, 310988013 bytes, 313.31 kbps, fifo 8192
[08:10:25] mux: track 1, 372217 frames, 159257015 bytes, 160.45 kbps, fifo 16384
[08:10:25] Finished work at: Thu Jun 23 08:10:25 2022
[08:10:25] libhb: work result = 0

# Job Completed!

Dougmeister
Posts: 12
Joined: Tue Dec 29, 2020 10:38 pm

Re: Keep output file exactly the same while only adding burn-in of forced subs

Post by Dougmeister »

Note: I am updating to the latest version, but I don't think that is the solution.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Keep output file exactly the same while only adding burn-in of forced subs

Post by rollin_eng »

Handbrake is a video encoder so you have to encode the video. Pick a preset that best suits your needs and try it.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Keep output file exactly the same while only adding burn-in of forced subs

Post by JohnAStebbins »

Is there a reason you are choosing to encode to MPEG-2? If you don't require MPEG-2 for some player compatibility reason, you should use a more modern codec. The MPEG-2 codec is old technology (nearly 30 years old) and the encoder implementation (i.e. the software implementing the spec) is much less refined than the more modern encoders like h.264 and h.265. You will likely not be able to achieve the same level of quality with the MPEG-2 encoder that you can with either h.264 or h.265 encoders *at any file size*.
Deleted User 11865

Re: Keep output file exactly the same while only adding burn-in of forced subs

Post by Deleted User 11865 »

Just FWIW, "burning in" the subtitles means decoding the video, rendering the subtitles on top of it (they become part of the video) and then re-encoding the video, so keeping everything the same is not technically possible.
Post Reply