Black Subtitles

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
PeterSpie
Posts: 1
Joined: Tue Jan 11, 2022 8:49 am

Black Subtitles

Post by PeterSpie »

Description of problem or question:
I have a .MKV file which is very big (about 63 Gb). So, I want to convert it to a smaller file.
It seems to work, but the subtitles in the output file are black, and very difficult to read. (please see the images).

I hope someone knows what the problem could be. I couldn't find an answer here in the forum.

HandBrake version (e.g., 1.0.0):
1.4.2 (2021100300)

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

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

Code: Select all

HandBrake 1.4.2 (2021100300)
OS: Microsoft Windows NT 10.0.19043.0
CPU: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
Ram: 32708 MB, 
GPU Information:
  NVIDIA GeForce RTX 3060 - 30.0.14.9613
Screen: 3440x1440
Temp Dir: C:\Users\Peter\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\Peter\AppData\Roaming\HandBrake

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


# Starting Encode ...
[21:24:43] base preset: H.264 MKV 1080p30
Remote Process started with Process ID: 13596 using port: 8037. Max Allowed Instances: 1
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Disconnected worker monitoring enabled!
[21:24:44] Compile-time hardening features are enabled
[21:24:44] hb_init: starting libhb thread
[21:24:44] Starting work at: Mon Jan 10 21:24:44 2022
[21:24:44] 1 job(s) to process
[21:24:44] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "TrueHD Atmos 7.1",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      },
      {
        "Name": "Chapter 17"
      },
      {
        "Name": "Chapter 18"
      },
      {
        "Name": "Chapter 19"
      },
      {
        "Name": "Chapter 20"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "L:\\complete\\Fast and furious saga 4k 10 van 10-2",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 13,
        "Settings": {
          "crop-bottom": "278",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "278",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 540,
    "Den": 401
  },
  "Metadata": {
    "Name": "Fast \u0026 Furious Presents: Hobbs \u0026 Shaw 4K"
  },
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 20
    },
    "Title": 1,
    "Path": "L:\\complete\\Fast and furious saga 4k 10 van 10\\Fast \u0026 Furious Presents- Hobbs \u0026 Shaw 4K.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": true,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 2,
        "Offset": 0,
        "Track": 1,
        "Name": "tweetyfan"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0,
        "Name": "English (SDH)"
      }
    ]
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "main",
    "Quality": 22,
    "QSV": {
      "Decode": false
    }
  }
}
[21:24:44] CPU: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
[21:24:44]  - Intel microarchitecture Skylake
[21:24:44]  - logical processor count: 4
[21:24:44] Intel Quick Sync Video support: no
[21:24:44] hb_scan: path=L:\complete\Fast and furious saga 4k 10 van 10\Fast & Furious Presents- Hobbs & Shaw 4K.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image L:\complete\Fast and furious saga 4k 10 van 10\Fast & Furious Presents- Hobbs & Shaw 4K.mkv
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(L:\complete\Fast and furious saga 4k 10 van 10\Fast & Furious Presents- Hobbs & Shaw 4K.mkv\) failed
[21:24:44] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[21:24:44] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'L:\complete\Fast and furious saga 4k 10 van 10\Fast & Furious Presents- Hobbs & Shaw 4K.mkv':
  Metadata:
    title           : Fast & Furious Presents: Hobbs & Shaw 4K
    encoder         : libebml v1.4.2 + libmatroska v1.6.4
    creation_time   : 2022-01-01T13:09:27.000000Z
  Duration: 02:16:41.79, start: 0.000000, bitrate: 67603 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 298.131000
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 298.131000, end 823.489000
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 823.489000, end 1161.452000
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1161.452000, end 1605.979000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1605.979000, end 2141.514000
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 2141.514000, end 2413.244000
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 2413.244000, end 2782.029000
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 2782.029000, end 3094.216000
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 3094.216000, end 3471.802000
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 3471.802000, end 3713.251000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 3713.251000, end 4125.163000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 4125.163000, end 4462.833000
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 4462.833000, end 4788.075000
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 4788.075000, end 5099.261000
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 5099.261000, end 5578.198000
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 5578.198000, end 5928.923000
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 5928.923000, end 6392.970000
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 6392.970000, end 6809.594000
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 6809.594000, end 7274.809000
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 7274.809000, end 8201.792000
      Metadata:
        title           : Chapter 20
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
    Metadata:
      BPS             : 63723612
      DURATION        : 02:16:41.777000000
      NUMBER_OF_FRAMES: 196646
      NUMBER_OF_BYTES : 65330857874
      _STATISTICS_WRITING_APP: mkvmerge v64.0.0 ('Willows') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-01-01 13:09:27
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : TrueHD Atmos 7.1
      BPS             : 3141091
      DURATION        : 02:16:41.778000000
      NUMBER_OF_FRAMES: 9842133
      NUMBER_OF_BYTES : 3220317336
      _STATISTICS_WRITING_APP: mkvmerge v64.0.0 ('Willows') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-01-01 13:09:27
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : AC3 5.1
      BPS             : 448000
      DURATION        : 02:16:41.792000000
      NUMBER_OF_FRAMES: 256306
      NUMBER_OF_BYTES : 459300352
      _STATISTICS_WRITING_APP: mkvmerge v64.0.0 ('Willows') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-01-01 13:09:27
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Commentary by Director David Leitch
      BPS             : 192000
      DURATION        : 02:16:41.792000000
      NUMBER_OF_FRAMES: 256306
      NUMBER_OF_BYTES : 196843008
      _STATISTICS_WRITING_APP: mkvmerge v64.0.0 ('Willows') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-01-01 13:09:27
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English (SDH)
      BPS             : 53843
      DURATION        : 02:16:32.184000000
      NUMBER_OF_FRAMES: 4408
      NUMBER_OF_BYTES : 55136623
      _STATISTICS_WRITING_APP: mkvmerge v64.0.0 ('Willows') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-01-01 13:09:27
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(dut): Subtitle: subrip (default)
    Metadata:
      title           : tweetyfan
      BPS             : 45
      DURATION        : 02:15:12.863000000
      NUMBER_OF_FRAMES: 1192
      NUMBER_OF_BYTES : 46285
      _STATISTICS_WRITING_APP: mkvmerge v64.0.0 ('Willows') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2022-01-01 13:09:27
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[21:24:44] scan: decoding previews for title 1
[21:24:44] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[21:24:44] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[21:24:44] scan: audio 0x3: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround) (192 kbps)
[21:24:49] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 278/278/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9
[21:24:49] scan: mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
[21:24:49] scan: content light level: max_cll=1000, max_fall=419
[21:24:49] libhb: scan thread found 1 valid title(s)
[21:24:49] Skipping subtitle scan.  No suitable subtitle tracks.
[21:24:49] Starting Task: Encoding Pass
[21:24:49] work: track 1, dithering not supported by codec
[21:24:49] job configuration:
[21:24:49]  * source
[21:24:49]    + L:\complete\Fast and furious saga 4k 10 van 10\Fast & Furious Presents- Hobbs & Shaw 4K.mkv
[21:24:49]    + title 1, chapter(s) 1 to 20
[21:24:49]    + container: matroska,webm
[21:24:49]    + data rate: 67603 kbps
[21:24:49]  * destination
[21:24:49]    + L:\complete\Fast and furious saga 4k 10 van 10-2
[21:24:49]    + container: Matroska (libavformat)
[21:24:49]      + chapter markers
[21:24:49]  * video track
[21:24:49]    + decoder: hevc 8-bit (yuv420p)
[21:24:49]    + filters
[21:24:49]      + 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:24:49]      + Decomb (mode=39)
[21:24:49]      + Framerate Shaper (mode=2:rate=27000000/900000)
[21:24:49]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[21:24:49]      + Crop and Scale (width=1920:height=1080:crop-top=278:crop-bottom=278:crop-left=0:crop-right=0)
[21:24:49]        + source: 3840 * 2160, crop (278/278/0/0): 3840 * 1604, scale: 1920 * 1080
[21:24:49]    + Output geometry
[21:24:49]      + storage dimensions: 1920 x 1080
[21:24:49]      + pixel aspect ratio: 540 : 401
[21:24:49]      + display dimensions: 2585 x 1080
[21:24:49]    + encoder: H.264 (libx264)
[21:24:49]      + preset:  medium
[21:24:49]      + profile: main
[21:24:49]      + level:   4.0
[21:24:49]      + quality: 22.00 (RF)
[21:24:49]      + color profile: 9-16-9
[21:24:49]      + mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
[21:24:49]      + content light level: max_cll=1000, max_fall=419
[21:24:49]  * subtitle track 1, Nederlands [UTF-8] (track 1, id 0x5, Text) -> Passthrough
[21:24:49]    + name: tweetyfan
[21:24:49]  * subtitle track 2, English [PGS] (track 0, id 0x4, Picture) -> Passthrough
[21:24:49]    + name: English (SDH)
[21:24:49]  * audio track 1
[21:24:49]    + name: TrueHD Atmos 7.1
[21:24:49]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[21:24:49]      + samplerate: 48000 Hz
[21:24:49]    + mixdown: Stereo
[21:24:49]    + encoder: AAC (libavcodec)
[21:24:49]      + bitrate: 160 kbps, samplerate: 48000 Hz
[21:24:49] sync: expecting 196646 video frames
[21:24:49] encx264: min-keyint: 24, keyint: 240
[21:24:49] encx264: encoding at constant RF 22.000000
[21:24:49] encx264: unparsed options: level=4.0:8x8dct=0:vbv-bufsize=25000:vbv-maxrate=20000
x264 [info]: using SAR=540/401
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
[21:24:49] sync: first pts audio 0x1 is 0
[21:24:49] sync: first pts video is 0
[21:24:49] sync: "Chapter 1" (1) at frame 1 time 0
[21:24:58] sync: first pts subtitle 0x4 is 705780
[21:26:25] sync: first pts subtitle 0x5 is 3686220
[21:36:46] sync: "Chapter 2" (2) at frame 7150 time 26835558
[21:55:25] sync: "Chapter 3" (3) at frame 19745 time 74114040
[22:05:28] sync: "Chapter 4" (4) at frame 27848 time 104530676
[22:18:56] sync: "Chapter 5" (5) at frame 38506 time 144538143
[22:36:21] sync: "Chapter 6" (6) at frame 51346 time 192736293
[22:45:50] sync: "Chapter 7" (7) at frame 57861 time 217191975
[22:56:32] sync: "Chapter 8" (8) at frame 66703 time 250382632
[23:05:38] sync: "Chapter 9" (9) at frame 74188 time 278479451
[23:16:24] sync: "Chapter 10" (10) at frame 83241 time 312462150
[23:23:46] sync: "Chapter 11" (11) at frame 89030 time 334192608
[23:36:42] sync: "Chapter 12" (12) at frame 98906 time 371264643
[23:47:05] sync: "Chapter 13" (13) at frame 107002 time 401655003
[23:58:49] sync: "Chapter 14" (14) at frame 114800 time 430926746
[00:09:28] sync: "Chapter 15" (15) at frame 122261 time 458933475
[00:24:15] sync: "Chapter 16" (16) at frame 133744 time 502037786
[00:35:16] sync: "Chapter 17" (17) at frame 142154 time 533606823
[00:50:04] sync: "Chapter 18" (18) at frame 153279 time 575367292
[01:05:34] sync: "Chapter 19" (19) at frame 163268 time 612863501
[01:22:48] sync: "Chapter 20" (20) at frame 174422 time 654732828
[01:42:39] reader: done. 1 scr changes
[01:42:44] work: average encoding speed for job is 12.708312 fps
[01:42:44] comb detect: heavy 19833 | light 11383 | uncombed 165430 | total 196646
[01:42:44] decomb: deinterlaced 19833 | blended 11383 | unfiltered 165430 | total 196646
[01:42:44] vfr: 196646 frames output, 0 dropped and 0 duped for CFR/PFR
[01:42:44] vfr: lost time: 0 (0 frames)
[01:42:44] vfr: gained time: 0 (0 frames) (0 not accounted for)
[01:42:46] truehd-decoder done: 9842133 frames, 0 decoder errors
[01:42:46] hevc-decoder done: 196646 frames, 0 decoder errors
[01:42:46] sync: got 196646 frames, 196646 expected
[01:42:46] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:3903  Avg QP:18.90  size: 83978
x264 [info]: frame P:61807 Avg QP:21.72  size: 24043
x264 [info]: frame B:130936 Avg QP:22.03  size:  9527
x264 [info]: consecutive B-frames: 10.2%  1.9%  3.6% 84.3%
x264 [info]: mb I  I16..4: 34.5%  0.0% 65.5%
x264 [info]: mb P  I16..4:  6.3%  0.0%  5.9%  P16..4: 37.3%  9.2%  5.9%  0.0%  0.0%    skip:35.3%
x264 [info]: mb B  I16..4:  0.5%  0.0%  0.6%  B16..8: 43.6%  3.0%  0.4%  direct: 2.0%  skip:49.9%  L0:44.9% L1:53.3% BI: 1.8%
x264 [info]: coded y,uvDC,uvAC intra: 49.5% 41.7% 8.8% inter: 7.4% 11.3% 0.0%
x264 [info]: i16 v,h,dc,p: 35% 19%  7% 39%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 14% 21%  6%  7%  7%  5%  5%  3%
x264 [info]: i8c dc,h,v,p: 66% 13% 18%  2%
x264 [info]: Weighted P-Frames: Y:2.2% UV:1.0%
x264 [info]: ref P L0: 60.5% 14.0% 17.2%  8.2%  0.2%
x264 [info]: ref B L0: 87.2% 10.1%  2.7%
x264 [info]: ref B L1: 94.7%  5.3%
x264 [info]: kb/s:2985.89
[01:42:47] mux: track 0, 196646 frames, 3061067535 bytes, 2985.75 kbps, fifo 4096
[01:42:47] mux: track 1, 384459 frames, 164664539 bytes, 160.61 kbps, fifo 8192
[01:42:47] mux: track 2, 1192 frames, 73786 bytes, 0.07 kbps, fifo 32
[01:42:47] mux: track 3, 4408 frames, 55136623 bytes, 53.78 kbps, fifo 128
[01:42:47] Finished work at: Tue Jan 11 01:42:47 2022
[01:42:47] libhb: work result = 0

# Job Completed!

Image

Image
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Black Subtitles

Post by Woodstock »

[21:24:49] * subtitle track 1, Nederlands [UTF-8] (track 1, id 0x5, Text) -> Passthrough
[21:24:49] + name: tweetyfan
[21:24:49] * subtitle track 2, English [PGS] (track 0, id 0x4, Picture) -> Passthrough
[21:24:49] + name: English (SDH)
The SRT subtitles are being passed through, so the interpretation of them should be handled by the player. What settings are you using for your player? I know when I used to play files with SRTs, I had to select a color (default white) and whether or not to have a border on them.
kana
Posts: 4
Joined: Thu Mar 31, 2022 6:48 am

Re: Black Subtitles

Post by kana »

Hello,
i have the exactly same issue.
On this other post it is the same (maybe we could mix both posts ?)

I know it should be passthrough, but well, it doesn't work.
I use vlc player, nothing particular...

Source is a h265 mkv file, 2160p.
i'd like to convert into 1080p, with a lighter size file.

In the source, subtitles are perfect (well... white), but in the new encoded file they are black, unreadable...
PGS are working, but srt are blacks. it almost do tha with all encoded files with handbrake.

than, to make it works, i use mkvmerge, to remove srt files and then readd srt from original file to the new encoded file, then it works.

pretty sure they are passthrough, but i think there is something in data that doesn't work, as the color should be set to something in srt file maybe, so handbrake remove or put some extra data that make srt files to be read in black ?

it must have something bad somewhere, as the player should just read srt as they are...

Image

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

Re: Black Subtitles

Post by rollin_eng »

SRT subtitles are converted to SSA, maybe the colour is not being converted correctly?
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Black Subtitles

Post by Woodstock »

Post the log from the encode, and we can see if they were passed through.
kana
Posts: 4
Joined: Thu Mar 31, 2022 6:48 am

Re: Black Subtitles

Post by kana »

Hi,
here are the logs of a encode test :

Code: Select all

HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.22000.0
CPU: Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz
Ram: 32553 MB, 
GPU Information:
  Intel(R) UHD Graphics - 27.20.100.9365
  NVIDIA GeForce RTX 3070 Laptop GPU - 30.0.15.1165
Screen: 1920x1080
Temp Dir: C:\Users\Lau\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\Lau\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[17:27:51] base preset: Lau mkv 1080p h265 22
[17:27:51] Remote Process started with Process ID: 16676 using port: 8037. Max Allowed Instances: 1
[17:27:51] Worker: Starting HandBrake Engine ...
[17:27:51] Worker: Starting Web Server on port 8037 ...
[17:27:51] Worker: Disconnected worker monitoring enabled!
[17:27:51] Compile-time hardening features are enabled
[17:27:52] hb_init: starting libhb thread
[17:27:52] Starting work at: Fri Apr 01 17:27:52 2022
[17:27:52] 1 job(s) to process
[17:27:52] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 1536,
        "DRC": 0,
        "Encoder": "eac3",
        "Gain": 0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "Fran\u00E7ais (VFF) 5.1 DTS S24",
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 1536,
        "DRC": 0,
        "Encoder": "eac3",
        "Gain": 0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "English (VO) 7.1 Dolby TrueHD Atmos",
        "Track": 1,
        "DitherMethod": 0
      },
      {
        "DRC": 0,
        "Encoder": "copy:ac3",
        "Gain": 0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "EN Commentaries (VO) Q\u0026A to R. Zemeckis \u0026 B. Gale (Co-Writers)",
        "Track": 2,
        "DitherMethod": 0
      },
      {
        "DRC": 0,
        "Encoder": "copy:ac3",
        "Gain": 0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "EN Commentaries (VO) B. Gale \u0026 N. Canton (Producers)",
        "Track": 3,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:eac3"
    ],
    "FallbackEncoder": "eac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Main Titles"
      },
      {
        "Name": "Late for School"
      },
      {
        "Name": "The Slacker"
      },
      {
        "Name": "The McFly Family"
      },
      {
        "Name": "A Time Machine?"
      },
      {
        "Name": "Escape to the Past"
      },
      {
        "Name": "1955"
      },
      {
        "Name": "Dad the Dork"
      },
      {
        "Name": "Calvin and Lorraine"
      },
      {
        "Name": "Future Boy and Doc"
      },
      {
        "Name": "Marty\u0027s Problem"
      },
      {
        "Name": "The Matchmaker"
      },
      {
        "Name": "Skateboard Hero"
      },
      {
        "Name": "The Big Date"
      },
      {
        "Name": "The Real George"
      },
      {
        "Name": "Johnny B. Goode"
      },
      {
        "Name": "Back to the Future"
      },
      {
        "Name": "Doc\u0027s Decision"
      },
      {
        "Name": "Future Shock"
      },
      {
        "Name": "Roads? (Credits)"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "Z:\\Films\\Movies\\Retour vers le futur\\Retour vers le Futur I 1080p eac3.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 13,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 180,
    "Den": 173
  },
  "Metadata": {
    "Name": "Back to the Future (1985) Bluray 2160p HDR10 Dolby Vision p8 x265 MULTI VFF 5.1 DTS VO 7.1 TrueHD Atmos-telemO"
  },
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 14,
      "End": 14
    },
    "Title": 1,
    "Path": "Z:\\Films\\Retour vers le Futur I (1985) [2160p HDR10\u002B DV8 x265 MULTI VFF 5.1 DTS VO 7.1 ATMOS].mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 3,
        "Offset": 0,
        "Track": 2,
        "Name": "SRT English HI Full -FraMeSToR"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 6,
        "Offset": 0,
        "Track": 5,
        "Name": "PGS English HI Full"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 10,
        "Offset": 0,
        "Track": 9,
        "Name": "PGS Commentaries EN : Q\u0026A to R. Zemeckis \u0026 B. Gale (Co-Writers)"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 12,
        "Offset": 0,
        "Track": 11,
        "Name": "PGS Commentaries EN : B. Gale \u0026 N. Canton (Producers)"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0,
        "Name": "SRT Fran\u00E7ais Forc\u00E9"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 2,
        "Offset": 0,
        "Track": 1,
        "Name": "SRT Fran\u00E7ais Complet -WiKi"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 4,
        "Offset": 0,
        "Track": 3,
        "Name": "PGS Fran\u00E7ais Forc\u00E9"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 5,
        "Offset": 0,
        "Track": 4,
        "Name": "PGS Fran\u00E7ais Complet"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 7,
        "Offset": 0,
        "Track": 6,
        "Name": "PGS FR Vignettes \u0022Saviez-vous?\u0022"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 8,
        "Offset": 0,
        "Track": 7,
        "Name": "PGS FR Vignettes \u0022Liens et Th\u00E8mes de la Trilogie\u0022"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 9,
        "Offset": 0,
        "Track": 8,
        "Name": "PGS Commentaires FR : Q\u0026R \u00E0 R. Zemeckis \u0026 B. Gale (Co-Sc\u00E9naristes)"
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 11,
        "Offset": 0,
        "Track": 10,
        "Name": "PGS Commentaires FR : B. Gale \u0026 N. Canton (Producteurs)"
      }
    ]
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0:aq-mode=1",
    "Preset": "slow",
    "Profile": "main",
    "Quality": 22,
    "QSV": {
      "Decode": false
    }
  }
}
[17:27:52] CPU: Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz
[17:27:52]  - Intel microarchitecture Comet Lake
[17:27:52]  - logical processor count: 16
[17:27:52] Intel Quick Sync Video support: yes, gpu list: 0
[17:27:52] Intel Quick Sync Video integrated adapter with index 0
[17:27:52]  - Intel Media SDK hardware: API 1.34 (minimum: 1.3)
[17:27:52]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[17:27:52]  - H.264 encoder: yes
[17:27:52]     - preferred implementation: hardware (1) via D3D11
[17:27:52]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[17:27:52]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[17:27:52]     - preferred implementation: hardware (1) via D3D11
[17:27:52]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[17:27:52] hb_scan: path=Z:\Films\Retour vers le Futur I (1985) [2160p HDR10+ DV8 x265 MULTI VFF 5.1 DTS VO 7.1 ATMOS].mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image Z:\Films\Retour vers le Futur I (1985) [2160p HDR10+ DV8 x265 MULTI VFF 5.1 DTS VO 7.1 ATMOS].mkv
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(Z:\Films\Retour vers le Futur I (1985) [2160p HDR10+ DV8 x265 MULTI VFF 5.1 DTS VO 7.1 ATMOS].mkv\) failed
[17:27:52] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[17:27:52] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'Z:\Films\Retour vers le Futur I (1985) [2160p HDR10+ DV8 x265 MULTI VFF 5.1 DTS VO 7.1 ATMOS].mkv':
  Metadata:
    title           : Back to the Future (1985) Bluray 2160p HDR10 Dolby Vision p8 x265 MULTI VFF 5.1 DTS VO 7.1 TrueHD Atmos-telemO
    encoder         : libebml v1.4.2 + libmatroska v1.6.4
    creation_time   : 2021-10-04T00:34:01.000000Z
  Duration: 01:56:02.34, start: 0.000000, bitrate: 13013 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 253.544000
      Metadata:
        title           : Main Titles
    Chapter #0:1: start 253.544000, end 407.281000
      Metadata:
        title           : Late for School
    Chapter #0:2: start 407.281000, end 705.246000
      Metadata:
        title           : The Slacker
    Chapter #0:3: start 705.246000, end 1084.166000
      Metadata:
        title           : The McFly Family
    Chapter #0:4: start 1084.166000, end 1692.273000
      Metadata:
        title           : A Time Machine?
    Chapter #0:5: start 1692.273000, end 1890.680000
      Metadata:
        title           : Escape to the Past
    Chapter #0:6: start 1890.680000, end 2320.693000
      Metadata:
        title           : 1955
    Chapter #0:7: start 2320.693000, end 2482.313000
      Metadata:
        title           : Dad the Dork
    Chapter #0:8: start 2482.313000, end 2873.370000
      Metadata:
        title           : Calvin and Lorraine
    Chapter #0:9: start 2873.370000, end 3353.141000
      Metadata:
        title           : Future Boy and Doc
    Chapter #0:10: start 3353.141000, end 3529.859000
      Metadata:
        title           : Marty's Problem
    Chapter #0:11: start 3529.859000, end 3916.787000
      Metadata:
        title           : The Matchmaker
    Chapter #0:12: start 3916.787000, end 4600.304000
      Metadata:
        title           : Skateboard Hero
    Chapter #0:13: start 4600.304000, end 4814.643000
      Metadata:
        title           : The Big Date
    Chapter #0:14: start 4814.643000, end 5243.321000
      Metadata:
        title           : The Real George
    Chapter #0:15: start 5243.321000, end 5472.049000
      Metadata:
        title           : Johnny B. Goode
    Chapter #0:16: start 5472.049000, end 6100.552000
      Metadata:
        title           : Back to the Future
    Chapter #0:17: start 6100.552000, end 6401.436000
      Metadata:
        title           : Doc's Decision
    Chapter #0:18: start 6401.436000, end 6684.511000
      Metadata:
        title           : Future Shock
    Chapter #0:19: start 6684.511000, end 6962.336000
      Metadata:
        title           : Roads? (Credits)
  Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2076, SAR 1:1 DAR 320:173, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
    Metadata:
      title           : Transcoded by telemO (ISO Blu-ray EXTREME)
      BPS             : 7375352
      DURATION        : 01:56:02.289000000
      NUMBER_OF_FRAMES: 166928
      NUMBER_OF_BYTES : 6418667271
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(fre): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s (default)
    Metadata:
      title           : FranÇõais (VFF) 5.1 DTS S24
      BPS             : 767999
      DURATION        : 01:56:02.294000000
      NUMBER_OF_FRAMES: 652715
      NUMBER_OF_BYTES : 668380160
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default) (original)
    Metadata:
      title           : English (VO) 7.1 Dolby TrueHD Atmos
      BPS             : 4213261
      DURATION        : 01:56:02.289000000
      NUMBER_OF_FRAMES: 8354747
      NUMBER_OF_BYTES : 3666743090
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(fre): Subtitle: subrip (default) (forced)
    Metadata:
      title           : SRT FranÇõais ForcǸ
      BPS             : 1
      DURATION        : 01:49:43.660000000
      NUMBER_OF_FRAMES: 47
      NUMBER_OF_BYTES : 1521
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(fre): Subtitle: subrip (default)
    Metadata:
      title           : SRT FranÇõais Complet -WiKi
      BPS             : 60
      DURATION        : 01:50:21.739000000
      NUMBER_OF_FRAMES: 1293
      NUMBER_OF_BYTES : 50288
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(eng): Subtitle: subrip (default) (original) (hearing impaired)
    Metadata:
      title           : SRT English HI Full -FraMeSToR
      BPS             : 65
      DURATION        : 01:51:18.922000000
      NUMBER_OF_FRAMES: 1776
      NUMBER_OF_BYTES : 54660
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(fre): Subtitle: hdmv_pgs_subtitle (default) (forced)
    Metadata:
      title           : PGS FranÇõais ForcǸ
      BPS             : 1376
      DURATION        : 01:49:43.660000000
      NUMBER_OF_FRAMES: 95
      NUMBER_OF_BYTES : 1132752
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : PGS FranÇõais Complet
      BPS             : 36741
      DURATION        : 01:50:21.740000000
      NUMBER_OF_FRAMES: 2604
      NUMBER_OF_BYTES : 30411194
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8(eng): Subtitle: hdmv_pgs_subtitle (original) (hearing impaired)
    Metadata:
      title           : PGS English HI Full
      BPS             : 44095
      DURATION        : 01:51:18.922000000
      NUMBER_OF_FRAMES: 3555
      NUMBER_OF_BYTES : 36813745
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:9(fre): Subtitle: hdmv_pgs_subtitle (comment)
    Metadata:
      title           : PGS FR Vignettes "Saviez-vous?"
      BPS             : 98858
      DURATION        : 01:55:16.952000000
      NUMBER_OF_FRAMES: 554
      NUMBER_OF_BYTES : 85475254
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:10(fre): Subtitle: hdmv_pgs_subtitle, 1920x1080 (comment)
    Metadata:
      title           : PGS FR Vignettes "Liens et ThÇùmes de la Trilogie"
      BPS             : 60526
      DURATION        : 01:49:59.635000000
      NUMBER_OF_FRAMES: 424
      NUMBER_OF_BYTES : 49931208
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:11(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (original) (comment)
    Metadata:
      title           : EN Commentaries (VO) Q&A to R. Zemeckis & B. Gale (Co-Writers)
      BPS             : 192000
      DURATION        : 01:56:02.336000000
      NUMBER_OF_FRAMES: 217573
      NUMBER_OF_BYTES : 167096064
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:12(fre): Subtitle: hdmv_pgs_subtitle, 1920x1080 (comment)
    Metadata:
      title           : PGS Commentaires FR : Q&R Çÿ R. Zemeckis & B. Gale (Co-ScǸnaristes)
      BPS             : 80538
      DURATION        : 01:51:34.855000000
      NUMBER_OF_FRAMES: 3963
      NUMBER_OF_BYTES : 67399000
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:13(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 (original) (comment)
    Metadata:
      title           : PGS Commentaries EN : Q&A to R. Zemeckis & B. Gale (Co-Writers)
      BPS             : 94632
      DURATION        : 01:51:34.855000000
      NUMBER_OF_FRAMES: 3931
      NUMBER_OF_BYTES : 79194171
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:14(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (original) (comment)
    Metadata:
      title           : EN Commentaries (VO) B. Gale & N. Canton (Producers)
      BPS             : 192000
      DURATION        : 01:56:02.336000000
      NUMBER_OF_FRAMES: 217573
      NUMBER_OF_BYTES : 167096064
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:15(fre): Subtitle: hdmv_pgs_subtitle, 1920x1080 (comment)
    Metadata:
      title           : PGS Commentaires FR : B. Gale & N. Canton (Producteurs)
      BPS             : 72346
      DURATION        : 01:51:59.421000000
      NUMBER_OF_FRAMES: 3766
      NUMBER_OF_BYTES : 60766236
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:16(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 (original) (comment)
    Metadata:
      title           : PGS Commentaries EN : B. Gale & N. Canton (Producers)
      BPS             : 83337
      DURATION        : 01:51:59.421000000
      NUMBER_OF_FRAMES: 3749
      NUMBER_OF_BYTES : 69997373
      _STATISTICS_WRITING_APP: mkvmerge v60.0.0 ('Are We Copies?') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2021-10-04 00:34:01
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:17: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 500x632 [SAR 96:96 DAR 125:158], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      filename        : cover RvlF1 UHDR10pDV
      mimetype        : image/jpeg
  Stream #0:18: Video: png, rgb24(pc), 600x800 [SAR 3779:3779 DAR 3:4], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      filename        : poster BttF1 Triptyque
      mimetype        : image/png
  Stream #0:19: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 800x1143 [SAR 1:1 DAR 800:1143], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      filename        : poster BttF1 Rear
      mimetype        : image/jpeg
  Stream #0:20: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 328x688 [SAR 96:96 DAR 41:86], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      filename        : poster BTTF1 GalleryArt
      mimetype        : image/jpeg
[17:27:52] scan: decoding previews for title 1
[17:27:52] scan: audio 0x1: dca, rate=48000Hz, bitrate=768000 Francais (DTS) (5.1 ch) (768 kbps)
[17:27:52] scan: audio 0x2: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[17:27:52] scan: audio 0xb: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[17:27:52] scan: audio 0xe: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround) (192 kbps)
[17:27:56] scan: 10 previews, 3840x2076, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: left
[17:27:56] scan: mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
[17:27:56] scan: content light level: max_cll=1000, max_fall=755
[17:27:56] scan: supported video decoders: avcodec qsv
[17:27:56] libhb: scan thread found 1 valid title(s)
[17:27:56] Starting Task: Encoding Pass
[17:27:56] work: track 1, dithering not supported by codec
[17:27:56] work: track 2, dithering not supported by codec
[17:27:56] work: only 1 chapter, disabling chapter markers
[17:27:56] job configuration:
[17:27:56]  * source
[17:27:56]    + Z:\Films\Retour vers le Futur I (1985) [2160p HDR10+ DV8 x265 MULTI VFF 5.1 DTS VO 7.1 ATMOS].mkv
[17:27:56]    + title 1, chapter(s) 14 to 14
[17:27:56]    + container: matroska,webm
[17:27:56]    + data rate: 13013 kbps
[17:27:56]  * destination
[17:27:56]    + Z:\Films\Movies\Retour vers le futur\Retour vers le Futur I 1080p eac3.mkv
[17:27:56]    + container: Matroska (libavformat)
[17:27:56]  * video track
[17:27:56]    + decoder: hevc 10-bit (yuv420p10le)
[17:27:56]    + filters
[17:27:56]      + Framerate Shaper (mode=1)
[17:27:56]        + frame rate: 23.976 fps -> constant 23.976 fps
[17:27:56]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[17:27:56]        + source: 3840 * 2076, crop (0/0/0/0): 3840 * 2076, scale: 1920 * 1080
[17:27:56]      + Format (format=yuv420p)
[17:27:56]    + Output geometry
[17:27:56]      + storage dimensions: 1920 x 1080
[17:27:56]      + pixel aspect ratio: 180 : 173
[17:27:56]      + display dimensions: 1997 x 1080
[17:27:56]    + encoder: H.265 (libx265)
[17:27:56]      + preset:  slow
[17:27:56]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[17:27:56]      + profile: main
[17:27:56]      + level:   auto
[17:27:56]      + quality: 22.00 (RF)
[17:27:56]      + color profile: 9-16-9
[17:27:56]      + chroma location: left
[17:27:56]      + mastering display metadata: r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
[17:27:56]      + content light level: max_cll=1000, max_fall=755
[17:27:56]  * subtitle track 1, English [UTF-8] (track 2, id 0x5, Text) -> Passthrough
[17:27:56]    + name: SRT English HI Full -FraMeSToR
[17:27:56]  * subtitle track 2, English [PGS] (track 5, id 0x8, Picture) -> Passthrough
[17:27:56]    + name: PGS English HI Full
[17:27:56]  * subtitle track 3, English [PGS] (track 9, id 0xd, Picture) -> Passthrough
[17:27:56]    + name: PGS Commentaries EN : Q&A to R. Zemeckis & B. Gale (Co-Writers)
[17:27:56]  * subtitle track 4, English [PGS] (track 11, id 0x10, Picture) -> Passthrough
[17:27:56]    + name: PGS Commentaries EN : B. Gale & N. Canton (Producers)
[17:27:56]  * subtitle track 5, Francais [UTF-8] (track 0, id 0x3, Text) -> Passthrough
[17:27:56]    + name: SRT FranÎais Forc'
[17:27:56]  * subtitle track 6, Francais [UTF-8] (track 1, id 0x4, Text) -> Passthrough
[17:27:56]    + name: SRT FranÎais Complet -WiKi
[17:27:56]  * subtitle track 7, Francais [PGS] (track 3, id 0x6, Picture) -> Passthrough
[17:27:56]    + name: PGS FranÎais Forc'
[17:27:56]  * subtitle track 8, Francais [PGS] (track 4, id 0x7, Picture) -> Passthrough
[17:27:56]    + name: PGS FranÎais Complet
[17:27:56]  * subtitle track 9, Francais [PGS] (track 6, id 0x9, Picture) -> Passthrough
[17:27:56]    + name: PGS FR Vignettes "Saviez-vous?"
[17:27:56]  * subtitle track 10, Francais [PGS] (track 7, id 0xa, Picture) -> Passthrough
[17:27:56]    + name: PGS FR Vignettes "Liens et ThSmes de la Trilogie"
[17:27:56]  * subtitle track 11, Francais [PGS] (track 8, id 0xc, Picture) -> Passthrough
[17:27:56]    + name: PGS Commentaires FR : Q&R . R. Zemeckis & B. Gale (Co-Sc'naristes)
[17:27:56]  * subtitle track 12, Francais [PGS] (track 10, id 0xf, Picture) -> Passthrough
[17:27:56]    + name: PGS Commentaires FR : B. Gale & N. Canton (Producteurs)
[17:27:56]  * audio track 1
[17:27:56]    + name: FranÎais (VFF) 5.1 DTS S24
[17:27:56]    + decoder: Francais (DTS) (5.1 ch) (768 kbps) (track 1, id 0x1)
[17:27:56]      + bitrate: 768 kbps, samplerate: 48000 Hz
[17:27:56]    + mixdown: 5.1 Channels
[17:27:56]    + encoder: E-AC3 (libavcodec)
[17:27:56]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:27:56]  * audio track 2
[17:27:56]    + name: English (VO) 7.1 Dolby TrueHD Atmos
[17:27:56]    + decoder: English (TrueHD) (7.1 ch) (track 2, id 0x2)
[17:27:56]      + samplerate: 48000 Hz
[17:27:56]    + mixdown: 5.1 Channels
[17:27:56]    + encoder: E-AC3 (libavcodec)
[17:27:56]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[17:27:56]  * audio track 3
[17:27:56]    + name: EN Commentaries (VO) Q&A to R. Zemeckis & B. Gale (Co-Writers)
[17:27:56]    + decoder: English (AC3) (2.0 ch) (192 kbps) (track 3, id 0xb)
[17:27:56]      + bitrate: 192 kbps, samplerate: 48000 Hz
[17:27:56]    + AC3 Passthru
[17:27:56]  * audio track 4
[17:27:56]    + name: EN Commentaries (VO) B. Gale & N. Canton (Producers)
[17:27:56]    + decoder: English (AC3) (2.0 ch) (Dolby Surround) (192 kbps) (track 4, id 0xe)
[17:27:56]      + bitrate: 192 kbps, samplerate: 48000 Hz
[17:27:56]    + AC3 Passthru
[17:27:56] sync: expecting 5138 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Turning on repeat-headers for HDR compatibility
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: rskip mode=1 signhide tmvp lslices=4 deblock sao
[17:27:56] sync: first pts audio 0x2 is 0
[17:27:56] sync: first pts audio 0x1 is 180
[17:27:56] sync: first pts subtitle 0x8 is 48690
[17:27:56] sync: first pts subtitle 0x5 is 48870
[17:27:56] sync: first pts subtitle 0xd is 52470
[17:27:56] sync: first pts subtitle 0x10 is 52470
[17:27:56] sync: first pts subtitle 0x3 is 52470
[17:27:56] sync: first pts subtitle 0x4 is 52470
[17:27:56] sync: first pts subtitle 0x6 is 52470
[17:27:56] sync: first pts subtitle 0x7 is 52470
[17:27:56] sync: first pts subtitle 0xc is 52470
[17:27:56] sync: first pts subtitle 0xf is 52470
[17:27:56] sync: first pts audio 0xb is 2070
[17:27:56] sync: first pts audio 0xe is 2070
[17:27:56] sync: first pts video is 3663
[17:27:57] sync: "The Big Date" (14) at frame 15 time 52461
[17:28:00] sync: first pts subtitle 0x9 is 529200
[17:31:20] sync: first pts subtitle 0xa is 6114780
[17:38:07] reader: end of chapter 14 (media 14) reached at media chapter 15
[17:38:07] reader: done. 1 scr changes
[17:38:10] sync: "The Real George" (15) at frame 5154 time 19342983
[17:38:18] work: average encoding speed for job is 8.334747 fps
[17:38:19] vfr: 5153 frames output, 0 dropped and 0 duped for CFR/PFR
[17:38:19] vfr: lost time: 0 (0 frames)
[17:38:19] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:38:19] dca-decoder done: 20149 frames, 0 decoder errors
[17:38:19] truehd-decoder done: 257860 frames, 0 decoder errors
[17:38:19] ac3-decoder done: 6715 frames, 0 decoder errors
[17:38:19] ac3-decoder done: 6715 frames, 0 decoder errors
[17:38:19] hevc-decoder done: 5154 frames, 0 decoder errors
[17:38:19] sync: got 5154 frames, 5138 expected
[17:38:19] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.981 fps
x265 [info]: frame I:     35, Avg QP:20.43  kb/s: 12586.72
x265 [info]: frame P:   1244, Avg QP:21.70  kb/s: 7034.30
x265 [info]: frame B:   3874, Avg QP:25.83  kb/s: 1643.44
x265 [info]: Weighted P-Frames: Y:0.7% UV:0.3%
x265 [info]: consecutive B-frames: 2.4% 2.7% 6.7% 66.0% 22.2%
encoded 5153 frames in 622.66s (8.28 fps), 3019.19 kb/s, Avg QP:24.79
[17:38:19] mux: track 0, 5153 frames, 81210953 bytes, 3022.30 kbps, fifo 512
[17:38:19] mux: track 1, 13432 frames, 41263104 bytes, 1535.62 kbps, fifo 2048
[17:38:19] mux: track 2, 13430 frames, 41256960 bytes, 1535.39 kbps, fifo 2048
[17:38:19] mux: track 3, 6715 frames, 5157120 bytes, 191.92 kbps, fifo 1024
[17:38:19] mux: track 4, 6715 frames, 5157120 bytes, 191.92 kbps, fifo 1024
[17:38:19] mux: track 5, 47 frames, 2341 bytes, 0.09 kbps, fifo 16
[17:38:19] mux: track 6, 95 frames, 934756 bytes, 34.79 kbps, fifo 32
[17:38:19] mux: track 7, 137 frames, 2792313 bytes, 103.92 kbps, fifo 16
[17:38:19] mux: track 8, 119 frames, 1881879 bytes, 70.03 kbps, fifo 32
[17:38:19] mux: track 9, 2 frames, 104 bytes, 0.00 kbps, fifo 8
[17:38:19] mux: track 10, 35 frames, 1943 bytes, 0.07 kbps, fifo 8
[17:38:19] mux: track 11, 4 frames, 44134 bytes, 1.64 kbps, fifo 8
[17:38:19] mux: track 12, 72 frames, 751873 bytes, 27.98 kbps, fifo 16
[17:38:19] mux: track 13, 20 frames, 3248370 bytes, 120.89 kbps, fifo 8
[17:38:19] mux: track 14, 3 frames, 345298 bytes, 12.85 kbps, fifo 8
[17:38:19] mux: track 15, 139 frames, 2346168 bytes, 87.31 kbps, fifo 16
[17:38:19] mux: track 16, 119 frames, 1639779 bytes, 61.03 kbps, fifo 32
[17:38:19] Finished work at: Fri Apr 01 17:38:19 2022
[17:38:19] libhb: work result = 0

 # Job Completed!

Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Black Subtitles

Post by Woodstock »

It appears all the subtitle tracks are being passed through (not converted), since the output format is MKV.

One experiment to try - tell handbrake to burn in one of the SRT subtitle tracks. You do not have to encode the whole file; just enough to reach one or more of the subtitles in the SRT file. Does handbrake render it in black, or is it "normal"?
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Black Subtitles

Post by rollin_eng »

Woodstock wrote: Fri Apr 01, 2022 8:33 pm It appears all the subtitle tracks are being passed through (not converted), since the output format is MKV.

One experiment to try - tell handbrake to burn in one of the SRT subtitle tracks. You do not have to encode the whole file; just enough to reach one or more of the subtitles in the SRT file. Does handbrake render it in black, or is it "normal"?
https://handbrake.fr/docs/en/latest/adv ... itles.html
kana
Posts: 4
Joined: Thu Mar 31, 2022 6:48 am

Re: Black Subtitles

Post by kana »

So i tried to burn subtitles. It's ok it's working great, but of course it is not what i want.

If i understand well, srt subs are converted into ssa subs.
But ssa subs in the new files are black...

is there any solution without repack with mkvmerge ?
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Black Subtitles

Post by Woodstock »

As I understand the process (past messages posted here on the board), the conversion of SRT to SSA occurs before the renderer in handbrake. So what gets written out when "passing through" is the same as handbrake renders when burning in.

Someone with a much deeper understanding of the formats than me (I'm a user, not a developer on this topic) should be able to figure this out by seeing the original SRT and the SSA converted by handbrake. That part is an upstream library that handbrake uses.

Another thing just popped in to my memory... that upstream library had some updates a while back that affected subtitle timing. I wonder if there is an "edge case" in the conversion that was introduced at the same time? I believe handbrake 1.3.x used the old version of the library. It might be worthwhile to do a short encode using the old version to see if the issue is there, too.
Deleted User 11865

Re: Black Subtitles

Post by Deleted User 11865 »

IIC, VLC doesn't use the same code path to render SSA and SRT subtitles. The SSA path must be broken on his machine for some reason.
kana
Posts: 4
Joined: Thu Mar 31, 2022 6:48 am

Re: Black Subtitles

Post by kana »

Rodeo wrote: Sat Apr 02, 2022 4:15 pm IIC, VLC doesn't use the same code path to render SSA and SRT subtitles. The SSA path must be broken on his machine for some reason.

I don't understand what it means.
srt and ssa files are written inside the mkv file.

the issue occure when encoding a mkv, for exemple a 2060p, to a 1080p. no importance which codec or size or audio encoding settings.

so in the mkv source files, there are some srt files (and pgs but no issue with pgs).
After encoding the file to another format, handbrake convert to ssa files (if i understand the process well), but they are written inside the mkv file, there is no external path to look at.

i have the issue on several computer, and on almost all encoding, except really few, i have no exemple as all my last try have the issue of black subtitle.

i can't explain more, hope my english is good enough

so i have the issue on several computer by encoding with handbrake, and if i read the file on vlc on any computer or on plex, i have the issue everywhere
Post Reply