Subtitles overlap

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
F6DQM
Posts: 2
Joined: Mon Jan 23, 2023 6:30 pm

Subtitles overlap

Post by F6DQM »

Description of problem or question:
Currently my subtitles are spaced at least 200ms between the end date of a subtitle and the start date of the next one (SRT format). This 200ms spacing results in a temporary superposition of two successive subtitles which makes readability almost impossible. In fact, it seems that the subtitles remain displayed longer than what is specified in the SRT file. How to fix this?

HandBrake version (e.g., 1.0.0):
1.6.0

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows10 Pro



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all


rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Subtitles overlap

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
F6DQM
Posts: 2
Joined: Mon Jan 23, 2023 6:30 pm

Re: Subtitles overlap

Post by F6DQM »

HandBrake 1.6.0 (2022122800)
OS: Microsoft Windows NT 10.0.19044.0
CPU: Pentium(R) Dual-Core CPU E5700 @ 3.00GHz
Ram: 8027 MB,
GPU Information:
Intel(R) Q45/Q43 Express Chipset (Microsoft Corporation - WDDM 1.1) - 8.15.10.2702
Intel(R) Q45/Q43 Express Chipset (Microsoft Corporation - WDDM 1.1) - 8.15.10.2702
Screen: 1280x1024
Temp Dir: C:\Users\User\AppData\Local\Temp\
Install Dir: C:\Outils\HandBrake\
Data Dir: C:\Users\User\AppData\Roaming\HandBrake

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

# Starting Encode ...

[13:23:04] base preset: Fast 1080p30
[13:23:04] hb_init: starting libhb thread
[13:23:04] Starting work at: Mon Jan 23 13:23:04 2023
[13:23:04] 1 job(s) to process
[13:23:04] 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"
]
},
"Destination": {
"ChapterList": [
{
"Name": "Chapitre1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "C:\\Users\\User\\Videos\\My video.mp4",
"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": 14,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "360",
"width": "598"
}
},
{
"ID": 7,
"Settings": {
"mode": "2",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 896,
"Den": 897
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "E:\My video.mp4"
},
"Subtitle": {
"Search": {
"Burn": false,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": [
{
"Burn": true,
"Default": false,
"Forced": false,
"ID": 0,
"Offset": 0,
"Track": -1,
"Import": {
"Codeset": "UTF-8",
"Filename": "E:\My video.srt",
"Language": "fra",
"Format": "SRT"
}
}
]
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"Quality": 22,
"QSV": {
"Decode": false
},
"HardwareDecode": 0
}
}
[13:23:04] CPU: Pentium(R) Dual-Core CPU E5700 @ 3.00GHz
[13:23:04] - logical processor count: 2
[13:23:04] Intel Quick Sync Video support: no
[13:23:04] hb_scan: path=E:\My video.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image E:\My video.mp4
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
[13:23:04] 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
[13:23:04] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'E:\My video.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: mp42iso2avc1mp41
creation_time : 2023-01-23T09:53:45.000000Z
encoder : HandBrake 1.6.0 2022122800
Duration: 02:13:14.15, start: 0.000000, bitrate: 618 kb/s
Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 598x360 [SAR 896:897 DAR 224:135], 495 kb/s, 23.98 fps, 23.98 tbr, 90k tbn (default)
Metadata:
creation_time : 2023-01-23T09:53:45.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 116 kb/s (default)
Metadata:
creation_time : 2023-01-23T09:53:45.000000Z
handler_name : Stereo
vendor_id : [0][0][0][0]
title : Stereo
[13:23:04] scan: decoding previews for title 1
[13:23:04] scan: audio 0x1: aac, rate=48000Hz, bitrate=116351 Unknown (AAC LC) (2.0 ch) (116 kbps)
[13:23:04] scan: 10 previews, 598x360, 23.976 fps, autocrop = 0/0/0/0, aspect 1.66:1, PAR 896:897, color profile: 6-1-6, chroma location: left
[13:23:05] libhb: scan thread found 1 valid title(s)
[13:23:05] Skipping subtitle scan. No suitable subtitle tracks.
[13:23:05] Starting Task: Encoding Pass
[13:23:05] Skipping crop/scale filter
[13:23:05] [ass] libass API version: 0x1600000
[13:23:05] [ass] libass source: tarball: 0.16.0
[13:23:05] [ass] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 4.4.1 (COMPLEX)
[13:23:05] [ass] Using font provider directwrite (with GDI)
[13:23:05] work: track 1, dithering not supported by codec
[13:23:05] work: only 1 chapter, disabling chapter markers
[13:23:05] job configuration:
[13:23:05] * source
[13:23:05] + E:\My video.mp4
[13:23:05] + title 1, chapter(s) 1 to 1
[13:23:05] + container: mov,mp4,m4a,3gp,3g2,mj2
[13:23:05] + data rate: 618 kbps
[13:23:05] * destination
[13:23:05] + C:\Users\User\Videos\My video.mp4
[13:23:05] + container: MPEG-4 (libavformat)
[13:23:05] + align initial A/V stream timestamps
[13:23:05] * video track
[13:23:05] + decoder: h264 8-bit (yuv420p)
[13:23:05] + bitrate 495 kbps
[13:23:05] + filters
[13:23:05] + 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)
[13:23:05] + Decomb (mode=39)
[13:23:05] + Framerate Shaper (mode=2:rate=27000000/900000)
[13:23:05] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[13:23:05] + Subtitle renderer ()
[13:23:05] + Output geometry
[13:23:05] + storage dimensions: 598 x 360
[13:23:05] + pixel aspect ratio: 896 : 897
[13:23:05] + display dimensions: 597 x 360
[13:23:05] + encoder: H.264 (libx264)
[13:23:05] + preset: fast
[13:23:05] + profile: main
[13:23:05] + level: 4.0
[13:23:05] + quality: 22.00 (RF)
[13:23:05] + color profile: 6-1-6
[13:23:05] + chroma location: left
[13:23:05] * subtitle track 1, Francais [SRT] (track 0, id 0xff000000, Text) -> Render/Burn-in, offset: 0, charset: UTF-8
[13:23:05] * audio track 1
[13:23:05] + name: Stereo
[13:23:05] + decoder: Unknown (AAC LC) (2.0 ch) (116 kbps) (track 1, id 0x1)
[13:23:05] + bitrate: 116 kbps, samplerate: 48000 Hz
[13:23:05] + mixdown: Stereo
[13:23:05] + encoder: AAC (libavcodec)
[13:23:05] + bitrate: 160 kbps, samplerate: 48000 Hz
[13:23:05] sync: expecting 191668 video frames
[13:23:05] encx264: min-keyint: 24, keyint: 240
[13:23:05] encx264: encoding at constant RF 22.000000
[13:23:05] 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=896/897
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 UnalignedStack
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[13:23:05] sync: first pts video is 0
[13:23:05] sync: "Chapitre1" (1) at frame 1 time 0
[13:23:05] sync: first pts audio 0x1 is 0
[13:23:06] sync: first pts subtitle 0xff000000 is 405000
[13:23:06] [ass] fontselect: (sans-serif, 400, 0) -> ArialMT, 0, ArialMT
[14:16:42] reader: done. 1 scr changes
[14:16:43] work: average encoding speed for job is 59.555885 fps
[14:16:43] comb detect: heavy 17 | light 458 | uncombed 191193 | total 191668
[14:16:43] decomb: deinterlaced 17 | blended 458 | unfiltered 191193 | total 191668
[14:16:43] vfr: 191668 frames output, 0 dropped and 0 duped for CFR/PFR
[14:16:43] vfr: lost time: 0 (0 frames)
[14:16:43] vfr: gained time: 0 (0 frames) (0 not accounted for)
[14:16:43] aac-decoder done: 374724 frames, 0 decoder errors
[14:16:43] h264-decoder done: 191668 frames, 0 decoder errors
[14:16:43] sync: got 191668 frames, 191668 expected
[14:16:43] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:1400 Avg QP:17.43 size: 29231
x264 [info]: frame P:59947 Avg QP:21.05 size: 4784
x264 [info]: frame B:130321 Avg QP:25.14 size: 1082
x264 [info]: consecutive B-frames: 2.1% 20.7% 2.6% 74.5%
x264 [info]: mb I I16..4: 16.4% 0.0% 83.6%
x264 [info]: mb P I16..4: 2.6% 0.0% 5.4% P16..4: 35.6% 17.0% 9.0% 0.0% 0.0% skip:30.4%
x264 [info]: mb B I16..4: 1.5% 0.0% 0.8% B16..8: 25.8% 6.4% 0.9% direct: 1.7% skip:62.9% L0:43.0% L1:47.7% BI: 9.3%
x264 [info]: coded y,uvDC,uvAC intra: 54.1% 0.0% 0.0% inter: 10.1% 0.0% 0.0%
x264 [info]: i16 v,h,dc,p: 36% 25% 21% 17%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 20% 18% 5% 8% 6% 7% 5% 6%
x264 [info]: i8c dc,h,v,p: 100% 0% 0% 0%
x264 [info]: Weighted P-Frames: Y:3.7% UV:0.1%
x264 [info]: ref P L0: 76.8% 23.2%
x264 [info]: ref B L0: 85.5% 14.5%
x264 [info]: ref B L1: 96.9% 3.1%
x264 [info]: kb/s:469.07
[14:16:43] mux: track 0, 191668 frames, 468666734 bytes, 469.01 kbps, fifo 8192
[14:16:43] mux: track 1, 374725 frames, 116086608 bytes, 116.17 kbps, fifo 16384
[14:16:43] Finished work at: Mon Jan 23 14:16:43 2023
[14:16:43] libhb: work result = 0

# Job Completed!
Post Reply