No subtitles with Marvel's Shang-Chi

HandBrake for Mac 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
pbarker1701
Novice
Posts: 74
Joined: Sun May 17, 2020 7:59 am

No subtitles with Marvel's Shang-Chi

Post by pbarker1701 »

Description of problem or question:
After successfully transcoding Marvel's Shang-Chi movie, no subtitles appear on screen.



Steps to reproduce the problem (If Applicable):
Using an mkv file created with MakeMKV (all other language subtitles besides English were turned off), I used HandBrake to transcode the movie to an m4v file. I used the standard Apple 2160p60 preset, modified only for video quality and speed.
I tried Forced Audio Search (default), both on and off, as well as adding English, (both Forced and as a burned file) as a secondary subtitle and eliminating Forced Audio Search, using English only.
The closest I can come is essentially closed captioning with English as a Forced file, which isn't how it should be.

I've used subtitles setting with Forced Audio Search only on hundreds of successful transcodes.



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



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



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

Code: Select all

HandBrake Activity Log for Session: 2021-12-02T08:35:58Z
Handbrake Version: 1.4.2 (2021100300)
MARVEL STUDIOS' SHANG-CHI - ULTRA HD_t02.m4v
Preset: New 4K UHD (check audio)
[02:35:58] macgui: fr.handbrake.HandBrakeXPCService work canceled
[02:35:58] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 3
[02:35:58] CPU: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
[02:35:58]  - Intel microarchitecture Kaby Lake
[02:35:58]  - logical processor count: 4
[02:35:58] hb_scan: path=/Volumes/Ripped Files/MARVEL STUDIOS' SHANG-CHI - ULTRA HD_t01.mkv, title_index=3
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Volumes/Ripped Files/MARVEL STUDIOS' SHANG-CHI - ULTRA HD_t01.mkv
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Volumes/Ripped Files/MARVEL STUDIOS' SHANG-CHI - ULTRA HD_t01.mkv/) failed
[02:35:58] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[02:35:58] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Volumes/Ripped Files/MARVEL STUDIOS' SHANG-CHI - ULTRA HD_t01.mkv':
  Metadata:
    title           : MARVEL STUDIOS' SHANG-CHI - ULTRA HD
    encoder         : libmakemkv v1.16.5 (1.3.10/1.5.2) darwin(x64-release)
    creation_time   : 2021-12-02T00:17:59.000000Z
  Duration: 02:12:20.68, start: 0.000000, bitrate: 51490 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 232.857625
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 232.857625, end 568.985083
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 568.985083, end 977.184542
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 977.184542, end 1367.491125
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 1367.491125, end 1919.667750
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 1919.667750, end 2569.275042
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 2569.275042, end 3140.971167
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 3140.971167, end 3411.324583
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 3411.324583, end 3635.006375
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 3635.006375, end 4125.830042
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 4125.830042, end 4555.050500
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 4555.050500, end 4791.286500
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 4791.286500, end 5389.675958
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 5389.675958, end 5805.466333
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 5805.466333, end 6420.622542
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 6420.622542, end 6925.293375
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 6925.293375, end 7206.908042
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 7206.908042, end 7306.132167
      Metadata:
        title           : Chapter 18
    Chapter #0:18: start 7306.132167, end 7448.482708
      Metadata:
        title           : Chapter 19
    Chapter #0:19: start 7448.482708, end 7839.248083
      Metadata:
        title           : Chapter 20
    Chapter #0:20: start 7839.248083, end 7940.682750
      Metadata:
        title           : Chapter 21
  Stream #0:0(eng): 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
    Metadata:
      BPS-eng         : 46263960
      DURATION-eng    : 02:12:20.682750000
      NUMBER_OF_FRAMES-eng: 190386
      NUMBER_OF_BYTES-eng: 45920925165
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-02 00:17:59
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 4214027
      DURATION-eng    : 02:12:20.682500000
      NUMBER_OF_FRAMES-eng: 9528819
      NUMBER_OF_BYTES-eng: 4182781092
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-02 00:17:59
      _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    : 02:12:20.704000000
      NUMBER_OF_FRAMES-eng: 248147
      NUMBER_OF_BYTES-eng: 635256320
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-02 00:17:59
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 320 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 320000
      DURATION-eng    : 02:12:20.672000000
      NUMBER_OF_FRAMES-eng: 248146
      NUMBER_OF_BYTES-eng: 317626880
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-02 00:17:59
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 35745
      DURATION-eng    : 02:11:00.957270833
      NUMBER_OF_FRAMES-eng: 3706
      NUMBER_OF_BYTES-eng: 35124045
      SOURCE_ID-eng   : 0012A0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-02 00:17:59
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 3776
      DURATION-eng    : 01:55:55.719604166
      NUMBER_OF_FRAMES-eng: 376
      NUMBER_OF_BYTES-eng: 3283439
      SOURCE_ID-eng   : 0012A3
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.5 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-12-02 00:17:59
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[02:35:59] scan: decoding previews for title 3
[02:35:59] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[02:35:59] scan: audio 0x2: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[02:35:59] scan: audio 0x3: ac3, rate=48000Hz, bitrate=320000 English (AC3) (2.0 ch) (320 kbps)
[02:36:03] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 276/276/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9
[02:36:03] 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.000100, max_luminance=1000.000000
[02:36:03] libhb: scan thread found 1 valid title(s)
[02:36:03] macgui: fr.handbrake.HandBrakeXPCService scan done
[02:36:04] macgui: fr.handbrake.HandBrakeXPCService started encoding MARVEL STUDIOS' SHANG-CHI - ULTRA HD_t02.m4v
[02:36:04] macgui: fr.handbrake.HandBrakeXPCService with preset New 4K UHD (check audio)
[02:36:04] Starting work at: Thu Dec  2 02:36:04 2021

[02:36:04] 1 job(s) to process
[02:36:04] Starting Task: Encoding Pass
[02:36:04] Skipping vfr filter
[02:36:04] job configuration:
[02:36:04]  * source
[02:36:04]    + /Volumes/Ripped Files/MARVEL STUDIOS' SHANG-CHI - ULTRA HD_t01.mkv
[02:36:04]    + title 3, chapter(s) 1 to 21
[02:36:04]    + container: matroska,webm
[02:36:04]    + data rate: 51490 kbps
[02:36:04]  * destination
[02:36:04]    + /Volumes/ tv media/Music/Movies/MARVEL STUDIOS' SHANG-CHI - ULTRA HD_t02.m4v
[02:36:04]    + container: MPEG-4 (libavformat)
[02:36:04]      + chapter markers
[02:36:04]  * video track
[02:36:04]    + decoder: hevc 8-bit (yuv420p)
[02:36:04]    + filters
[02:36:04]      + 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)
[02:36:04]      + Decomb (mode=39)
[02:36:04]      + Crop and Scale (width=3840:height=1608:crop-top=276:crop-bottom=276:crop-left=0:crop-right=0)
[02:36:04]        + source: 3840 * 2160, crop (276/276/0/0): 3840 * 1608, scale: 3840 * 1608
[02:36:04]    + Output geometry
[02:36:04]      + storage dimensions: 3840 x 1608
[02:36:04]      + pixel aspect ratio: 1 : 1
[02:36:04]      + display dimensions: 3840 x 1608
[02:36:04]    + encoder: H.265 10-bit (libx265)
[02:36:04]      + preset:  ultrafast
[02:36:04]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[02:36:04]      + profile: main10
[02:36:04]      + level:   auto
[02:36:04]      + quality: 18.00 (RF)
[02:36:04]      + color profile: 9-16-9
[02:36:04]      + 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.000100, max_luminance=1000.000000
[02:36:04]  * subtitle track 1, English [SRT] (track 0, id 0xff000000, Text) -> Passthrough, Default, offset: 0, charset: UTF-8
[02:36:04]  * audio track 1
[02:36:04]    + name: Surround 7.1
[02:36:04]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[02:36:04]      + samplerate: 48000 Hz
[02:36:04]    + mixdown: 7.1 Channels
[02:36:04]    + encoder: AAC (Apple AudioToolbox)
[02:36:04]      + bitrate: 224 kbps, samplerate: 48000 Hz
[02:36:04]  * audio track 2
[02:36:04]    + name: Surround 7.1
[02:36:04]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[02:36:04]      + samplerate: 48000 Hz
[02:36:04]    + mixdown: 5.1 Channels
[02:36:04]    + encoder: AAC (Apple AudioToolbox)
[02:36:04]      + bitrate: 160 kbps, samplerate: 48000 Hz
[02:36:04]  * audio track 3
[02:36:04]    + name: Surround 7.1
[02:36:04]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[02:36:04]      + samplerate: 48000 Hz
[02:36:04]    + mixdown: 5.1 Channels
[02:36:04]    + encoder: AAC (Apple AudioToolbox)
[02:36:04]      + bitrate: 160 kbps, samplerate: 48000 Hz
[02:36:04]  * audio track 4
[02:36:04]    + name: Surround 7.1
[02:36:04]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[02:36:04]      + samplerate: 48000 Hz
[02:36:04]    + mixdown: Stereo
[02:36:04]    + encoder: AAC (Apple AudioToolbox)
[02:36:04]      + bitrate: 160 kbps, samplerate: 48000 Hz
[02:36:04] sync: expecting 190385 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Mac OS X][clang 13.0.0][64 bit] 10bit
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 10 profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(51 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 0 / 2
x265 [info]: Lookahead / bframes / badapt        : 5 / 3 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 0 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-18.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 tmvp fast-intra
x265 [info]: tools: lslices=8 deblock
[02:36:04] sync: first pts audio 0x1 is 0
[02:36:04] sync: first pts audio 0x1 is 0
[02:36:04] sync: first pts audio 0x1 is 0
[02:36:04] sync: first pts audio 0x1 is 0
[02:36:04] sync: first pts video is 0
[02:36:04] sync: "Chapter 1" (1) at frame 1 time 0
[02:38:07] sync: first pts subtitle 0xff000000 is 4016430
[02:41:53] macgui: fr.handbrake.HandBrakeXPCService encode canceled
[02:41:53] work: average encoding speed for job is 9.320466 fps
[02:41:53] comb detect: heavy 68 | light 144 | uncombed 3042 | total 3254
[02:41:53] decomb: deinterlaced 68 | blended 144 | unfiltered 3038 | total 3250
[02:41:53] truehd-decoder done: 164063 frames, 0 decoder errors
[02:41:53] truehd-decoder done: 164063 frames, 0 decoder errors
[02:41:53] truehd-decoder done: 164063 frames, 0 decoder errors
[02:41:53] truehd-decoder done: 164063 frames, 0 decoder errors
[02:41:53] hevc-decoder done: 3275 frames, 0 decoder errors
[02:41:53] sync: got 3255 frames, 190385 expected
[02:41:53] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:     14, Avg QP:21.53  kb/s: 12564.75
x265 [info]: frame P:    809, Avg QP:22.66  kb/s: 7153.60 
x265 [info]: frame B:   2412, Avg QP:25.33  kb/s: 3387.78 
x265 [info]: consecutive B-frames: 1.6% 0.8% 0.5% 97.1% 

encoded 3235 frames in 349.78s (9.25 fps), 4369.24 kb/s, Avg QP:24.65
[02:41:54] mux: track 0, 3234 frames, 73715595 bytes, 4319.97 kbps, fifo 1024
[02:41:54] mux: track 1, 6399 frames, 4036984 bytes, 236.58 kbps, fifo 2048
[02:41:54] mux: track 2, 6399 frames, 2924693 bytes, 171.40 kbps, fifo 2048
[02:41:54] mux: track 3, 6399 frames, 2924693 bytes, 171.40 kbps, fifo 2048
[02:41:54] mux: track 4, 6400 frames, 2803506 bytes, 164.29 kbps, fifo 2048
[02:41:54] mux: track 5, 8 frames, 498 bytes, 0.03 kbps, fifo 8
[02:41:54] Finished work at: Thu Dec  2 02:41:54 2021

[02:41:54] libhb: work result = 1

I can also send you the original code file from my first attempt.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: No subtitles with Marvel's Shang-Chi

Post by mduell »

Code: Select all

[02:36:04]  * subtitle track 1, English [SRT] (track 0, id 0xff000000, Text) -> Passthrough, Default, offset: 0, charset: UTF-8

[02:41:54] mux: track 5, 8 frames, 498 bytes, 0.03 kbps, fifo 8
They're there, but not much of them from the track you selected.
Deleted User 11865

Re: No subtitles with Marvel's Shang-Chi

Post by Deleted User 11865 »

pbarker1701 wrote: Thu Dec 02, 2021 11:59 am

Code: Select all

  Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 3776
      DURATION-eng    : 01:55:55.719604166
      NUMBER_OF_FRAMES-eng: 376
That's the stream you want (second English subtitle track). Do NOT check "forced only" for this track.
pbarker1701
Novice
Posts: 74
Joined: Sun May 17, 2020 7:59 am

Re: No subtitles with Marvel's Shang-Chi

Post by pbarker1701 »

I may have already tried that option but I'll give it a go.
An interesting side note...I tried transcoding the blu-ray version and it DOES have the subtitles right where they belong.
With only the default Forced Audio Search.

Will let you know what happens.

30
pbarker1701
Novice
Posts: 74
Joined: Sun May 17, 2020 7:59 am

Re: No subtitles with Marvel's Shang-Chi

Post by pbarker1701 »

Tried it with Forced Audio Search and English (0) no forced option.
Tried it with just English (0) no forced option.
Tried it with Forced Audio Search and English (3) no forced option.
A cursory exam seems to indicate that the Force Audio Search w/English (3) no forced option seems to be working.
Will advise after the complete transcode is done.
pbarker1701
Novice
Posts: 74
Joined: Sun May 17, 2020 7:59 am

Re: No subtitles with Marvel's Shang-Chi

Post by pbarker1701 »

OK...final update.
Forced Audio Search with English (3) worked perfectly. Why I needed it in the first place is beyond me, since the blu-ray didn't require it. Go figure.
For what it's worth, English (0) by itself sort of worked, but it was basically high-tech closed captioning. EVERYBODY's dialogue was subtitled as well a lot of other stuff (music, sound effects etc).

Thanks for everybody's help.
Post Reply