Is it possible to fix my subtitles being cut off during a hardsubbing session

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
kiratorii
Posts: 9
Joined: Sun Jun 09, 2019 3:37 pm

Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by kiratorii »

Description of problem or question:
I've noticed during some runs of burning in subtitles to the video file for a hardsub, the subtitles for the last few minutes of the video will not be burnt in.... I've checked the original source of the SRT and also the actual downloaded SRT in a text file version and it seems that the source was properly downloaded, but it's not being reflected properly in the burnt in version... The number of minutes tends to vary from video file and can't be replicated accurately.... Attached below is captured screenshots I have of the exact moments...

Is it possible to fix this issue? Are there any solutions already out there?

Steps to reproduce the problem (If Applicable):

Screen Capture from original source when watching online to demonstrate that there's actually subtitles attached to it....

Image

Screenshot of SRT at the approximate same time displayed in a text file to show that the SRT file that was used is complete...

Image

Screenshot of final hardsubbed video at approximately around the same time of playing

Image

HandBrake version (e.g., 1.0.0):
Handbrake Version 1.2.2



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



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

Code: Select all

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17134.0
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Ram: 16264 MB, 
GPU Information:
  Intel(R) HD Graphics 630 - 22.20.16.4749
  NVIDIA GeForce GTX 1050 Ti - 24.21.13.9924
Screen: 1920x1080
Temp Dir: C:\Users\Wan [Censored]\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Wan [Censored]\AppData\Roaming\HandBrake

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


# Starting Encode ...

[21:00:14] hb_init: starting libhb thread
[21:00:14] 1 job(s) to process
[21:00:14] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "G:\\Queen Seondeok MP4\\Queen Seondeok - Ep02-2.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "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": 11,
        "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": 1
    },
    "Title": 2,
    "Path": "G:\\Queen Seondeok\\Queen Seondeok - Ep02.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": true,
        "Default": false,
        "Forced": false,
        "ID": 0,
        "Offset": 0,
        "Track": -1,
        "SRT": {
          "Codeset": "UTF-8",
          "Filename": "D:\\Downloads\\[DownSub.com] Queen Seondeok ep 2 - 44025.srt",
          "Language": "eng"
        }
      }
    ]
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[21:00:14] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
[21:00:14]  - Intel microarchitecture Kaby Lake
[21:00:14]  - logical processor count: 8
[21:00:14] Intel Quick Sync Video support: yes
[21:00:14]  - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[21:00:14]  - H.264 encoder: yes
[21:00:14]     - preferred implementation: hardware (any) via D3D11
[21:00:14]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[21:00:14]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[21:00:14]     - preferred implementation: hardware (any) via D3D11
[21:00:14]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[21:00:14] hb_scan: path=G:\Queen Seondeok\Queen Seondeok - Ep02.mp4, title_index=2
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image G:\Queen Seondeok\Queen Seondeok - Ep02.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[21:00:14] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[21:00:14] dvd: not a dvd - trying as a stream/file instead
[21:00:14] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:00:14] Found the following PIDS
[21:00:14]     Video PIDS :
[21:00:14]       0x100 type H.264 (0x1b) (PCR)
[21:00:14]     Audio PIDS :
[21:00:14]       0x101 type AAC (0xf)
[21:00:14]     Subtitle PIDS :
[21:00:14]     Other PIDS :
[21:00:14] stream id 0x101 (type 0xf substream 0x0) audio 0x101
[21:00:14] scan: decoding previews for title 2
[21:00:14] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[h264 @ 0000020ad06bc640] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06bc640] SPS unavailable in decode_picture_timing
[21:00:14] scan: audio 0x101: aac, rate=48000Hz, bitrate=98625 English (AAC LC) (2.0 ch)
[h264 @ 0000020ad06bb400] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06bb400] SPS unavailable in decode_picture_timing
[h264 @ 0000020ad06beac0] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06beac0] SPS unavailable in decode_picture_timing
[h264 @ 0000020ad06bb400] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06bb400] SPS unavailable in decode_picture_timing
[h264 @ 0000020ad06bb400] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06bb400] SPS unavailable in decode_picture_timing
[h264 @ 0000020ad06beac0] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06beac0] SPS unavailable in decode_picture_timing
[h264 @ 0000020ad06bb400] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06bb400] SPS unavailable in decode_picture_timing
[h264 @ 0000020ad06bb400] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06bb400] SPS unavailable in decode_picture_timing
[h264 @ 0000020ad06bb400] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06bb400] SPS unavailable in decode_picture_timing
[h264 @ 0000020ad06beac0] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06beac0] SPS unavailable in decode_picture_timing
[21:00:15] stream: 6 good frames, 0 errors (0%)
[21:00:15] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[21:00:15] scan: supported video decoders: avcodec qsv
[21:00:15] libhb: scan thread found 1 valid title(s)
[21:00:15] starting job
[21:00:15] decomb filter thread started for segment 0
[21:00:15] decomb filter thread started for segment 1
[21:00:15] decomb filter thread started for segment 6
[21:00:15] decomb filter thread started for segment 3
[21:00:15] decomb filter thread started for segment 4
[21:00:15] decomb filter thread started for segment 5
[21:00:15] decomb filter thread started for segment 2
[21:00:15] decomb filter thread started for segment 7
[21:00:15] decomb check thread started for segment 0
[21:00:15] decomb check thread started for segment 1
[21:00:15] mask filter thread started for segment 7
[21:00:15] decomb check thread started for segment 3
[21:00:15] decomb check thread started for segment 4
[21:00:15] decomb check thread started for segment 5
[21:00:15] decomb check thread started for segment 6
[21:00:15] decomb check thread started for segment 7
[21:00:15] mask filter thread started for segment 0
[21:00:15] mask filter thread started for segment 1
[21:00:15] mask filter thread started for segment 2
[21:00:15] mask filter thread started for segment 3
[21:00:15] mask filter thread started for segment 4
[21:00:15] mask filter thread started for segment 5
[21:00:15] mask filter thread started for segment 6
[21:00:15] decomb check thread started for segment 2
[21:00:15] mask erode thread started for segment 0
[21:00:15] mask erode thread started for segment 1
[21:00:15] mask erode thread started for segment 2
[21:00:15] mask erode thread started for segment 3
[21:00:15] mask erode thread started for segment 4
[21:00:15] mask erode thread started for segment 5
[21:00:15] mask erode thread started for segment 6
[21:00:15] mask erode thread started for segment 7
[21:00:15] mask dilate thread started for segment 0
[21:00:15] mask dilate thread started for segment 1
[21:00:15] mask dilate thread started for segment 2
[21:00:15] mask dilate thread started for segment 3
[21:00:15] mask dilate thread started for segment 4
[21:00:15] mask dilate thread started for segment 5
[21:00:15] mask dilate thread started for segment 6
[21:00:15] mask dilate thread started for segment 7
[21:00:15] yadif thread started for segment 0
[21:00:15] yadif thread started for segment 1
[21:00:15] yadif thread started for segment 2
[21:00:15] yadif thread started for segment 3
[21:00:15] yadif thread started for segment 4
[21:00:15] yadif thread started for segment 5
[21:00:15] yadif thread started for segment 6
[21:00:15] yadif thread started for segment 7
[21:00:15] [ass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX)
[21:00:15] [ass] Using font provider directwrite
[21:00:15] work: only 1 chapter, disabling chapter markers
[21:00:15] job configuration:
[21:00:15]  * source
[21:00:15]    + G:\Queen Seondeok\Queen Seondeok - Ep02.mp4
[21:00:15]    + title 2, chapter(s) 1 to 1
[21:00:15]  * destination
[21:00:15]    + G:\Queen Seondeok MP4\Queen Seondeok - Ep02-2.m4v
[21:00:15]    + container: MPEG-4 (libavformat)
[21:00:15]      + align initial A/V stream timestamps
[21:00:15]  * video track
[21:00:15]    + decoder: h264
[21:00:15]      + bitrate 200 kbps
[21:00:15]    + filters
[21:00:15]      + 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)
[21:00:15]      + Decomb (mode=39)
[21:00:15]      + Framerate Shaper (mode=2:rate=27000000/900000)
[21:00:15]        + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[21:00:15]      + Subtitle renderer ()
[21:00:15]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[21:00:15]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[21:00:15]    + Output geometry
[21:00:15]      + storage dimensions: 1920 x 1080
[21:00:15]      + pixel aspect ratio: 1 : 1
[21:00:15]      + display dimensions: 1920 x 1080
[21:00:15]    + encoder: H.264 (libx264)
[21:00:15]      + preset:  fast
[21:00:15]      + profile: main
[21:00:15]      + level:   4.0
[21:00:15]      + quality: 22.00 (RF)
[21:00:15]      + color profile: 1-1-1
[21:00:15]  * subtitle track 1, English [SRT] (track 0, id 0xff, Text) -> Render/Burn-in, offset: 0, charset: UTF-8
[21:00:15]  * audio track 1
[21:00:15]    + decoder: English (AAC LC) (2.0 ch) (track 1, id 0x101)
[21:00:15]      + bitrate: 98 kbps, samplerate: 48000 Hz
[21:00:15]    + mixdown: Stereo
[21:00:15]    + dither: none
[21:00:15]    + encoder: AAC (libavcodec)
[21:00:15]      + bitrate: 320 kbps, samplerate: 48000 Hz
[21:00:15] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[21:00:15] sync: expecting 111535 video frames
[21:00:15] encx264: min-keyint: 30, keyint: 300
[21:00:15] encx264: encoding at constant RF 22.000000
[21:00:15] 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
[h264 @ 0000020ad06bc640] non-existing SPS 0 referenced in buffering period
[h264 @ 0000020ad06bc640] SPS unavailable in decode_picture_timing
[21:00:15] sync: first pts video is 0
[21:00:15] sync: first pts audio 0x101 is 0
[21:00:15] sync: first pts subtitle 0xff is 45000
[21:00:15] [ass] fontselect: (sans-serif, 400, 0) -> ArialMT, 0, ArialMT
[21:00:17] stream: error near frame 299: next_packet: sync lost @ 975720, regained after 32 bytes
[21:01:32] stream: error near frame 2118: next_packet: sync lost @ 35393276, regained after 28 bytes
[21:03:02] stream: error near frame 4214: next_packet: sync lost @ 67129404, regained after 36 bytes
[21:04:33] stream: error near frame 6317: next_packet: sync lost @ 100919832, regained after 32 bytes
[21:06:12] stream: error near frame 8393: next_packet: sync lost @ 138648652, regained after 36 bytes
[21:07:36] stream: error near frame 10210: next_packet: sync lost @ 167990388, regained after 28 bytes
[21:09:11] stream: error near frame 12292: next_packet: sync lost @ 201403668, regained after 36 bytes
[21:10:30] stream: error near frame 14094: next_packet: sync lost @ 227920332, regained after 28 bytes
[21:12:09] stream: error near frame 16208: next_packet: sync lost @ 262639292, regained after 36 bytes
[21:13:43] stream: error near frame 18303: next_packet: sync lost @ 303097316, regained after 36 bytes
[21:15:03] stream: error near frame 20105: next_packet: sync lost @ 338829928, regained after 32 bytes
[21:16:47] stream: error near frame 22192: next_packet: sync lost @ 376567404, regained after 36 bytes
[21:18:21] stream: error near frame 24283: next_packet: sync lost @ 412362644, regained after 36 bytes
[21:19:54] stream: error near frame 26395: next_packet: sync lost @ 445698672, regained after 32 bytes
[21:21:33] stream: error near frame 28488: next_packet: sync lost @ 488094968, regained after 32 bytes
[21:23:18] stream: error near frame 30570: next_packet: sync lost @ 530041768, regained after 40 bytes
[21:24:42] stream: error near frame 32373: next_packet: sync lost @ 566170112, regained after 32 bytes
[21:26:20] stream: error near frame 34471: next_packet: sync lost @ 606509704, regained after 32 bytes
[21:27:43] stream: error near frame 36287: next_packet: sync lost @ 641317348, regained after 36 bytes
[21:29:20] stream: error near frame 38373: next_packet: sync lost @ 679088472, regained after 40 bytes
[21:31:07] stream: error near frame 40484: next_packet: sync lost @ 717076004, regained after 36 bytes
[21:32:14] stream: error near frame 42580: next_packet: sync lost @ 750478400, regained after 32 bytes
[21:33:22] stream: error near frame 44678: next_packet: sync lost @ 787455592, regained after 32 bytes
[21:34:34] stream: error near frame 46753: next_packet: sync lost @ 829283948, regained after 36 bytes
[21:35:49] stream: error near frame 48873: next_packet: sync lost @ 865596936, regained after 32 bytes
[21:37:03] stream: error near frame 50977: next_packet: sync lost @ 904120412, regained after 36 bytes
[21:38:05] stream: error near frame 53048: next_packet: sync lost @ 938175352, regained after 32 bytes
[21:39:04] stream: error near frame 54872: next_packet: sync lost @ 973819032, regained after 32 bytes
[21:40:07] stream: error near frame 56944: next_packet: sync lost @ 1012243272, regained after 40 bytes
[21:41:02] stream: error near frame 58750: next_packet: sync lost @ 1044775004, regained after 36 bytes
[21:42:01] stream: error near frame 60566: next_packet: sync lost @ 1080925732, regained after 28 bytes
[21:43:07] stream: error near frame 62637: next_packet: sync lost @ 1117468468, regained after 36 bytes
[21:44:03] stream: error near frame 64443: next_packet: sync lost @ 1152953492, regained after 36 bytes
[21:45:07] stream: error near frame 66537: next_packet: sync lost @ 1191256656, regained after 32 bytes
[21:46:06] stream: error near frame 68354: next_packet: sync lost @ 1224699604, regained after 28 bytes
[21:47:15] stream: error near frame 70448: next_packet: sync lost @ 1262122928, regained after 40 bytes
[21:48:28] stream: error near frame 72539: next_packet: sync lost @ 1300554512, regained after 32 bytes
[21:49:31] stream: error near frame 74627: next_packet: sync lost @ 1334520316, regained after 28 bytes
[21:50:33] stream: error near frame 76439: next_packet: sync lost @ 1371472480, regained after 40 bytes
[21:51:40] stream: error near frame 78523: next_packet: sync lost @ 1404457880, regained after 40 bytes
[21:52:38] stream: error near frame 80338: next_packet: sync lost @ 1432986884, regained after 28 bytes
[21:53:43] stream: error near frame 82438: next_packet: sync lost @ 1464473544, regained after 32 bytes
[21:54:40] stream: error near frame 84243: next_packet: sync lost @ 1492663584, regained after 40 bytes
[21:55:43] stream: error near frame 86324: next_packet: sync lost @ 1523160988, regained after 36 bytes
[21:56:44] stream: error near frame 88420: next_packet: sync lost @ 1559769520, regained after 40 bytes
[21:57:43] stream: error near frame 90225: next_packet: sync lost @ 1585981836, regained after 28 bytes
[21:58:54] stream: error near frame 92321: next_packet: sync lost @ 1622362680, regained after 40 bytes
[22:00:02] stream: error near frame 94133: next_packet: sync lost @ 1654264808, regained after 40 bytes
[22:01:17] stream: error near frame 96209: next_packet: sync lost @ 1688847084, regained after 28 bytes
[22:02:19] stream: error near frame 98012: next_packet: sync lost @ 1716156144, regained after 40 bytes
[22:03:34] stream: error near frame 99815: next_packet: sync lost @ 1751555248, regained after 40 bytes
[22:04:47] stream: error near frame 101900: next_packet: sync lost @ 1784340064, regained after 32 bytes
[22:05:55] stream: error near frame 103702: next_packet: sync lost @ 1817404752, regained after 32 bytes
[22:07:03] stream: error near frame 105519: next_packet: sync lost @ 1847630464, regained after 32 bytes
[22:08:17] stream: error near frame 107617: next_packet: sync lost @ 1881032852, regained after 36 bytes
[22:09:37] stream: error near frame 109693: next_packet: sync lost @ 1920549916, regained after 36 bytes
[22:10:44] stream: error near frame 111512: next_packet: sync lost @ 1953927828, regained after 28 bytes
[22:11:52] hb_ts_stream_decode - eof
[22:11:52] hb_ts_stream_decode - eof
[22:11:52] reader: done. 4003 scr changes
[22:11:56] work: average encoding speed for job is 26.320370 fps
[22:11:56] comb detect: heavy 931 | light 1668 | uncombed 110570 | total 113169
[22:11:56] decomb: deinterlaced 931 | blended 1668 | unfiltered 110570 | total 113169
[22:11:56] vfr: 113169 frames output, 0 dropped and 0 duped for CFR/PFR
[22:11:56] vfr: lost time: 0 (0 frames)
[22:11:56] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:11:56] stream: 113168 good frames, 377 errors (0%)
[22:11:56] aac-decoder done: 177004 frames, 0 decoder errors
[22:11:56] h264-decoder done: 113168 frames, 0 decoder errors
[22:11:56] sync: got 113169 frames, 111535 expected
[22:11:56] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:1193  Avg QP:17.61  size:114634
x264 [info]: frame P:37557 Avg QP:21.34  size: 38690
x264 [info]: frame B:74419 Avg QP:23.66  size:  9168
x264 [info]: consecutive B-frames:  3.8% 19.9% 16.9% 59.4%
x264 [info]: mb I  I16..4: 46.7%  0.0% 53.3%
x264 [info]: mb P  I16..4: 14.2%  0.0%  4.4%  P16..4: 42.9% 12.0%  5.3%  0.0%  0.0%    skip:21.1%
x264 [info]: mb B  I16..4:  3.2%  0.0%  0.3%  B16..8: 24.5%  3.9%  0.2%  direct: 8.3%  skip:59.5%  L0:46.5% L1:48.5% BI: 5.0%
x264 [info]: coded y,uvDC,uvAC intra: 22.2% 62.0% 15.1% inter: 8.1% 23.0% 0.6%
x264 [info]: i16 v,h,dc,p: 42% 23% 17% 18%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 18% 23%  5%  6%  6%  5%  5%  3%
x264 [info]: i8c dc,h,v,p: 54% 19% 23%  5%
x264 [info]: Weighted P-Frames: Y:0.8% UV:0.4%
x264 [info]: ref P L0: 72.4% 27.6%
x264 [info]: ref B L0: 82.3% 17.7%
x264 [info]: ref B L1: 96.9%  3.1%
x264 [info]: kb/s:4813.69
[22:11:56] mux: track 0, 113169 frames, 2272059997 bytes, 4813.55 kbps, fifo 1024
[22:11:56] mux: track 1, 177005 frames, 150946670 bytes, 319.79 kbps, fifo 2048
[22:11:56] libhb: work result = 0

# Encode Completed ...
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by mduell »

None of your images work.
Deleted User 11865

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by Deleted User 11865 »

mduell wrote: Sun Jun 09, 2019 11:34 pm None of your images work.
They're formatted properly, but the forum software is configured so as to not load anything from external domains.
kiratorii
Posts: 9
Joined: Sun Jun 09, 2019 3:37 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by kiratorii »

Rodeo wrote: Sun Jun 09, 2019 11:53 pm
mduell wrote: Sun Jun 09, 2019 11:34 pm None of your images work.
They're formatted properly, but the forum software is configured so as to not load anything from external domains.
So in this case, how should I go about properly reattaching the screenshots?
Deleted User 11865

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by Deleted User 11865 »

The "full editor" lets you attach pictures via the "attachments" tab :)
kiratorii
Posts: 9
Joined: Sun Jun 09, 2019 3:37 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by kiratorii »

***Redid up the photo portion bit, hopefully the images may be viewed now.... :D ***

Steps to reproduce the problem (If Applicable):

Screen Capture from original source when watching online to demonstrate that there's actually subtitles attached to it....

https://imagizer.imageshack.com/img922/8673/cXKMbi.png

Screenshot of SRT at the approximate same time displayed in a text file to show that the SRT file that was used is complete...

https://imagizer.imageshack.com/img922/9186/FFW2Q9.png

Screenshot of final hardsubbed video at approximately around the same time of playing

https://imagizer.imageshack.com/img924/3112/oAwajf.png
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by JohnAStebbins »

Your source video has a lot of errors in it...

Code: Select all

[21:00:17] stream: error near frame 299: next_packet: sync lost @ 975720, regained after 32 bytes
[21:01:32] stream: error near frame 2118: next_packet: sync lost @ 35393276, regained after 28 bytes
[21:03:02] stream: error near frame 4214: next_packet: sync lost @ 67129404, regained after 36 bytes
[21:04:33] stream: error near frame 6317: next_packet: sync lost @ 100919832, regained after 32 bytes
[21:06:12] stream: error near frame 8393: next_packet: sync lost @ 138648652, regained after 36 bytes
[21:07:36] stream: error near frame 10210: next_packet: sync lost @ 167990388, regained after 28 bytes
[21:09:11] stream: error near frame 12292: next_packet: sync lost @ 201403668, regained after 36 bytes
[21:10:30] stream: error near frame 14094: next_packet: sync lost @ 227920332, regained after 28 bytes
[21:12:09] stream: error near frame 16208: next_packet: sync lost @ 262639292, regained after 36 bytes
[21:13:43] stream: error near frame 18303: next_packet: sync lost @ 303097316, regained after 36 bytes
[21:15:03] stream: error near frame 20105: next_packet: sync lost @ 338829928, regained after 32 bytes
[21:16:47] stream: error near frame 22192: next_packet: sync lost @ 376567404, regained after 36 bytes
[21:18:21] stream: error near frame 24283: next_packet: sync lost @ 412362644, regained after 36 bytes
[21:19:54] stream: error near frame 26395: next_packet: sync lost @ 445698672, regained after 32 bytes
[21:21:33] stream: error near frame 28488: next_packet: sync lost @ 488094968, regained after 32 bytes
[21:23:18] stream: error near frame 30570: next_packet: sync lost @ 530041768, regained after 40 bytes
[21:24:42] stream: error near frame 32373: next_packet: sync lost @ 566170112, regained after 32 bytes
[21:26:20] stream: error near frame 34471: next_packet: sync lost @ 606509704, regained after 32 bytes
[21:27:43] stream: error near frame 36287: next_packet: sync lost @ 641317348, regained after 36 bytes
[21:29:20] stream: error near frame 38373: next_packet: sync lost @ 679088472, regained after 40 bytes
[21:31:07] stream: error near frame 40484: next_packet: sync lost @ 717076004, regained after 36 bytes
[21:32:14] stream: error near frame 42580: next_packet: sync lost @ 750478400, regained after 32 bytes
[21:33:22] stream: error near frame 44678: next_packet: sync lost @ 787455592, regained after 32 bytes
[21:34:34] stream: error near frame 46753: next_packet: sync lost @ 829283948, regained after 36 bytes
[21:35:49] stream: error near frame 48873: next_packet: sync lost @ 865596936, regained after 32 bytes
[21:37:03] stream: error near frame 50977: next_packet: sync lost @ 904120412, regained after 36 bytes
[21:38:05] stream: error near frame 53048: next_packet: sync lost @ 938175352, regained after 32 bytes
[21:39:04] stream: error near frame 54872: next_packet: sync lost @ 973819032, regained after 32 bytes
[21:40:07] stream: error near frame 56944: next_packet: sync lost @ 1012243272, regained after 40 bytes
[21:41:02] stream: error near frame 58750: next_packet: sync lost @ 1044775004, regained after 36 bytes
[21:42:01] stream: error near frame 60566: next_packet: sync lost @ 1080925732, regained after 28 bytes
[21:43:07] stream: error near frame 62637: next_packet: sync lost @ 1117468468, regained after 36 bytes
[21:44:03] stream: error near frame 64443: next_packet: sync lost @ 1152953492, regained after 36 bytes
[21:45:07] stream: error near frame 66537: next_packet: sync lost @ 1191256656, regained after 32 bytes
[21:46:06] stream: error near frame 68354: next_packet: sync lost @ 1224699604, regained after 28 bytes
[21:47:15] stream: error near frame 70448: next_packet: sync lost @ 1262122928, regained after 40 bytes
[21:48:28] stream: error near frame 72539: next_packet: sync lost @ 1300554512, regained after 32 bytes
[21:49:31] stream: error near frame 74627: next_packet: sync lost @ 1334520316, regained after 28 bytes
[21:50:33] stream: error near frame 76439: next_packet: sync lost @ 1371472480, regained after 40 bytes
[21:51:40] stream: error near frame 78523: next_packet: sync lost @ 1404457880, regained after 40 bytes
[21:52:38] stream: error near frame 80338: next_packet: sync lost @ 1432986884, regained after 28 bytes
[21:53:43] stream: error near frame 82438: next_packet: sync lost @ 1464473544, regained after 32 bytes
[21:54:40] stream: error near frame 84243: next_packet: sync lost @ 1492663584, regained after 40 bytes
[21:55:43] stream: error near frame 86324: next_packet: sync lost @ 1523160988, regained after 36 bytes
[21:56:44] stream: error near frame 88420: next_packet: sync lost @ 1559769520, regained after 40 bytes
[21:57:43] stream: error near frame 90225: next_packet: sync lost @ 1585981836, regained after 28 bytes
[21:58:54] stream: error near frame 92321: next_packet: sync lost @ 1622362680, regained after 40 bytes
[22:00:02] stream: error near frame 94133: next_packet: sync lost @ 1654264808, regained after 40 bytes
[22:01:17] stream: error near frame 96209: next_packet: sync lost @ 1688847084, regained after 28 bytes
[22:02:19] stream: error near frame 98012: next_packet: sync lost @ 1716156144, regained after 40 bytes
[22:03:34] stream: error near frame 99815: next_packet: sync lost @ 1751555248, regained after 40 bytes
[22:04:47] stream: error near frame 101900: next_packet: sync lost @ 1784340064, regained after 32 bytes
[22:05:55] stream: error near frame 103702: next_packet: sync lost @ 1817404752, regained after 32 bytes
[22:07:03] stream: error near frame 105519: next_packet: sync lost @ 1847630464, regained after 32 bytes
[22:08:17] stream: error near frame 107617: next_packet: sync lost @ 1881032852, regained after 36 bytes
[22:09:37] stream: error near frame 109693: next_packet: sync lost @ 1920549916, regained after 36 bytes
[22:10:44] stream: error near frame 111512: next_packet: sync lost @ 1953927828, regained after 28 bytes
I'm not entirely sure what would happen if the subtitle fell in a region where these errors occur. But I'll bet it's not coincidence.
kiratorii
Posts: 9
Joined: Sun Jun 09, 2019 3:37 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by kiratorii »

JohnAStebbins wrote: Tue Jun 11, 2019 3:50 pm Your source video has a lot of errors in it...

Code: Select all

[21:00:17] stream: error near frame 299: next_packet: sync lost @ 975720, regained after 32 bytes
[21:01:32] stream: error near frame 2118: next_packet: sync lost @ 35393276, regained after 28 bytes
[21:03:02] stream: error near frame 4214: next_packet: sync lost @ 67129404, regained after 36 bytes
[21:04:33] stream: error near frame 6317: next_packet: sync lost @ 100919832, regained after 32 bytes
[21:06:12] stream: error near frame 8393: next_packet: sync lost @ 138648652, regained after 36 bytes
[21:07:36] stream: error near frame 10210: next_packet: sync lost @ 167990388, regained after 28 bytes
[21:09:11] stream: error near frame 12292: next_packet: sync lost @ 201403668, regained after 36 bytes
[21:10:30] stream: error near frame 14094: next_packet: sync lost @ 227920332, regained after 28 bytes
[21:12:09] stream: error near frame 16208: next_packet: sync lost @ 262639292, regained after 36 bytes
[21:13:43] stream: error near frame 18303: next_packet: sync lost @ 303097316, regained after 36 bytes
[21:15:03] stream: error near frame 20105: next_packet: sync lost @ 338829928, regained after 32 bytes
[21:16:47] stream: error near frame 22192: next_packet: sync lost @ 376567404, regained after 36 bytes
[21:18:21] stream: error near frame 24283: next_packet: sync lost @ 412362644, regained after 36 bytes
[21:19:54] stream: error near frame 26395: next_packet: sync lost @ 445698672, regained after 32 bytes
[21:21:33] stream: error near frame 28488: next_packet: sync lost @ 488094968, regained after 32 bytes
[21:23:18] stream: error near frame 30570: next_packet: sync lost @ 530041768, regained after 40 bytes
[21:24:42] stream: error near frame 32373: next_packet: sync lost @ 566170112, regained after 32 bytes
[21:26:20] stream: error near frame 34471: next_packet: sync lost @ 606509704, regained after 32 bytes
[21:27:43] stream: error near frame 36287: next_packet: sync lost @ 641317348, regained after 36 bytes
[21:29:20] stream: error near frame 38373: next_packet: sync lost @ 679088472, regained after 40 bytes
[21:31:07] stream: error near frame 40484: next_packet: sync lost @ 717076004, regained after 36 bytes
[21:32:14] stream: error near frame 42580: next_packet: sync lost @ 750478400, regained after 32 bytes
[21:33:22] stream: error near frame 44678: next_packet: sync lost @ 787455592, regained after 32 bytes
[21:34:34] stream: error near frame 46753: next_packet: sync lost @ 829283948, regained after 36 bytes
[21:35:49] stream: error near frame 48873: next_packet: sync lost @ 865596936, regained after 32 bytes
[21:37:03] stream: error near frame 50977: next_packet: sync lost @ 904120412, regained after 36 bytes
[21:38:05] stream: error near frame 53048: next_packet: sync lost @ 938175352, regained after 32 bytes
[21:39:04] stream: error near frame 54872: next_packet: sync lost @ 973819032, regained after 32 bytes
[21:40:07] stream: error near frame 56944: next_packet: sync lost @ 1012243272, regained after 40 bytes
[21:41:02] stream: error near frame 58750: next_packet: sync lost @ 1044775004, regained after 36 bytes
[21:42:01] stream: error near frame 60566: next_packet: sync lost @ 1080925732, regained after 28 bytes
[21:43:07] stream: error near frame 62637: next_packet: sync lost @ 1117468468, regained after 36 bytes
[21:44:03] stream: error near frame 64443: next_packet: sync lost @ 1152953492, regained after 36 bytes
[21:45:07] stream: error near frame 66537: next_packet: sync lost @ 1191256656, regained after 32 bytes
[21:46:06] stream: error near frame 68354: next_packet: sync lost @ 1224699604, regained after 28 bytes
[21:47:15] stream: error near frame 70448: next_packet: sync lost @ 1262122928, regained after 40 bytes
[21:48:28] stream: error near frame 72539: next_packet: sync lost @ 1300554512, regained after 32 bytes
[21:49:31] stream: error near frame 74627: next_packet: sync lost @ 1334520316, regained after 28 bytes
[21:50:33] stream: error near frame 76439: next_packet: sync lost @ 1371472480, regained after 40 bytes
[21:51:40] stream: error near frame 78523: next_packet: sync lost @ 1404457880, regained after 40 bytes
[21:52:38] stream: error near frame 80338: next_packet: sync lost @ 1432986884, regained after 28 bytes
[21:53:43] stream: error near frame 82438: next_packet: sync lost @ 1464473544, regained after 32 bytes
[21:54:40] stream: error near frame 84243: next_packet: sync lost @ 1492663584, regained after 40 bytes
[21:55:43] stream: error near frame 86324: next_packet: sync lost @ 1523160988, regained after 36 bytes
[21:56:44] stream: error near frame 88420: next_packet: sync lost @ 1559769520, regained after 40 bytes
[21:57:43] stream: error near frame 90225: next_packet: sync lost @ 1585981836, regained after 28 bytes
[21:58:54] stream: error near frame 92321: next_packet: sync lost @ 1622362680, regained after 40 bytes
[22:00:02] stream: error near frame 94133: next_packet: sync lost @ 1654264808, regained after 40 bytes
[22:01:17] stream: error near frame 96209: next_packet: sync lost @ 1688847084, regained after 28 bytes
[22:02:19] stream: error near frame 98012: next_packet: sync lost @ 1716156144, regained after 40 bytes
[22:03:34] stream: error near frame 99815: next_packet: sync lost @ 1751555248, regained after 40 bytes
[22:04:47] stream: error near frame 101900: next_packet: sync lost @ 1784340064, regained after 32 bytes
[22:05:55] stream: error near frame 103702: next_packet: sync lost @ 1817404752, regained after 32 bytes
[22:07:03] stream: error near frame 105519: next_packet: sync lost @ 1847630464, regained after 32 bytes
[22:08:17] stream: error near frame 107617: next_packet: sync lost @ 1881032852, regained after 36 bytes
[22:09:37] stream: error near frame 109693: next_packet: sync lost @ 1920549916, regained after 36 bytes
[22:10:44] stream: error near frame 111512: next_packet: sync lost @ 1953927828, regained after 28 bytes
I'm not entirely sure what would happen if the subtitle fell in a region where these errors occur. But I'll bet it's not coincidence.
So meaning in other words, unless I change the source video, it is impossible to fix this missing subtitles issue?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by JohnAStebbins »

kiratorii wrote: Tue Jun 11, 2019 4:19 pm So meaning in other words, unless I change the source video, it is impossible to fix this missing subtitles issue?
There are a lot of possibilities for what is going wrong here. It could be HandBrake dropped the subtitle. It could be that HandBrake rendered the subtitle into a video frame that had it's duration expanded to fill the gap where the lost data is and your player doesn't handle variable frame rate video properly. It could be something else entirely.

One thing you might try is to set the output framerate to a constant framerate. This would force HandBrake to create duplicate frames of the last "good" frame when filling the gap where data is lost. This might rule out the 2nd possibility above.
kiratorii
Posts: 9
Joined: Sun Jun 09, 2019 3:37 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by kiratorii »

I've tried redo-ing the same file on a constant frame as suggested. Attached is the log of the completed work. Same missing subtitles problem still exist.... I wonder if there's anything else I can try to fix it aside from changing the sources...

Code: Select all

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17134.0
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Ram: 16264 MB, 
GPU Information:
  Intel(R) HD Graphics 630 - 22.20.16.4749
  NVIDIA GeForce GTX 1050 Ti - 24.21.13.9924
Screen: 1920x1080
Temp Dir: C:\Users\Wan [Censored]\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Wan [Censored]\AppData\Roaming\HandBrake

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


# Starting Encode ...

[00:50:58] hb_init: starting libhb thread
[00:50:58] 1 job(s) to process
[00:50:58] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 320,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "G:\\Queen Seondeok MP4\\Queen Seondeok - Ep02-2.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "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": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 2,
    "Path": "G:\\Queen Seondeok\\Queen Seondeok - Ep02.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": true,
        "Default": false,
        "Forced": false,
        "ID": 0,
        "Offset": 0,
        "Track": -1,
        "SRT": {
          "Codeset": "UTF-8",
          "Filename": "G:\\Queen Seondeok\\[DownSub.com] Queen Seondeok ep 2 - 44025.srt",
          "Language": "eng"
        }
      }
    ]
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[00:50:58] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
[00:50:58]  - Intel microarchitecture Kaby Lake
[00:50:58]  - logical processor count: 8
[00:50:58] Intel Quick Sync Video support: yes
[00:50:58]  - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[00:50:58]  - H.264 encoder: yes
[00:50:58]     - preferred implementation: hardware (any) via D3D11
[00:50:58]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[00:50:58]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[00:50:58]     - preferred implementation: hardware (any) via D3D11
[00:50:58]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[00:50:58] hb_scan: path=G:\Queen Seondeok\Queen Seondeok - Ep02.mp4, title_index=2
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image G:\Queen Seondeok\Queen Seondeok - Ep02.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[00:50:58] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[00:50:58] dvd: not a dvd - trying as a stream/file instead
[00:50:58] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[00:50:58] Found the following PIDS
[00:50:58]     Video PIDS :
[00:50:58]       0x100 type H.264 (0x1b) (PCR)
[00:50:58]     Audio PIDS :
[00:50:58]       0x101 type AAC (0xf)
[00:50:58]     Subtitle PIDS :
[00:50:58]     Other PIDS :
[00:50:58] stream id 0x101 (type 0xf substream 0x0) audio 0x101
[00:50:58] scan: decoding previews for title 2
[00:50:58] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[00:50:58] scan: audio 0x101: aac, rate=48000Hz, bitrate=98625 English (AAC LC) (2.0 ch)
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[h264 @ 0000024756b80980] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b80980] SPS unavailable in decode_picture_timing
[00:50:58] stream: 6 good frames, 0 errors (0%)
[00:50:58] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[00:50:58] scan: supported video decoders: avcodec qsv
[00:50:58] libhb: scan thread found 1 valid title(s)
[00:50:58] starting job
[00:50:58] decomb filter thread started for segment 1
[00:50:58] decomb filter thread started for segment 0
[00:50:58] decomb filter thread started for segment 2
[00:50:58] decomb check thread started for segment 1
[00:50:58] decomb filter thread started for segment 4
[00:50:58] decomb filter thread started for segment 5
[00:50:58] decomb filter thread started for segment 6
[00:50:58] decomb filter thread started for segment 7
[00:50:58] decomb check thread started for segment 0
[00:50:58] decomb filter thread started for segment 3
[00:50:58] decomb check thread started for segment 2
[00:50:58] mask erode thread started for segment 1
[00:50:58] decomb check thread started for segment 4
[00:50:58] decomb check thread started for segment 5
[00:50:58] mask erode thread started for segment 6
[00:50:58] decomb check thread started for segment 7
[00:50:58] mask filter thread started for segment 0
[00:50:58] mask filter thread started for segment 1
[00:50:58] mask filter thread started for segment 2
[00:50:58] mask filter thread started for segment 3
[00:50:58] mask filter thread started for segment 4
[00:50:58] mask filter thread started for segment 5
[00:50:58] mask filter thread started for segment 6
[00:50:58] mask filter thread started for segment 7
[00:50:58] yadif thread started for segment 4
[00:50:58] yadif thread started for segment 6
[00:50:58] mask erode thread started for segment 2
[00:50:58] mask erode thread started for segment 3
[00:50:58] mask erode thread started for segment 4
[00:50:58] mask erode thread started for segment 5
[00:50:58] decomb check thread started for segment 6
[00:50:58] mask erode thread started for segment 7
[00:50:58] mask dilate thread started for segment 0
[00:50:58] mask dilate thread started for segment 1
[00:50:58] mask dilate thread started for segment 2
[00:50:58] mask dilate thread started for segment 3
[00:50:58] mask dilate thread started for segment 4
[00:50:58] mask dilate thread started for segment 5
[00:50:58] mask dilate thread started for segment 6
[00:50:58] mask dilate thread started for segment 7
[00:50:58] yadif thread started for segment 0
[00:50:58] yadif thread started for segment 1
[00:50:58] yadif thread started for segment 2
[00:50:58] yadif thread started for segment 3
[00:50:58] mask erode thread started for segment 0
[00:50:58] yadif thread started for segment 5
[00:50:58] decomb check thread started for segment 3
[00:50:58] yadif thread started for segment 7
[00:50:58] [ass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.7.2 (COMPLEX)
[00:50:58] [ass] Using font provider directwrite
[00:50:58] work: only 1 chapter, disabling chapter markers
[00:50:58] job configuration:
[00:50:58]  * source
[00:50:58]    + G:\Queen Seondeok\Queen Seondeok - Ep02.mp4
[00:50:58]    + title 2, chapter(s) 1 to 1
[00:50:58]  * destination
[00:50:58]    + G:\Queen Seondeok MP4\Queen Seondeok - Ep02-2.m4v
[00:50:58]    + container: MPEG-4 (libavformat)
[00:50:58]      + align initial A/V stream timestamps
[00:50:58]  * video track
[00:50:58]    + decoder: h264
[00:50:58]      + bitrate 200 kbps
[00:50:58]    + filters
[00:50: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)
[00:50:58]      + Decomb (mode=39)
[00:50:58]      + Framerate Shaper (mode=1:rate=27000000/900000)
[00:50:58]        + frame rate: 29.970 fps -> constant 30.000 fps
[00:50:58]      + Subtitle renderer ()
[00:50:58]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[00:50:58]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[00:50:58]    + Output geometry
[00:50:58]      + storage dimensions: 1920 x 1080
[00:50:58]      + pixel aspect ratio: 1 : 1
[00:50:58]      + display dimensions: 1920 x 1080
[00:50:58]    + encoder: H.264 (libx264)
[00:50:58]      + preset:  fast
[00:50:58]      + profile: main
[00:50:58]      + level:   4.0
[00:50:58]      + quality: 22.00 (RF)
[00:50:58]      + color profile: 1-1-1
[00:50:58]  * subtitle track 1, English [SRT] (track 0, id 0xff, Text) -> Render/Burn-in, offset: 0, charset: UTF-8
[00:50:58]  * audio track 1
[00:50:58]    + decoder: English (AAC LC) (2.0 ch) (track 1, id 0x101)
[00:50:58]      + bitrate: 98 kbps, samplerate: 48000 Hz
[00:50:58]    + mixdown: Stereo
[00:50:58]    + dither: none
[00:50:58]    + encoder: AAC (libavcodec)
[00:50:58]      + bitrate: 320 kbps, samplerate: 48000 Hz
[00:50:58] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[00:50:58] sync: expecting 111535 video frames
[00:50:58] encx264: min-keyint: 30, keyint: 300
[00:50:58] encx264: encoding at constant RF 22.000000
[00:50: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
[h264 @ 0000024756b81280] non-existing SPS 0 referenced in buffering period
[h264 @ 0000024756b81280] SPS unavailable in decode_picture_timing
[00:50:59] sync: first pts video is 0
[00:50:59] sync: first pts audio 0x101 is 0
[00:50:59] sync: first pts subtitle 0xff is 45000
[00:50:59] [ass] fontselect: (sans-serif, 400, 0) -> ArialMT, 0, ArialMT
[00:51:02] stream: error near frame 299: next_packet: sync lost @ 975720, regained after 32 bytes
[00:52:00] stream: error near frame 2118: next_packet: sync lost @ 35393276, regained after 28 bytes
[00:53:14] stream: error near frame 4214: next_packet: sync lost @ 67129404, regained after 36 bytes
[00:54:29] stream: error near frame 6317: next_packet: sync lost @ 100919832, regained after 32 bytes
[00:55:50] stream: error near frame 8393: next_packet: sync lost @ 138648652, regained after 36 bytes
[00:56:59] stream: error near frame 10210: next_packet: sync lost @ 167990388, regained after 28 bytes
[00:58:10] stream: error near frame 12292: next_packet: sync lost @ 201403668, regained after 36 bytes
[00:59:14] stream: error near frame 14094: next_packet: sync lost @ 227920332, regained after 28 bytes
[01:00:34] stream: error near frame 16208: next_packet: sync lost @ 262639292, regained after 36 bytes
[01:01:48] stream: error near frame 18303: next_packet: sync lost @ 303097316, regained after 36 bytes
[01:02:50] stream: error near frame 20105: next_packet: sync lost @ 338829928, regained after 32 bytes
[01:04:10] stream: error near frame 22192: next_packet: sync lost @ 376567404, regained after 36 bytes
[01:05:23] stream: error near frame 24283: next_packet: sync lost @ 412362644, regained after 36 bytes
[01:06:33] stream: error near frame 26395: next_packet: sync lost @ 445698672, regained after 32 bytes
[01:08:06] stream: error near frame 28488: next_packet: sync lost @ 488094968, regained after 32 bytes
[01:09:24] stream: error near frame 30570: next_packet: sync lost @ 530041768, regained after 40 bytes
[01:10:26] stream: error near frame 32373: next_packet: sync lost @ 566170112, regained after 32 bytes
[01:11:41] stream: error near frame 34471: next_packet: sync lost @ 606509704, regained after 32 bytes
[01:12:52] stream: error near frame 36287: next_packet: sync lost @ 641317348, regained after 36 bytes
[01:14:18] stream: error near frame 38373: next_packet: sync lost @ 679088472, regained after 40 bytes
[01:15:44] stream: error near frame 40484: next_packet: sync lost @ 717076004, regained after 36 bytes
[01:17:12] stream: error near frame 42580: next_packet: sync lost @ 750478400, regained after 32 bytes
[01:18:42] stream: error near frame 44678: next_packet: sync lost @ 787455592, regained after 32 bytes
[01:20:22] stream: error near frame 46753: next_packet: sync lost @ 829283948, regained after 36 bytes
[01:21:59] stream: error near frame 48873: next_packet: sync lost @ 865596936, regained after 32 bytes
[01:23:33] stream: error near frame 50977: next_packet: sync lost @ 904120412, regained after 36 bytes
[01:25:02] stream: error near frame 53048: next_packet: sync lost @ 938175352, regained after 32 bytes
[01:26:26] stream: error near frame 54872: next_packet: sync lost @ 973819032, regained after 32 bytes
[01:27:56] stream: error near frame 56944: next_packet: sync lost @ 1012243272, regained after 40 bytes
[01:29:16] stream: error near frame 58750: next_packet: sync lost @ 1044775004, regained after 36 bytes
[01:30:41] stream: error near frame 60566: next_packet: sync lost @ 1080925732, regained after 28 bytes
[01:32:18] stream: error near frame 62637: next_packet: sync lost @ 1117468468, regained after 36 bytes
[01:33:39] stream: error near frame 64443: next_packet: sync lost @ 1152953492, regained after 36 bytes
[01:35:11] stream: error near frame 66537: next_packet: sync lost @ 1191256656, regained after 32 bytes
[01:36:35] stream: error near frame 68354: next_packet: sync lost @ 1224699604, regained after 28 bytes
[01:38:13] stream: error near frame 70448: next_packet: sync lost @ 1262122928, regained after 40 bytes
[01:39:54] stream: error near frame 72539: next_packet: sync lost @ 1300554512, regained after 32 bytes
[01:41:25] stream: error near frame 74627: next_packet: sync lost @ 1334520316, regained after 28 bytes
[01:42:55] stream: error near frame 76439: next_packet: sync lost @ 1371472480, regained after 40 bytes
[01:44:33] stream: error near frame 78523: next_packet: sync lost @ 1404457880, regained after 40 bytes
[01:45:58] stream: error near frame 80338: next_packet: sync lost @ 1432986884, regained after 28 bytes
[01:47:46] stream: error near frame 82438: next_packet: sync lost @ 1464473544, regained after 32 bytes
[01:49:22] stream: error near frame 84243: next_packet: sync lost @ 1492663584, regained after 40 bytes
[01:51:02] stream: error near frame 86324: next_packet: sync lost @ 1523160988, regained after 36 bytes
[01:52:33] stream: error near frame 88420: next_packet: sync lost @ 1559769520, regained after 40 bytes
[01:53:52] stream: error near frame 90225: next_packet: sync lost @ 1585981836, regained after 28 bytes
[01:55:22] stream: error near frame 92321: next_packet: sync lost @ 1622362680, regained after 40 bytes
[01:56:49] stream: error near frame 94133: next_packet: sync lost @ 1654264808, regained after 40 bytes
[01:58:21] stream: error near frame 96209: next_packet: sync lost @ 1688847084, regained after 28 bytes
[01:59:36] stream: error near frame 98012: next_packet: sync lost @ 1716156144, regained after 40 bytes
[02:01:14] stream: error near frame 99815: next_packet: sync lost @ 1751555248, regained after 40 bytes
[02:02:45] stream: error near frame 101900: next_packet: sync lost @ 1784340064, regained after 32 bytes
[02:04:10] stream: error near frame 103702: next_packet: sync lost @ 1817404752, regained after 32 bytes
[02:05:34] stream: error near frame 105519: next_packet: sync lost @ 1847630464, regained after 32 bytes
[02:07:05] stream: error near frame 107617: next_packet: sync lost @ 1881032852, regained after 36 bytes
[02:08:48] stream: error near frame 109693: next_packet: sync lost @ 1920549916, regained after 36 bytes
[02:10:12] stream: error near frame 111512: next_packet: sync lost @ 1953927828, regained after 28 bytes
[02:11:38] hb_ts_stream_decode - eof
[02:11:38] hb_ts_stream_decode - eof
[02:11:38] reader: done. 4003 scr changes
[02:11:43] work: average encoding speed for job is 23.374144 fps
[02:11:43] comb detect: heavy 931 | light 1668 | uncombed 110570 | total 113169
[02:11:43] decomb: deinterlaced 931 | blended 1668 | unfiltered 110570 | total 113169
[02:11:43] vfr: 113282 frames output, 0 dropped and 113 duped for CFR/PFR
[02:11:43] vfr: lost time: 0 (0 frames)
[02:11:43] vfr: gained time: 0 (0 frames) (0 not accounted for)
[02:11:43] stream: 113168 good frames, 377 errors (0%)
[02:11:43] aac-decoder done: 177004 frames, 0 decoder errors
[02:11:43] h264-decoder done: 113168 frames, 0 decoder errors
[02:11:43] sync: got 113169 frames, 111535 expected
[02:11:43] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:1195  Avg QP:17.61  size:114352
x264 [info]: frame P:37585 Avg QP:21.34  size: 38675
x264 [info]: frame B:74502 Avg QP:23.61  size:  9247
x264 [info]: consecutive B-frames:  3.8% 19.8% 16.9% 59.5%
x264 [info]: mb I  I16..4: 46.8%  0.0% 53.2%
x264 [info]: mb P  I16..4: 14.2%  0.0%  4.4%  P16..4: 42.9% 12.0%  5.3%  0.0%  0.0%    skip:21.2%
x264 [info]: mb B  I16..4:  3.2%  0.0%  0.4%  B16..8: 24.6%  4.0%  0.2%  direct: 8.4%  skip:59.3%  L0:46.5% L1:48.4% BI: 5.0%
x264 [info]: coded y,uvDC,uvAC intra: 22.2% 62.1% 15.1% inter: 8.1% 23.1% 0.6%
x264 [info]: i16 v,h,dc,p: 42% 23% 17% 18%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 18% 23%  5%  6%  6%  5%  5%  3%
x264 [info]: i8c dc,h,v,p: 54% 19% 23%  5%
x264 [info]: Weighted P-Frames: Y:0.8% UV:0.4%
x264 [info]: ref P L0: 72.4% 27.6%
x264 [info]: ref B L0: 82.2% 17.8%
x264 [info]: ref B L1: 96.9%  3.1%
x264 [info]: kb/s:4828.56
[02:11:43] mux: track 0, 113282 frames, 2279074256 bytes, 4828.42 kbps, fifo 1024
[02:11:43] mux: track 1, 177005 frames, 150946670 bytes, 319.79 kbps, fifo 2048
[02:11:44] libhb: work result = 0

# Encode Completed ...
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by JohnAStebbins »

I don't have any other suggestions I'm afraid
Deleted User 11865

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by Deleted User 11865 »

It looks like you're using an external SRT file… could you try the same SRT file with a completely different source, for testing purposes, to see if the subtitle packets are still missing?
kiratorii
Posts: 9
Joined: Sun Jun 09, 2019 3:37 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by kiratorii »

Rodeo wrote: Tue Jun 11, 2019 10:49 pm It looks like you're using an external SRT file… could you try the same SRT file with a completely different source, for testing purposes, to see if the subtitle packets are still missing?
I've tested it with a different source video and the subtitles are all there.... Does this mean the problem lies with the video source?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Is it possible to fix my subtitles being cut off during a hardsubbing session

Post by JohnAStebbins »

kiratorii wrote: Mon Jun 17, 2019 5:55 am I've tested it with a different source video and the subtitles are all there.... Does this mean the problem lies with the video source?
The video definitely has a problem. But it's possible the problem could be handled better. It really depends on just how bad the video is in the area this is happening and what HandBrake is having to do to "recover" from the errors in the video.
Post Reply