[Subtitles] [EIA-608] Some characters in subtitles are shown as squares
Problem Description
Some TS files come with subs. After converting with HandBrake to burn them in, there are a few square characters. Here are 6 sample files, which the only difference should be the resolution and fps:
The output video looks like this:
https://github.com/user-attachments/assets/e26d1d55-1369-455c-90b3-c4fd67f5b868
Activity Log, Crash Log or any other details
[04:43:06] macgui: Handbrake Version: 1.8.1 (2024062200)
[04:43:06] Compile-time hardening features are enabled
[04:43:06] hb_init: starting libhb thread
[04:43:06] thread 16dcaf000 started ("libhb")
[04:43:12] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[04:43:12] CPU: Apple M1
[04:43:12] - logical processor count: 8
[04:43:12] hb_scan: path=/Volumes/media/600_files/600_1080p60.ts, title_index=0
[04:43:12] thread 16db0b000 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Volumes/media/600_files/600_1080p60.ts
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
[04:43:12] 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
[04:43:12] dvd: not a dvd - trying as a stream/file instead
[04:43:12] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[04:43:12] Probing 1 unknown stream
[04:43:12] hb_ts_stream_decode - eof
[04:43:12] hb_ts_stream_decode - eof
[04:43:12] Found the following PIDS
[04:43:12] Video PIDS :
[04:43:12] 0x101 type H.264 (0x1b) (PCR)
[04:43:12] Audio PIDS :
[04:43:12] 0x100 type AAC (0xf)
[04:43:12] Subtitle PIDS :
[04:43:12] Other PIDS :
[04:43:12] 0x102 type Unknown (0x15)
[04:43:12] stream id 0x100 (type 0xf substream 0x0) audio 0x100
[04:43:12] scan: decoding previews for title 1
[04:43:12] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[04:43:12] Probing 1 unknown stream
[04:43:12] hb_ts_stream_decode - eof
[04:43:12] hb_ts_stream_decode - eof
[04:43:12] scan: preview 1
[04:43:12] fifo_close: trashing 0 buffer(s)
[04:43:12] scan: audio 0x100: aac, rate=48000Hz, bitrate=91500 Unknown (AAC LC, 2.0 ch, 91 kbps)
[04:43:12] scan: preview 2
[04:43:12] scan: preview 3
[04:43:12] scan: preview 4
[04:43:12] scan: preview 5
[04:43:12] scan: preview 6
[04:43:12] scan: preview 7
[04:43:12] scan: preview 8
[04:43:12] scan: preview 9
[04:43:12] scan: preview 10
[04:43:12] hb_ts_stream_decode - eof
[04:43:12] Warning: Could not read data for preview 10, skipped
[04:43:12] stream: 119 good frames, 0 errors (0%)
[04:43:12] using bitstream PAR 1:1
[04:43:12] crop: [0] 0/0/0/0
[04:43:12] crop: [1] 0/0/0/0
[04:43:12] crop: [2] 0/0/0/0
[04:43:12] crop: [3] 0/0/0/0
[04:43:12] crop: [4] 0/0/0/0
[04:43:12] crop: [5] 0/0/0/0
[04:43:12] crop: [6] 0/0/0/0
[04:43:12] crop: [7] 0/0/0/0
[04:43:12] crop: [8] 0/0/0/0
[04:43:12] crop: less_than_median_frame_count: 0,
[04:43:12] scan: 9 previews, 1920x1080, 60.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[04:43:12] Freed 5 buffers of size 1024
[04:43:12] Freed 1 buffers of size 2048
[04:43:12] Freed 3 buffers of size 4096
[04:43:12] Freed 1 buffers of size 8192
[04:43:12] Freed 1 buffers of size 16384
[04:43:12] Freed 1 buffers of size 32768
[04:43:12] Freed 1 buffers of size 65536
[04:43:12] Freed 1 buffers of size 131072
[04:43:12] Freed 3 buffers of size 262144
[04:43:12] Allocated 1059840 bytes of buffers on this pass and Freed 1059840 bytes, 0 bytes leaked
[04:43:12] thread 16db0b000 exited ("scan")
[04:43:12] thread 16db0b000 joined ("scan")
[04:43:12] libhb: scan thread found 1 valid title(s)
[04:43:12] macgui: ScanCore scan done
[swscaler @ 0x140078000] [swscaler @ 0x150008000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x140078000] [swscaler @ 0x150018000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x140078000] [swscaler @ 0x150028000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x140078000] [swscaler @ 0x150038000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x140078000] [swscaler @ 0x150088000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x140078000] [swscaler @ 0x150098000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x140078000] [swscaler @ 0x1500a8000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x140078000] [swscaler @ 0x1500b8000] No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x140078000] [swscaler @ 0x1500c8000] No accelerated colorspace conversion found from yuv420p to bgra.
[04:43:12] thread 16e713000 started ("yadif_filter_segment")
[04:43:12] thread 16e79f000 started ("yadif_filter_segment")
[04:43:12] thread 16e82b000 started ("yadif_filter_segment")
[04:43:12] thread 16e8b7000 started ("yadif_filter_segment")
[04:43:12] thread 16e943000 started ("yadif_filter_segment")
[04:43:12] thread 16e9cf000 started ("yadif_filter_segment")
[04:43:12] thread 16ea5b000 started ("yadif_filter_segment")
[04:43:12] thread 16eae7000 started ("yadif_filter_segment")
[04:43:12] thread 16e713000 exited ("yadif_filter_segment")
[04:43:12] thread 16e79f000 exited ("yadif_filter_segment")
[04:43:12] thread 16e82b000 exited ("yadif_filter_segment")
[04:43:12] thread 16e8b7000 exited ("yadif_filter_segment")
[04:43:12] thread 16e943000 exited ("yadif_filter_segment")
[04:43:12] thread 16e9cf000 exited ("yadif_filter_segment")
[04:43:12] thread 16ea5b000 exited ("yadif_filter_segment")
[04:43:12] thread 16eae7000 exited ("yadif_filter_segment")
[04:43:12] thread 16e713000 joined ("yadif_filter_segment")
[04:43:12] thread 16e79f000 joined ("yadif_filter_segment")
[04:43:12] thread 16e82b000 joined ("yadif_filter_segment")
[04:43:12] thread 16e8b7000 joined ("yadif_filter_segment")
[04:43:12] thread 16e943000 joined ("yadif_filter_segment")
[04:43:12] thread 16e9cf000 joined ("yadif_filter_segment")
[04:43:12] thread 16ea5b000 joined ("yadif_filter_segment")
[04:43:12] thread 16eae7000 joined ("yadif_filter_segment")
[04:43:12] fifo_close: trashing 0 buffer(s)
[04:43:12] fifo_close: trashing 0 buffer(s)
[04:43:12] fifo_close: trashing 1 buffer(s)
[04:44:26] Compile-time hardening features are enabled
[04:44:26] hb_init: starting libhb thread
[04:44:26] thread 16b823000 started ("libhb")
[04:44:26] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[04:44:26] CPU: Apple M1
[04:44:26] - logical processor count: 8
[04:44:26] hb_scan: path=/Volumes/media/600_files/600_1080p60.ts, title_index=1
[04:44:26] thread 16b8af000 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Volumes/media/600_files/600_1080p60.ts
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
[04:44:26] 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
[04:44:26] dvd: not a dvd - trying as a stream/file instead
[04:44:26] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[04:44:26] Probing 1 unknown stream
[04:44:26] hb_ts_stream_decode - eof
[04:44:26] hb_ts_stream_decode - eof
[04:44:26] Found the following PIDS
[04:44:26] Video PIDS :
[04:44:26] 0x101 type H.264 (0x1b) (PCR)
[04:44:26] Audio PIDS :
[04:44:26] 0x100 type AAC (0xf)
[04:44:26] Subtitle PIDS :
[04:44:26] Other PIDS :
[04:44:26] 0x102 type Unknown (0x15)
[04:44:26] stream id 0x100 (type 0xf substream 0x0) audio 0x100
[04:44:26] scan: decoding previews for title 1
[04:44:26] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[04:44:26] Probing 1 unknown stream
[04:44:26] hb_ts_stream_decode - eof
[04:44:26] hb_ts_stream_decode - eof
[04:44:26] scan: preview 1
[04:44:26] fifo_close: trashing 0 buffer(s)
[04:44:26] scan: audio 0x100: aac, rate=48000Hz, bitrate=91500 Unknown (AAC LC, 2.0 ch, 91 kbps)
[04:44:26] scan: preview 2
[04:44:26] scan: preview 3
[04:44:26] scan: preview 4
[04:44:26] scan: preview 5
[04:44:26] scan: preview 6
[04:44:26] scan: preview 7
[04:44:26] scan: preview 8
[04:44:26] scan: preview 9
[04:44:26] scan: preview 10
[04:44:26] hb_ts_stream_decode - eof
[04:44:26] Warning: Could not read data for preview 10, skipped
[04:44:26] stream: 119 good frames, 0 errors (0%)
[04:44:26] using bitstream PAR 1:1
[04:44:26] crop: [0] 0/0/0/0
[04:44:26] crop: [1] 0/0/0/0
[04:44:26] crop: [2] 0/0/0/0
[04:44:26] crop: [3] 0/0/0/0
[04:44:26] crop: [4] 0/0/0/0
[04:44:26] crop: [5] 0/0/0/0
[04:44:26] crop: [6] 0/0/0/0
[04:44:26] crop: [7] 0/0/0/0
[04:44:26] crop: [8] 0/0/0/0
[04:44:26] crop: less_than_median_frame_count: 0,
[04:44:26] scan: 9 previews, 1920x1080, 60.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[04:44:26] Freed 5 buffers of size 1024
[04:44:26] Freed 1 buffers of size 2048
[04:44:26] Freed 3 buffers of size 4096
[04:44:26] Freed 1 buffers of size 8192
[04:44:26] Freed 1 buffers of size 16384
[04:44:26] Freed 1 buffers of size 32768
[04:44:26] Freed 1 buffers of size 65536
[04:44:26] Freed 1 buffers of size 131072
[04:44:26] Freed 3 buffers of size 262144
[04:44:26] Allocated 1059840 bytes of buffers on this pass and Freed 1059840 bytes, 0 bytes leaked
[04:44:26] thread 16b8af000 exited ("scan")
[04:44:26] thread 16b8af000 joined ("scan")
[04:44:26] libhb: scan thread found 1 valid title(s)
[04:44:26] macgui: fr.handbrake.HandBrakeXPCService scan done
[04:44:26] thread 16b8af000 started ("work")
[04:44:26] Starting work at: Sat Jul 13 04:44:26 2024
[04:44:26] 1 job(s) to process
[04:44:26] Adding subtitle scan pass
[04:44:26] Skipping subtitle scan. No suitable subtitle tracks.
[04:44:26] macgui: fr.handbrake.HandBrakeXPCService started encoding 600_1080p60.mp4
[04:44:26] macgui: fr.handbrake.HandBrakeXPCService with preset Fast 1080p30 (Modified)
[04:44:26] Starting Task: Encoding Pass
[04:44:26] work: skipping crop/scale filter
[04:44:26] [ass] libass API version: 0x1702000
[04:44:26] [ass] libass source: tarball: 0.17.2
[04:44:26] [ass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.4.0 (COMPLEX)
[04:44:26] [ass] Using font provider coretext
[04:44:26] work: only 1 chapter, disabling chapter markers
[04:44:26] job configuration:
[04:44:26] * source
[04:44:26] + /Volumes/media/600_files/600_1080p60.ts
[04:44:26] + title 1, chapter(s) 1 to 1
[04:44:26] * destination
[04:44:26] + /Volumes/media/600_files/600_1080p60.mp4
[04:44:26] + container: MPEG-4 (libavformat)
[04:44:26] + align initial A/V stream timestamps
[04:44:26] * video track
[04:44:26] + decoder: h264 8-bit (yuv420p)
[04:44:26] + bitrate 200 kbps
[04:44:26] + filters
[04:44:26] + 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)
[04:44:26] + Decomb (mode=39)
[04:44:26] + Framerate Shaper (mode=2:rate=27000000/900000)
[04:44:26] + frame rate: 60.000 fps -> peak rate limited to 30.000 fps
[04:44:26] + Subtitle renderer ()
[04:44:26] + Output geometry
[04:44:26] + storage dimensions: 1920 x 1080
[04:44:26] + pixel aspect ratio: 1 : 1
[04:44:26] + display dimensions: 1920 x 1080
[04:44:26] + encoder: H.264 (libx264)
[04:44:26] + preset: fast
[04:44:26] + profile: main
[04:44:26] + level: 4.0
[04:44:26] + quality: 47.00 (RF)
[04:44:26] + color profile: 1-1-1
[04:44:26] + color range: tv
[04:44:26] + chroma location: left
[04:44:26] * subtitle track 1, Unknown, Closed Caption [CC608] (track 0, id 0xfe000000, Text) -> Render/Burn-in
[04:44:26] * audio track 1
[04:44:26] + decoder: Unknown (AAC LC, 2.0 ch, 91 kbps) (track 1, id 0x100)
[04:44:26] + bitrate: 91 kbps, samplerate: 48000 Hz
[04:44:26] + mixdown: Stereo
[04:44:26] + encoder: AAC (Apple AudioToolbox)
[04:44:26] + bitrate: 160 kbps, samplerate: 48000 Hz
[04:44:26] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[04:44:26] Probing 1 unknown stream
[04:44:26] hb_ts_stream_decode - eof
[04:44:26] hb_ts_stream_decode - eof
[04:44:26] sync: expecting 609 video frames
[04:44:26] thread 16b93b000 started ("Audio Synchronization")
[04:44:26] thread 16b9c7000 started ("Subtitle Synchronization")
[04:44:26] encx264: min-keyint: 30, keyint: 300
[04:44:26] encx264: encoding at constant RF 47.000000
[04:44:26] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
[04:44:26] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: ARMv8 NEON
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[04:44:27] Writing Metadata to output file...
[04:44:27] thread 16c39f000 started ("Muxer")
[04:44:27] thread 16c42b000 started ("Reader")
[04:44:27] thread 16c4b7000 started ("Audio decoder (libavcodec)")
[04:44:27] thread 16c543000 started ("Subtitle decoder (libavcodec)")
[04:44:27] thread 16c5cf000 started ("Video decoder (libavcodec)")
[04:44:27] thread 16c65b000 started ("Video Synchronization")
[04:44:27] thread 16c6e7000 started ("AAC encoder (Apple)")
[04:44:27] thread 16c773000 started ("H.264/AVC encoder (libx264)")
[04:44:27] thread 16c7ff000 started ("Muxer")
[04:44:27] thread 16c88b000 started ("Comb Detect")
[04:44:27] thread 16c917000 started ("Decomb")
[04:44:27] thread 16c9a3000 started ("Framerate Shaper")
[04:44:27] thread 16ca2f000 started ("Subtitle renderer")
[04:44:27] sync: first pts video is 0
[04:44:27] sync: first pts audio 0x100 is 0
[04:44:27] thread 16cd77000 started ("comb_detect_filter_segment")
[04:44:27] thread 16ce03000 started ("comb_detect_filter_segment")
[04:44:27] thread 16ce8f000 started ("comb_detect_filter_segment")
[04:44:27] thread 16cf1b000 started ("comb_detect_filter_segment")
[04:44:27] thread 16cfa7000 started ("comb_detect_filter_segment")
[04:44:27] thread 16d033000 started ("comb_detect_filter_segment")
[04:44:27] thread 16d0bf000 started ("comb_detect_filter_segment")
[04:44:27] thread 16d14b000 started ("comb_detect_filter_segment")
[04:44:27] thread 16d1d7000 started ("mask_filter_segment")
[04:44:27] thread 16d263000 started ("mask_filter_segment")
[04:44:27] thread 16d2ef000 started ("mask_filter_segment")
[04:44:27] thread 16d37b000 started ("mask_filter_segment")
[04:44:27] thread 16d407000 started ("mask_filter_segment")
[04:44:27] thread 16d493000 started ("mask_filter_segment")
[04:44:27] thread 16d51f000 started ("mask_filter_segment")
[04:44:27] thread 16d5ab000 started ("mask_filter_segment")
[04:44:27] thread 16d637000 started ("mask_erode_segment")
[04:44:27] thread 16d6c3000 started ("mask_erode_segment")
[04:44:27] thread 16d74f000 started ("mask_erode_segment")
[04:44:27] thread 16d7db000 started ("mask_erode_segment")
[04:44:27] thread 16d867000 started ("mask_erode_segment")
[04:44:27] thread 16d8f3000 started ("mask_erode_segment")
[04:44:27] thread 16d97f000 started ("mask_erode_segment")
[04:44:27] thread 16da0b000 started ("mask_erode_segment")
[04:44:27] thread 16da97000 started ("mask_dilate_segment")
[04:44:27] thread 16db23000 started ("mask_dilate_segment")
[04:44:27] thread 16dbaf000 started ("mask_dilate_segment")
[04:44:27] thread 16dc3b000 started ("mask_dilate_segment")
[04:44:27] thread 16dcc7000 started ("mask_dilate_segment")
[04:44:27] thread 16dd53000 started ("mask_dilate_segment")
[04:44:27] thread 16dddf000 started ("mask_dilate_segment")
[04:44:27] thread 16de6b000 started ("mask_dilate_segment")
[04:44:27] thread 16def7000 started ("comb_detect_check_segment")
[04:44:27] thread 16df83000 started ("comb_detect_check_segment")
[04:44:27] thread 16e00f000 started ("comb_detect_check_segment")
[04:44:27] thread 16e09b000 started ("comb_detect_check_segment")
[04:44:27] thread 16e127000 started ("comb_detect_check_segment")
[04:44:27] thread 16e1b3000 started ("comb_detect_check_segment")
[04:44:27] thread 16e23f000 started ("comb_detect_check_segment")
[04:44:27] thread 16e2cb000 started ("comb_detect_check_segment")
[04:44:27] sync: first pts subtitle 0xfe000000 is 18000
[04:44:27] [ass] fontselect: (Andale Mono, 400, 0) -> /System/Library/Fonts/Supplemental/Andale Mono.ttf, -1, AndaleMono
[Closed Captions Decoder @ 0x122038a00] Data ignored due to columns exceeding screen width
[04:44:29] hb_ts_stream_decode - eof
[04:44:29] hb_ts_stream_decode - eof
[04:44:29] reader: done. 1 scr changes
[04:44:29] thread 16c42b000 exited ("Reader")
[04:44:29] thread 16e357000 started ("yadif_filter_segment")
[04:44:29] thread 16e3e3000 started ("yadif_filter_segment")
[04:44:29] thread 16e46f000 started ("yadif_filter_segment")
[04:44:29] thread 16e4fb000 started ("yadif_filter_segment")
[04:44:29] thread 16e587000 started ("yadif_filter_segment")
[04:44:29] thread 16e613000 started ("yadif_filter_segment")
[04:44:29] thread 16e69f000 started ("yadif_filter_segment")
[04:44:29] thread 16e72b000 started ("yadif_filter_segment")
[04:44:30] thread 16c7ff000 exited ("Muxer")
[04:44:30] thread 16c7ff000 joined ("Muxer")
[04:44:30] work: average encoding speed for job is 0.000000 fps
[04:44:30] thread 16c5cf000 exited ("Video decoder (libavcodec)")
[04:44:30] thread 16c917000 exited ("Decomb")
[04:44:30] thread 16c65b000 exited ("Video Synchronization")
[04:44:30] thread 16c88b000 exited ("Comb Detect")
[04:44:30] thread 16c88b000 joined ("Comb Detect")
[04:44:30] comb detect: heavy 0 | light 1 | uncombed 599 | total 600
[04:44:30] thread 16cd77000 exited ("comb_detect_filter_segment")
[04:44:30] thread 16ce03000 exited ("comb_detect_filter_segment")
[04:44:30] thread 16cf1b000 exited ("comb_detect_filter_segment")
[04:44:30] thread 16d033000 exited ("comb_detect_filter_segment")
[04:44:30] thread 16d0bf000 exited ("comb_detect_filter_segment")
[04:44:30] thread 16d14b000 exited ("comb_detect_filter_segment")
[04:44:30] thread 16cd77000 joined ("comb_detect_filter_segment")
[04:44:30] thread 16ce8f000 exited ("comb_detect_filter_segment")
[04:44:30] thread 16ce03000 joined ("comb_detect_filter_segment")
[04:44:30] thread 16cfa7000 exited ("comb_detect_filter_segment")
[04:44:30] thread 16ce8f000 joined ("comb_detect_filter_segment")
[04:44:30] thread 16cf1b000 joined ("comb_detect_filter_segment")
[04:44:30] thread 16cfa7000 joined ("comb_detect_filter_segment")
[04:44:30] thread 16d033000 joined ("comb_detect_filter_segment")
[04:44:30] thread 16d0bf000 joined ("comb_detect_filter_segment")
[04:44:30] thread 16d14b000 joined ("comb_detect_filter_segment")
[04:44:30] thread 16def7000 exited ("comb_detect_check_segment")
[04:44:30] thread 16df83000 exited ("comb_detect_check_segment")
[04:44:30] thread 16e00f000 exited ("comb_detect_check_segment")
[04:44:30] thread 16e09b000 exited ("comb_detect_check_segment")
[04:44:30] thread 16e1b3000 exited ("comb_detect_check_segment")
[04:44:30] thread 16e127000 exited ("comb_detect_check_segment")
[04:44:30] thread 16e23f000 exited ("comb_detect_check_segment")
[04:44:30] thread 16e2cb000 exited ("comb_detect_check_segment")
[04:44:30] thread 16def7000 joined ("comb_detect_check_segment")
[04:44:30] thread 16df83000 joined ("comb_detect_check_segment")
[04:44:30] thread 16e00f000 joined ("comb_detect_check_segment")
[04:44:30] thread 16e09b000 joined ("comb_detect_check_segment")
[04:44:30] thread 16e127000 joined ("comb_detect_check_segment")
[04:44:30] thread 16e1b3000 joined ("comb_detect_check_segment")
[04:44:30] thread 16e23f000 joined ("comb_detect_check_segment")
[04:44:30] thread 16e2cb000 joined ("comb_detect_check_segment")
[04:44:30] thread 16d1d7000 exited ("mask_filter_segment")
[04:44:30] thread 16d263000 exited ("mask_filter_segment")
[04:44:30] thread 16d2ef000 exited ("mask_filter_segment")
[04:44:30] thread 16d37b000 exited ("mask_filter_segment")
[04:44:30] thread 16d407000 exited ("mask_filter_segment")
[04:44:30] thread 16d493000 exited ("mask_filter_segment")
[04:44:30] thread 16d51f000 exited ("mask_filter_segment")
[04:44:30] thread 16d5ab000 exited ("mask_filter_segment")
[04:44:30] thread 16d1d7000 joined ("mask_filter_segment")
[04:44:30] thread 16d263000 joined ("mask_filter_segment")
[04:44:30] thread 16d2ef000 joined ("mask_filter_segment")
[04:44:30] thread 16d37b000 joined ("mask_filter_segment")
[04:44:30] thread 16d407000 joined ("mask_filter_segment")
[04:44:30] thread 16d493000 joined ("mask_filter_segment")
[04:44:30] thread 16d51f000 joined ("mask_filter_segment")
[04:44:30] thread 16d5ab000 joined ("mask_filter_segment")
[04:44:30] thread 16d637000 exited ("mask_erode_segment")
[04:44:30] thread 16d6c3000 exited ("mask_erode_segment")
[04:44:30] thread 16d74f000 exited ("mask_erode_segment")
[04:44:30] thread 16d867000 exited ("mask_erode_segment")
[04:44:30] thread 16d7db000 exited ("mask_erode_segment")
[04:44:30] thread 16d8f3000 exited ("mask_erode_segment")
[04:44:30] thread 16d97f000 exited ("mask_erode_segment")
[04:44:30] thread 16da0b000 exited ("mask_erode_segment")
[04:44:30] thread 16d637000 joined ("mask_erode_segment")
[04:44:30] thread 16d6c3000 joined ("mask_erode_segment")
[04:44:30] thread 16d74f000 joined ("mask_erode_segment")
[04:44:30] thread 16d7db000 joined ("mask_erode_segment")
[04:44:30] thread 16d867000 joined ("mask_erode_segment")
[04:44:30] thread 16d8f3000 joined ("mask_erode_segment")
[04:44:30] thread 16d97f000 joined ("mask_erode_segment")
[04:44:30] thread 16da0b000 joined ("mask_erode_segment")
[04:44:30] thread 16da97000 exited ("mask_dilate_segment")
[04:44:30] thread 16db23000 exited ("mask_dilate_segment")
[04:44:30] thread 16dbaf000 exited ("mask_dilate_segment")
[04:44:30] thread 16dc3b000 exited ("mask_dilate_segment")
[04:44:30] thread 16dcc7000 exited ("mask_dilate_segment")
[04:44:30] thread 16dd53000 exited ("mask_dilate_segment")
[04:44:30] thread 16dddf000 exited ("mask_dilate_segment")
[04:44:30] thread 16de6b000 exited ("mask_dilate_segment")
[04:44:30] thread 16da97000 joined ("mask_dilate_segment")
[04:44:30] thread 16db23000 joined ("mask_dilate_segment")
[04:44:30] thread 16dbaf000 joined ("mask_dilate_segment")
[04:44:30] thread 16dc3b000 joined ("mask_dilate_segment")
[04:44:30] thread 16dcc7000 joined ("mask_dilate_segment")
[04:44:30] thread 16dd53000 joined ("mask_dilate_segment")
[04:44:30] thread 16dddf000 joined ("mask_dilate_segment")
[04:44:30] thread 16de6b000 joined ("mask_dilate_segment")
[04:44:30] thread 16c917000 joined ("Decomb")
[04:44:30] decomb: deinterlaced 0 | blended 1 | unfiltered 599 | total 600
[04:44:30] thread 16e357000 exited ("yadif_filter_segment")
[04:44:30] thread 16e3e3000 exited ("yadif_filter_segment")
[04:44:30] thread 16e46f000 exited ("yadif_filter_segment")
[04:44:30] thread 16e4fb000 exited ("yadif_filter_segment")
[04:44:30] thread 16e587000 exited ("yadif_filter_segment")
[04:44:30] thread 16e613000 exited ("yadif_filter_segment")
[04:44:30] thread 16e69f000 exited ("yadif_filter_segment")
[04:44:30] thread 16e72b000 exited ("yadif_filter_segment")
[04:44:30] thread 16e357000 joined ("yadif_filter_segment")
[04:44:30] thread 16e3e3000 joined ("yadif_filter_segment")
[04:44:30] thread 16e46f000 joined ("yadif_filter_segment")
[04:44:30] thread 16e4fb000 joined ("yadif_filter_segment")
[04:44:30] thread 16e587000 joined ("yadif_filter_segment")
[04:44:30] thread 16e613000 joined ("yadif_filter_segment")
[04:44:30] thread 16e69f000 joined ("yadif_filter_segment")
[04:44:30] thread 16e72b000 joined ("yadif_filter_segment")
[04:44:30] thread 16c6e7000 exited ("AAC encoder (Apple)")
[04:44:30] thread 16c39f000 exited ("Muxer")
[04:44:30] thread 16c9a3000 exited ("Framerate Shaper")
[04:44:30] thread 16c9a3000 joined ("Framerate Shaper")
[04:44:30] vfr: 301 frames output, 299 dropped and 0 duped for CFR/PFR
[04:44:30] vfr: lost time: 0 (0 frames)
[04:44:30] vfr: gained time: 0 (0 frames) (0 not accounted for)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] thread 16ca2f000 exited ("Subtitle renderer")
[04:44:30] thread 16ca2f000 joined ("Subtitle renderer")
[04:44:30] thread 16c42b000 joined ("Reader")
[04:44:30] thread 16c4b7000 exited ("Audio decoder (libavcodec)")
[04:44:30] thread 16b93b000 exited ("Audio Synchronization")
[04:44:30] thread 16c4b7000 joined ("Audio decoder (libavcodec)")
[04:44:30] thread 16b9c7000 exited ("Subtitle Synchronization")
[04:44:30] thread 16c543000 exited ("Subtitle decoder (libavcodec)")
[04:44:30] thread 16c543000 joined ("Subtitle decoder (libavcodec)")
[04:44:30] thread 16c5cf000 joined ("Video decoder (libavcodec)")
[04:44:30] thread 16c65b000 joined ("Video Synchronization")
[04:44:30] thread 16c6e7000 joined ("AAC encoder (Apple)")
[04:44:30] thread 16c773000 exited ("H.264/AVC encoder (libx264)")
[04:44:30] thread 16c773000 joined ("H.264/AVC encoder (libx264)")
[04:44:30] stream: 600 good frames, 0 errors (0%)
[04:44:30] aac-decoder done: 468 frames, 0 decoder errors
[04:44:30] h264-decoder done: 600 frames, 0 decoder errors
[04:44:30] sync: got 600 frames, 609 expected
[04:44:30] sync: framerate min 60.000 fps, max 60.000 fps, avg 60.000 fps
[04:44:30] thread 16b93b000 joined ("Audio Synchronization")
[04:44:30] thread 16b9c7000 joined ("Subtitle Synchronization")
x264 [info]: frame I:2 Avg QP:45.15 size: 18245
x264 [info]: frame P:75 Avg QP:46.75 size: 1634
x264 [info]: frame B:224 Avg QP:46.50 size: 256
x264 [info]: consecutive B-frames: 0.7% 0.0% 1.0% 98.3%
x264 [info]: mb I I16..4: 93.5% 0.0% 6.5%
x264 [info]: mb P I16..4: 1.9% 0.0% 0.2% P16..4: 7.5% 0.3% 0.5% 0.0% 0.0% skip:89.7%
x264 [info]: mb B I16..4: 0.1% 0.0% 0.0% B16..8: 1.3% 0.0% 0.0% direct: 0.2% skip:98.4% L0:44.8% L1:54.9% BI: 0.3%
x264 [info]: coded y,uvDC,uvAC intra: 6.6% 34.0% 7.2% inter: 0.1% 0.5% 0.0%
x264 [info]: i16 v,h,dc,p: 55% 27% 11% 6%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 15% 33% 4% 4% 4% 3% 3% 2%
x264 [info]: i8c dc,h,v,p: 75% 14% 11% 1%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 60.4% 39.6%
x264 [info]: ref B L0: 71.8% 28.2%
x264 [info]: ref B L1: 90.0% 10.0%
x264 [info]: kb/s:172.51
[04:44:30] mux: file size, 386727 bytes
[04:44:30] mux: track 0, 301 frames, 216273 bytes, 171.87 kbps, fifo 512
[04:44:30] mux: track 1, 472 frames, 157587 bytes, 125.23 kbps, fifo 512
[04:44:30] mux: overhead, 16.65 bytes per frame
[04:44:30] thread 16c39f000 joined ("Muxer")
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] fifo_close: trashing 0 buffer(s)
[04:44:30] Freed 262 buffers of size 1024
[04:44:30] Freed 32 buffers of size 2048
[04:44:30] Freed 13 buffers of size 4096
[04:44:30] Freed 10 buffers of size 8192
[04:44:30] Freed 32 buffers of size 16384
[04:44:30] Freed 6 buffers of size 32768
[04:44:30] Freed 2 buffers of size 65536
[04:44:30] Freed 2 buffers of size 131072
[04:44:30] Freed 3 buffers of size 262144
[04:44:30] Freed 1 buffers of size 524288
[04:44:30] Freed 3 buffers of size 2097152
[04:44:30] Freed 19 buffers of size 4194304
[04:44:30] Allocated 88877056 bytes of buffers on this pass and Freed 88877056 bytes, 0 bytes leaked
[04:44:30] Finished work at: Sat Jul 13 04:44:30 2024
[04:44:30] thread 16b8af000 exited ("work")
[04:44:30] thread 16b8af000 joined ("work")
[04:44:30] libhb: work result = 0
[04:44:31] macgui: Queue Done, there are no more pending encodes
[04:44:31] macgui: fr.handbrake.HandBrakeXPCService work done
What Operating System are you running?
macOS 14.5
What version of HandBrake are you running?
1.8.1 (2024062200)
Where did you download HandBrake from?
handbrake.fr
In case the issues are due to ffmpeg, I've reported them:
- https://trac.ffmpeg.org/ticket/11101
- https://trac.ffmpeg.org/ticket/11102
Do you know what characters should be getting displayed in these cases? It's possible it has something to do with our choice of font. These characters could be missing from the font we use for burned in subtitles. For CCs on macOS we use the "Andale Mono" font.
You have the samples to try it out. Choosing not burning them in still have the same problem, but the font is clearer.
It's a bit difficult to tell what is going on without a deeper dive into the raw data. But for the examples you've provided, it looks like there may be significant corruption in the initial frames. VLC also displays some garbage characters (but not blocks) in the same sentence that the block appears in HandBrake's output. My initial guess would be that some garbled data resulted in some poorly decoded CC characters.
There's more evidence of corruption if you increase the verbosity of HandBrake during the encode (-v4)
[Closed Captions Decoder @ 0x7f99bc3ca480] Data ignored due to columns exceeding screen width
You can check that also happens to original video, time 1:40:49. Enable subs: https://www.twitch.tv/videos/1980035805?t=1h40m49s
Maybe they use ffmpeg too?
So the issue has been fixed or just closed the issue?
Broken Source file. It may be something upstream can work around in the future, I'm not sure.