Subtitle: last line get's lost

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
BienVenue
Posts: 3
Joined: Tue Dec 22, 2020 12:58 am

Subtitle: last line get's lost

Post by BienVenue »

Description of problem or question:
Subtitle (a self created srt) doesn't show it's last line in a transcoded video.
In Handbrakes Subtitle field, I selected 'default'.
Note: this disappearing last line does show when adding the .srt in a video player, timing of both files is identical.

Steps to reproduce the problem (If Applicable):
Same problem happens again with different videofiles and different .srt's
I am translating/subbing a series, the last couple of episodes show this behaviour. Can't get my head around it!
What am I doing wrong, or is there a known bug with subtitle lengths?
Thanks for reading!

HandBrake version:
1.3.3

Operating system and version :
macOS 10.13 High Sierra

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

Code: Select all

HandBrake Activity Log for Session: 2020-12-22T00:23:44Z
Handbrake Version: 1.3.3 (2020061300)
Ancient Civilizations - S02E04 - Rise and Fall of the Wise Woman DS2.mp4
Preset: AC D preset New
[01:23:44] macgui: QueueCore scanning specifically for title: 1
[01:23:44] CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
[01:23:44]  - Intel microarchitecture Skylake
[01:23:44]  - logical processor count: 8
[01:23:44] hb_scan: path=/Volumes/Two5T/MOVIE - DOCU - TV -- niet in Movees/Ancient Civilizations - Season 2 (2018)/Ancient Civilizations - S02E04 - Rise and Fall of the Wise Woman.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Volumes/Two5T/MOVIE - DOCU - TV -- niet in Movees/Ancient Civilizations - Season 2 (2018)/Ancient Civilizations - S02E04 - Rise and Fall of the Wise Woman.mp4
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Volumes/Two5T/MOVIE - DOCU - TV -- niet in Movees/Ancient Civilizations - Season 2 (2018)/Ancient Civilizations - S02E04 - Rise and Fall of the Wise Woman.mp4/) failed
[01:23:44] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[01:23:44] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Two5T/MOVIE - DOCU - TV -- niet in Movees/Ancient Civilizations - Season 2 (2018)/Ancient Civilizations - S02E04 - Rise and Fall of the Wise Woman.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
  Duration: 00:29:04.68, start: 0.000000, bitrate: 1892 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1693 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 191 kb/s (default)
    Metadata:
      handler_name    : VideoHandler
[01:23:44] scan: decoding previews for title 1
[01:23:44] scan: audio 0x1: aac, rate=48000Hz, bitrate=191343 Unknown (AAC LC) (1.0 ch) (191 kbps)
[01:23:44] scan: 10 previews, 1280x720, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[01:23:44] libhb: scan thread found 1 valid title(s)
[01:23:44] macgui: QueueCore scan done
[01:23:44] Starting work at: Tue Dec 22 01:23:44 2020

[01:23:44] macgui: QueueCore started encoding Ancient Civilizations - S02E04 - Rise and Fall of the Wise Woman DS2.mp4
[01:23:44] 1 job(s) to process
[01:23:44] macgui: QueueCore with preset AC D preset New
[01:23:44] Starting Task: Encoding Pass
[01:23:44] Skipping crop/scale filter
[01:23:44] work: only 1 chapter, disabling chapter markers
[01:23:44] job configuration:
[01:23:44]  * source
[01:23:44]    + /Volumes/Two5T/MOVIE - DOCU - TV -- niet in Movees/Ancient Civilizations - Season 2 (2018)/Ancient Civilizations - S02E04 - Rise and Fall of the Wise Woman.mp4
[01:23:44]    + title 1, chapter(s) 1 to 1
[01:23:44]    + container: mov,mp4,m4a,3gp,3g2,mj2
[01:23:44]    + data rate: 1892 kbps
[01:23:44]  * destination
[01:23:44]    + /Volumes/AudioX/Video Transcoded/Ancient Civilizations - S02E04 - Rise and Fall of the Wise Woman DS2.mp4
[01:23:44]    + container: MPEG-4 (libavformat)
[01:23:44]      + align initial A/V stream timestamps
[01:23:44]  * video track
[01:23:44]    + decoder: h264
[01:23:44]      + bitrate 1693 kbps
[01:23:44]    + filters
[01:23:44]      + 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:23:44]      + Decomb (mode=39)
[01:23:44]      + Framerate Shaper (mode=1:rate=27000000/1126125)
[01:23:44]        + frame rate: 23.976 fps -> constant 23.976 fps
[01:23:44]    + Output geometry
[01:23:44]      + storage dimensions: 1280 x 720
[01:23:44]      + pixel aspect ratio: 1 : 1
[01:23:44]      + display dimensions: 1280 x 720
[01:23:44]    + encoder: H.264 (libx264)
[01:23:44]      + preset:  fast
[01:23:44]      + tune:    film
[01:23:44]      + profile: main
[01:23:44]      + level:   4.0
[01:23:44]      + quality: 22.00 (RF)
[01:23:44]      + color profile: 1-1-1
[01:23:44]  * subtitle track 1, Nederlands [SRT] (track 0, id 0xff000000, Text) -> Passthrough, Default, offset: 0, charset: UTF-8
[01:23:44]  * audio track 1
[01:23:44]    + decoder: Unknown (AAC LC) (1.0 ch) (191 kbps) (track 1, id 0x1)
[01:23:44]      + bitrate: 191 kbps, samplerate: 48000 Hz
[01:23:44]    + mixdown: Mono
[01:23:44]    + dither: triangular
[01:23:44]    + encoder: AAC (Apple AudioToolbox)
[01:23:44]      + bitrate: 192 kbps, samplerate: 48000 Hz
[01:23:44] sync: expecting 41830 video frames
[01:23:44] encx264: min-keyint: 24, keyint: 240
[01:23:44] encx264: encoding at constant RF 22.000000
[01:23:44] encx264: unparsed options: level=4.0:ref=2:deblock=-1,-1:8x8dct=0:weightp=1:subme=6:psy-rd=1,0.15: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
[01:23:44] sync: first pts video is 0
[01:23:44] sync: "Chapter 1" (1) at frame 1 time 0
[01:23:44] sync: first pts audio 0x1 is 0
[01:23:44] sync: first pts subtitle 0xff000000 is 45090
[01:31:54] reader: done. 1 scr changes
[01:31:55] work: average encoding speed for job is 85.303535 fps
[01:31:55] comb detect: heavy 955 | light 1013 | uncombed 39858 | total 41826
[01:31:55] decomb: deinterlaced 955 | blended 1013 | unfiltered 39858 | total 41826
[01:31:55] vfr: 41826 frames output, 0 dropped and 0 duped for CFR/PFR
[01:31:55] vfr: lost time: 0 (0 frames)
[01:31:55] vfr: gained time: 0 (0 frames) (0 not accounted for)
[01:31:55] aac-decoder done: 81782 frames, 0 decoder errors
[01:31:55] h264-decoder done: 41826 frames, 0 decoder errors
[01:31:55] sync: got 41826 frames, 41830 expected
[01:31:55] sync: framerate min 23.975 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:323   Avg QP:16.92  size: 90713
x264 [info]: frame P:14105 Avg QP:21.03  size: 22764
x264 [info]: frame B:27398 Avg QP:25.45  size:  4510
x264 [info]: consecutive B-frames: 11.2%  2.9%  4.6% 81.3%
x264 [info]: mb I  I16..4: 41.4%  0.0% 58.6%
x264 [info]: mb P  I16..4:  8.2%  0.0%  3.4%  P16..4: 36.9% 14.4%  7.9%  0.0%  0.0%    skip:29.2%
x264 [info]: mb B  I16..4:  1.5%  0.0%  0.4%  B16..8: 22.6%  4.8%  0.5%  direct: 8.3%  skip:61.8%  L0:50.1% L1:39.2% BI:10.7%
x264 [info]: coded y,uvDC,uvAC intra: 33.7% 58.0% 15.6% inter: 12.2% 18.5% 0.9%
x264 [info]: i16 v,h,dc,p: 37% 26% 16% 20%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 21% 20%  6%  7%  6%  7%  5%  5%
x264 [info]: i8c dc,h,v,p: 55% 21% 18%  5%
x264 [info]: Weighted P-Frames: Y:18.9% UV:13.5%
x264 [info]: ref P L0: 76.4% 23.6%
x264 [info]: ref B L0: 85.8% 14.2%
x264 [info]: ref B L1: 94.6%  5.4%
x264 [info]: kb/s:2173.50
[01:31:55] mux: track 0, 41826 frames, 473946158 bytes, 2173.14 kbps, fifo 2048
[01:31:55] mux: track 1, 81785 frames, 43582430 bytes, 199.83 kbps, fifo 4096
[01:31:55] mux: track 2, 393 frames, 30724 bytes, 0.14 kbps, fifo 32
[01:31:55] Finished work at: Tue Dec 22 01:31:55 2020

[01:31:55] libhb: work result = 0
BienVenue
Posts: 3
Joined: Tue Dec 22, 2020 12:58 am

Re: Subtitle: last line get's lost

Post by BienVenue »

Alright, found a solution by creating another line after the last line, that just contains a period. Still strange..
User avatar
Rodeo
HandBrake Team
Posts: 12679
Joined: Tue Mar 03, 2009 8:55 pm

Re: Subtitle: last line get's lost

Post by Rodeo »

BienVenue
Posts: 3
Joined: Tue Dec 22, 2020 12:58 am

Re: Subtitle: last line get's lost

Post by BienVenue »

Thanks for letting me know!
Post Reply