Closed Captions don't display

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
geno11x11
Posts: 7
Joined: Thu May 14, 2020 5:15 pm

Closed Captions don't display

Post by geno11x11 »

Description of problem or question: Closed Captions don't display.

Movie ripped from BD with MakeMKV. srt file works perfectly with VLC when loading it manually by adding a subtitle file. But when the srt file is encoded with HandBrake, the title is present in the drop-down but no CC text appears in the movie. I have encoded the movie twice - everything is as expected except for Closed Captions.

Note: I have ripped & then encoded many movies using this method and incorporating Closed Captions. I have never experienced this problem before, so there seems to be something peculiar to this movie. It is over 3 hours in length - maybe a factor?

HandBrake version: 1.3.0

Operating system and version: Windows 7 Pro PC

HandBrake Activity Log:

Code: Select all

HandBrake 1.3.0 (2019110900)
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: AMD FX(tm)-8320 Eight-Core Processor           
Ram: 16344 MB, 
GPU Information:
  AMD Radeon HD 6900 Series - 15.200.1062.1004
Screen: 1920x1080
Temp Dir: C:\Users\Geno\AppData\Local\Temp\
Install Dir: D:\Program Files (x86)\Handbrake
Data Dir: C:\Users\Geno\AppData\Roaming\HandBrake

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


# Starting Encode ...

[11:03:13] hb_init: starting libhb thread
[11:03:13] Starting work at: Wed May 13 11:03:13 2020
[11:03:13] 1 job(s) to process
[11:03:13] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 256,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 6,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "TrueHD AAC SS 5.1",
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 224,
        "DRC": 0.0,
        "Encoder": "ac3",
        "Gain": 0.0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "TrueHD AC3 SS 5.1",
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 256,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "Stereo",
        "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"
      },
      {
        "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"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Data\\Video\\MakeMKV-2\\Broken Trail - DuVall Church (2006)\\~Broken Trail - Duvall Church 2006 BD-SHQ-SS-CC-2.mp4",
    "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": 12,
        "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": 20
    },
    "Title": 1,
    "Path": "D:\\Data\\Video\\MakeMKV-2\\Broken Trail - DuVall Church (2006)\\~Broken Trail - Duvall Church 2006 BD-SHQ-SS-CC.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 0,
        "Offset": 0,
        "Track": -1,
        "Name": "English CC",
        "Import": {
          "Codeset": "UTF-8",
          "Filename": "D:\\Data\\Video\\MakeMKV-2\\Broken Trail - DuVall Church (2006)\\brokentrail23.976fps-309516-GNK.srt",
          "Language": "eng",
          "Format": "SRT"
        }
      }
    ]
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "ref=5:bframes=5:threads=10",
    "Preset": "veryslow",
    "Profile": "high",
    "Quality": 18.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[11:03:13] CPU:
[11:03:13]  - logical processor count: 8
[11:03:13] Intel Quick Sync Video support: no
[11:03:13] hb_scan: path=D:\Data\Video\MakeMKV-2\Broken Trail - DuVall Church (2006)\~Broken Trail - Duvall Church 2006 BD-SHQ-SS-CC.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Data\Video\MakeMKV-2\Broken Trail - DuVall Church (2006)\~Broken Trail - Duvall Church 2006 BD-SHQ-SS-CC.mkv
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
src/libbluray/bluray.c:2585: nav_get_title_list(D:\Data\Video\MakeMKV-2\Broken Trail - DuVall Church (2006)\~Broken Trail - Duvall Church 2006 BD-SHQ-SS-CC.mkv\) failed
[11:03:13] bd: not a bd - trying as a stream/file instead
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.BUP.
[11:03:13] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Data\Video\MakeMKV-2\Broken Trail - DuVall Church (2006)\~Broken Trail - Duvall Church 2006 BD-SHQ-SS-CC.mkv':
  Metadata:
    title           : Broken Trail
    encoder         : libmakemkv v1.15.0 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2020-05-09T14:05:49.000000Z
  Duration: 03:04:08.04, start: 0.000000, bitrate: 24390 kb/s
    Chapter #0:0: start 0.000000, end 22.147125
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 22.147125, end 245.161583
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 245.161583, end 1077.618208
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1077.618208, end 1957.664042
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1957.664042, end 2577.700125
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2577.700125, end 3091.171417
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 3091.171417, end 3568.106208
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3568.106208, end 4248.702792
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 4248.702792, end 4705.742708
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 4705.742708, end 5572.567000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 5572.567000, end 5593.879958
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5593.879958, end 5803.297500
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5803.297500, end 6734.728000
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 6734.728000, end 7537.071208
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 7537.071208, end 8078.612208
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 8078.612208, end 8927.335083
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 8927.335083, end 9469.543417
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 9469.543417, end 9913.028125
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 9913.028125, end 10453.484708
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 10453.484708, end 11048.037000
    Metadata:
      title           : Chapter 20
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 22149699
      DURATION-eng    : 03:04:08.037000000
      NUMBER_OF_FRAMES-eng: 264888
      NUMBER_OF_BYTES-eng: 30588837800
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-09 14:05:49
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit) (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1535235
      DURATION-eng    : 03:04:08.037500000
      NUMBER_OF_FRAMES-eng: 13257645
      NUMBER_OF_BYTES-eng: 2120167926
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-09 14:05:49
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 640000
      DURATION-eng    : 03:04:08.064000000
      NUMBER_OF_FRAMES-eng: 345252
      NUMBER_OF_BYTES-eng: 883845120
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-09 14:05:49
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 26645
      DURATION-eng    : 03:01:42.912854166
      NUMBER_OF_FRAMES-eng: 3492
      NUMBER_OF_BYTES-eng: 36314808
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-09 14:05:49
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle (default)
    Metadata:
      BPS-eng         : 1479
      DURATION-eng    : 02:10:29.258937500
      NUMBER_OF_FRAMES-eng: 174
      NUMBER_OF_BYTES-eng: 1447643
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-09 14:05:49
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 24861
      DURATION-eng    : 03:02:21.618187500
      NUMBER_OF_FRAMES-eng: 4282
      NUMBER_OF_BYTES-eng: 34003588
      SOURCE_ID-eng   : 001201
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-09 14:05:49
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[11:03:14] scan: decoding previews for title 1
[11:03:14] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (5.1 ch)
[11:03:14] scan: audio 0x2: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[11:03:15] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[11:03:15] scan: supported video decoders: avcodec qsv
[11:03:15] libhb: scan thread found 1 valid title(s)
[11:03:15] Starting Task: Encoding Pass
[11:03:15] Skipping crop/scale filter
[11:03:15] job configuration:
[11:03:15]  * source
[11:03:15]    + D:\Data\Video\MakeMKV-2\Broken Trail - DuVall Church (2006)\~Broken Trail - Duvall Church 2006 BD-SHQ-SS-CC.mkv
[11:03:15]    + title 1, chapter(s) 1 to 20
[11:03:15]    + container: matroska,webm
[11:03:15]    + data rate: 24390 kbps
[11:03:15]  * destination
[11:03:15]    + D:\Data\Video\MakeMKV-2\Broken Trail - DuVall Church (2006)\~Broken Trail - Duvall Church 2006 BD-SHQ-SS-CC-2.mp4
[11:03:15]    + container: MPEG-4 (libavformat)
[11:03:15]      + chapter markers
[11:03:15]  * video track
[11:03:15]    + decoder: h264
[11:03:15]    + filters
[11:03: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)
[11:03:15]      + Decomb (mode=39)
[11:03:15]      + Framerate Shaper (mode=1:rate=27000000/900000)
[11:03:15]        + frame rate: 23.976 fps -> constant 30.000 fps
[11:03:15]    + Output geometry
[11:03:15]      + storage dimensions: 1920 x 1080
[11:03:15]      + pixel aspect ratio: 1 : 1
[11:03:15]      + display dimensions: 1920 x 1080
[11:03:15]    + encoder: H.264 (libx264)
[11:03:15]      + preset:  veryslow
[11:03:15]      + options: ref=5:bframes=5:threads=10
[11:03:15]      + profile: high
[11:03:15]      + level:   4.0
[11:03:15]      + quality: 18.00 (RF)
[11:03:15]      + color profile: 1-1-1
[11:03:15]  * subtitle track 1, English [SRT] (track 0, id 0xff000000, Text) -> Passthrough, offset: 0, charset: UTF-8
[11:03:15]    + name: English CC
[11:03:15]  * audio track 1
[11:03:15]    + name: TrueHD AAC SS 5.1
[11:03:15]    + decoder: English (TrueHD) (5.1 ch) (track 1, id 0x1)
[11:03:15]      + samplerate: 48000 Hz
[11:03:15]    + mixdown: Dolby Pro Logic II
[11:03:15]    + dither: none
[11:03:15]    + encoder: AAC (libavcodec)
[11:03:15]      + bitrate: 256 kbps, samplerate: 48000 Hz
[11:03:15]  * audio track 2
[11:03:15]    + name: TrueHD AC3 SS 5.1
[11:03:15]    + decoder: English (TrueHD) (5.1 ch) (track 1, id 0x1)
[11:03:15]      + samplerate: 48000 Hz
[11:03:15]    + mixdown: 5.1 Channels
[11:03:15]    + dither: none
[11:03:15]    + encoder: AC3 (libavcodec)
[11:03:15]      + bitrate: 224 kbps, samplerate: 48000 Hz
[11:03:15]  * audio track 3
[11:03:15]    + name: Stereo
[11:03:15]    + decoder: English (TrueHD) (5.1 ch) (track 1, id 0x1)
[11:03:15]      + samplerate: 48000 Hz
[11:03:15]    + mixdown: Stereo
[11:03:15]    + dither: none
[11:03:15]    + encoder: AAC (libavcodec)
[11:03:15]      + bitrate: 256 kbps, samplerate: 48000 Hz
[11:03:15] sync: expecting 264888 video frames
[11:03:15] encx264: min-keyint: 30, keyint: 300
[11:03:15] encx264: encoding at constant RF 18.000000
[11:03:15] encx264: unparsed options: ref=4:bframes=5:threads=10:level=4.0:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA3 BMI1
x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
[11:03:15] sync: first pts audio 0x1 is 0
[11:03:15] sync: first pts audio 0x1 is 0
[11:03:15] sync: first pts audio 0x1 is 0
Invalid byte for codeset in input, discard byte
[11:03:15] sync: first pts subtitle 0xff000000 is 0
[11:03:15] sync: subtitle 0xff000000 duration <= 0, PTS 0
[11:03:16] sync: first pts video is 0
[11:03:16] sync: "Chapter 1" (1) at frame 1 time 0
[11:03:34] sync: "Chapter 2" (2) at frame 533 time 1996995
[11:26:29] sync: "Chapter 3" (3) at frame 5879 time 22064542
[12:49:05] sync: "Chapter 4" (4) at frame 25839 time 96989392
[14:16:32] sync: "Chapter 5" (5) at frame 46939 time 176193517
[15:14:23] sync: "Chapter 6" (6) at frame 61806 time 232000518
[16:05:59] sync: "Chapter 7" (7) at frame 74116 time 278209181
[16:49:54] sync: "Chapter 8" (8) at frame 85551 time 321133312
[17:58:27] sync: "Chapter 9" (9) at frame 101868 time 382383251
[18:38:08] sync: "Chapter 10" (10) at frame 112826 time 423516843
[19:56:53] sync: "Chapter 11" (11) at frame 133609 time 501531030
[19:57:18] sync: "Chapter 12" (12) at frame 134120 time 503449196
[20:15:22] sync: "Chapter 13" (13) at frame 139141 time 522296775
[21:41:43] sync: "Chapter 14" (14) at frame 161473 time 606125520
[23:03:14] sync: "Chapter 15" (15) at frame 180712 time 678343916
[23:58:48] sync: "Chapter 16" (16) at frame 193695 time 727078852
[01:15:26] sync: "Chapter 17" (17) at frame 214044 time 803463911
[02:06:38] sync: "Chapter 18" (18) at frame 227044 time 852262661
[02:53:09] sync: "Chapter 19" (19) at frame 237677 time 892176285
[03:42:43] sync: "Chapter 20" (20) at frame 250634 time 940813623
[04:35:41] reader: done. 1 scr changes
[04:35:56] work: average encoding speed for job is 4.193985 fps
[04:35:56] comb detect: heavy 84 | light 2671 | uncombed 262133 | total 264888
[04:35:56] decomb: deinterlaced 84 | blended 2671 | unfiltered 262133 | total 264888
[04:35:56] vfr: 331441 frames output, 0 dropped and 66553 duped for CFR/PFR
[04:35:56] vfr: lost time: 0 (0 frames)
[04:35:56] vfr: gained time: 0 (0 frames) (0 not accounted for)
[04:35:56] truehd-decoder done: 13257645 frames, 0 decoder errors
[04:35:56] truehd-decoder done: 13257645 frames, 0 decoder errors
[04:35:56] truehd-decoder done: 13257645 frames, 0 decoder errors
[04:35:56] h264-decoder done: 264888 frames, 0 decoder errors
[04:35:56] sync: got 264888 frames, 264888 expected
[04:35:56] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:1710  Avg QP:15.68  size:245622
x264 [info]: frame P:85826 Avg QP:19.64  size:106259
x264 [info]: frame B:243905 Avg QP:21.16  size: 54444
x264 [info]: consecutive B-frames:  3.6%  4.4% 13.1% 17.8% 48.2% 12.9%
x264 [info]: mb I  I16..4:  3.7% 84.4% 11.8%
x264 [info]: mb P  I16..4:  0.7% 23.2%  1.0%  P16..4: 36.2% 18.6%  8.4%  0.3%  0.0%    skip:11.5%
x264 [info]: mb B  I16..4:  0.1%  3.8%  0.2%  B16..8: 42.0% 12.1%  3.0%  direct: 6.7%  skip:32.0%  L0:51.8% L1:39.6% BI: 8.6%
x264 [info]: 8x8 transform intra:92.8% inter:79.5%
x264 [info]: direct mvs  spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 94.9% 73.2% 28.8% inter: 47.9% 30.8% 0.6%
x264 [info]: i16 v,h,dc,p: 37% 11% 10% 41%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10%  7% 20%  9% 11% 10% 10% 10% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 13%  5%  7% 12% 12% 12%  9% 13%
x264 [info]: i8c dc,h,v,p: 47% 26% 19%  9%
x264 [info]: Weighted P-Frames: Y:4.6% UV:3.2%
x264 [info]: ref P L0: 58.9% 12.5% 16.6% 10.8%  1.2%  0.0%
x264 [info]: ref B L0: 86.5% 10.9%  2.6%
x264 [info]: ref B L1: 96.6%  3.4%
x264 [info]: kb/s:16523.43
[04:35:57] mux: track 0, 331441 frames, 22818853063 bytes, 16523.33 kbps, fifo 2048
[04:35:57] mux: track 1, 517877 frames, 355011610 bytes, 257.07 kbps, fifo 4096
[04:35:57] mux: track 2, 345251 frames, 309344896 bytes, 224.00 kbps, fifo 4096
[04:35:57] mux: track 3, 517877 frames, 354712470 bytes, 256.85 kbps, fifo 4096
[04:35:57] mux: track 4, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[04:35:57] Finished work at: Thu May 14 04:35:57 2020
[04:35:57] libhb: work result = 0

# Encode Completed ...

mduell
Veteran User
Posts: 8182
Joined: Sat Apr 21, 2007 8:54 pm

Re: Closed Captions don't display

Post by mduell »

Indeed, the track is 0 bytes.

Is the text encoding selection correct?

Also upgrade to the current release.
Deleted User 11865

Re: Closed Captions don't display

Post by Deleted User 11865 »

geno11x11 wrote: Thu May 14, 2020 5:35 pm

Code: Select all

[…]

[11:03:15]  * subtitle track 1, English [SRT] (track 0, id 0xff000000, Text) -> Passthrough, offset: 0, charset: UTF-8
[11:03:15]    + name: English CC
[11:03:15]  * audio track 1

[…]

Invalid byte for codeset in input, discard byte

[…]
Indeed, the most likely explanation is that your SRT file is not UTF-8.
Woodstock
Veteran User
Posts: 4613
Joined: Tue Aug 27, 2013 6:39 am

Re: Closed Captions don't display

Post by Woodstock »

Are you referring to "Closed Captions", which are part of the video stream, or "subtitles"? I know that MakeMKV will extract Closed Captions from DVDs as a text subtitle, but Bluray sources do not use them much.

But the log doesn't mention a CC-type subtitle in the source. I vote for the codeset, too. :)
geno11x11
Posts: 7
Joined: Thu May 14, 2020 5:15 pm

Re: Closed Captions don't display

Post by geno11x11 »

HandBrake documentation states: "You should make sure the correct character code is selected from the “Char Code” dropdown. Selecting the wrong code, will result in your output file having no subtitle track, and can cause the player to crash when playing that track."

So I checked the settings on "Subtitle Edit" which was used to create the srt file and it matches the Handbrake setting: UTF-8. This is the default and what I have used in all previous encodes. Should I use a different setting?
geno11x11
Posts: 7
Joined: Thu May 14, 2020 5:15 pm

Re: Closed Captions don't display

Post by geno11x11 »

Also, I checked for updates in the Help menu, and it indicates no updates are available.
Deleted User 11865

Re: Closed Captions don't display

Post by Deleted User 11865 »

Can you upload your SRT file to Dropbox or similar?
geno11x11
Posts: 7
Joined: Thu May 14, 2020 5:15 pm

Re: Closed Captions don't display

Post by geno11x11 »

Here's a dropbox link to the srt file - I had to append the file with .txt for it to work with dropbox. Use the name Rodeo@rodeo.com to access the account. https://www.dropbox.com/s/ssdei0kywf5ix ... t.txt?dl=0

Note: I just completed an encode with another movie and Closed Captions work. All settings were exactly the same for both movies.
Deleted User 11865

Re: Closed Captions don't display

Post by Deleted User 11865 »

The subtitle file appears to be UTF-16 encoded.
geno11x11
Posts: 7
Joined: Thu May 14, 2020 5:15 pm

Re: Closed Captions don't display

Post by geno11x11 »

Ok, I will give that a try. In the meantime, please explain how you came to that conclusion.
Deleted User 11865

Re: Closed Captions don't display

Post by Deleted User 11865 »

Code: Select all

file /path/to/file/
Not sure what the equivalent Windows utility is, if any.
geno11x11
Posts: 7
Joined: Thu May 14, 2020 5:15 pm

Re: Closed Captions don't display

Post by geno11x11 »

That did the trick. TY!

I don't understand your last post: file /path/to/file/. It appears to be a file path, but I don't get it and a DDG search was not illuminating.

I need a bit more & I appreciate your time.
geno11x11
Posts: 7
Joined: Thu May 14, 2020 5:15 pm

Re: Closed Captions don't display

Post by geno11x11 »

For those following this post, I found a Windows utility that identifies file encoding: Notepad++, which is an enhanced file editor - not the one provided by Microsoft. At the bottom of the window the encoding type is displayed. This utility even provides a method for converting one encoding type to another.
Post Reply