Skip to content

Text in .SSA Tracks Turns Turquoise when Encoded with HandBrake #8276

Open

Description

@El-Has

Problem Description

I don't know if this is an issue with Subtitle Edit or HandBrake, so I'll post it in both.

Here's the link to the issue in SE: SubtitleEdit/subtitleedit#16994

When I'm working with SubStation Alpha, text by default is set to white. However, somewhere between finishing the .ssa file and embedding it in a file with HandBrake, all the text with no specific colours on it turns turquoise, and apparently all the positioning information is lost.

Here's an example of how it appears in Subtitle Edit:
Screenshot 2026-11-17 at 17 20 11
Screenshot 2026-11-17 at 17 20 16
Screenshot 2026-11-17 at 17 20 18

Then in QuickTime:
Screenshot 2026-11-17 at 17 20 30
Screenshot 2026-11-17 at 17 20 37
Screenshot 2026-11-17 at 17 21 22

Then in VLC:
Screenshot 2026-11-17 at 17 21 41
Screenshot 2026-11-17 at 17 21 46
Screenshot 2026-11-17 at 17 21 59

Activity Log, Crash Log or any other details

HandBrake Activity Log for Session: 2026-11-17T17:10:34Z
Handbrake Version: 1.11.2 (2026060700)
ICNLA [OD].mp4
Preset: Fast 1080p30 (Modified)
[17:10:34] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[17:10:34] OS: macOS 27.0.1 (26A434)
[17:10:34] CPU: Apple M5
[17:10:34]  - logical processor count: 10
[17:10:34] hb_scan: path=/Volumes/LaCie/Video/Completed/The Problem Complete/Other (inc paid extras)/ICNLA/ICNLA.m4v, title_index=1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie/Video/Completed/The Problem Complete/Other (inc paid extras)/ICNLA/ICNLA.m4v':
  Metadata:
    major_brand     : M4V 
    minor_version   : 1
    compatible_brands: M4V M4A isommp42
    creation_time   : 2026-11-17T14:20:37.000000Z
    title           : I Can No Longer Advertise
  Duration: 00:09:59.88, start: 0.000000, bitrate: 7447 kb/s
  Stream #0:0[0x1](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 116 kb/s (default)
    Metadata:
      creation_time   : 2026-11-17T14:20:37.000000Z
      handler_name    : Core Media Audio
  Stream #0:1[0x2](und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 7322 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      creation_time   : 2026-11-17T14:20:37.000000Z
      handler_name    : Core Media Video
  Stream #0:2[0x0]: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 72:72 DAR 16:9], 90k tbr, 90k tbn (attached pic)
[17:10:34] scan: decoding previews for title 1
[17:10:34] scan: audio 0x0: aac, rate=48000Hz, bitrate=116659 English (AAC LC, 2.0 ch, 116 kbps)
[17:10:35] using container PAR 1:1
[17:10:35] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:10:35] libhb: scan thread found 1 valid title(s)
[17:10:35] macgui: fr.handbrake.HandBrakeXPCService scan done
[17:10:35] macgui: fr.handbrake.HandBrakeXPCService started encoding ICNLA [OD].mp4
[17:10:35] macgui: fr.handbrake.HandBrakeXPCService with preset Fast 1080p30 (Modified)
[17:10:35] Starting work at: Tue Nov 17 17:10:35 2026

[17:10:35] 1 job(s) to process
[17:10:35] Starting Task: Encoding Pass
[17:10:35] work: skipping crop/scale filter
[17:10:35] job configuration:
[17:10:35]  * source
[17:10:35]    + /Volumes/LaCie/Video/Completed/The Problem Complete/Other (inc paid extras)/ICNLA/ICNLA.m4v
[17:10:35]    + title 1, chapter(s) 1 to 1
[17:10:35]    + container: mov,mp4,m4a,3gp,3g2,mj2
[17:10:35]    + data rate: 7447 kbps
[17:10:35]  * destination
[17:10:35]    + /Volumes/LaCie/Video/Completed/The Problem Complete/Other (inc paid extras)/ICNLA/ICNLA [OD].mp4
[17:10:35]    + container: MPEG-4 (libavformat)
[17:10:35]      + optimized for HTTP streaming (fast start)
[17:10:35]      + compatibility atom for iPod 5G
[17:10:35]      + align initial A/V stream timestamps
[17:10:35]  * video track
[17:10:35]    + decoder: hevc 8-bit (yuv420p)
[17:10:35]      + bitrate 7322 kbps
[17:10:35]    + filter
[17:10:35]      + Framerate Shaper (mode=1:rate=27000000/1080000)
[17:10:35]        + frame rate: 25.000 fps -> constant 25.000 fps
[17:10:35]    + Output geometry
[17:10:35]      + storage dimensions: 1920 x 1080
[17:10:35]      + pixel aspect ratio: 1 : 1
[17:10:35]      + display dimensions: 1920 x 1080
[17:10:35]    + encoder: H.264 (libx264)
[17:10:35]      + preset:  faster
[17:10:35]      + profile: main
[17:10:35]      + level:   4.0
[17:10:35]      + quality: 24.50 (RF)
[17:10:35]      + color profile: 1-1-1
[17:10:35]      + color range: tv
[17:10:35]      + chroma location: left
[17:10:35]  * subtitle track 1, English (SSA) (track 0, id 0xff000000, Text) -> Passthru, Default, offset: 0
[17:10:35]  * audio track 1
[17:10:35]    + name: Stereo
[17:10:35]    + decoder: English (AAC LC, 2.0 ch, 116 kbps) (track 1, id 0x0)
[17:10:35]      + bitrate: 116 kbps, samplerate: 48000 Hz
[17:10:35]    + AAC Passthru
[17:10:35] sync: expecting 14997 video frames
[17:10:35] encx264: encoding at constant RF 24.500000
[17:10:35] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=4:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=20
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: ARMv8 NEON DotProd I8MM
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[17:10:35] sync: first pts audio 0x0 is 0
[17:10:35] sync: first pts video is 120
[17:10:35] sync: Chapter 1 at frame 1 time 120
[17:10:35] sync: first pts subtitle 0xff000000 is 10800
[17:11:55] reader: done. 1 scr changes
[17:11:55] work: average encoding speed for job is 184.049072 fps
[17:11:55] vfr: 14997 frames output, 0 dropped and 0 duped for CFR/PFR
[17:11:55] vfr: lost time: 0 (0 frames)
[17:11:55] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:11:55] aac-decoder done: 28120 frames, 0 decoder errors
[17:11:55] hevc-decoder done: 14997 frames, 0 decoder errors
[17:11:55] sync: got 14997 frames, 14997 expected
[17:11:55] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:86    Avg QP:20.35  size: 77377
x264 [info]: frame P:4318  Avg QP:22.99  size: 22767
x264 [info]: frame B:10593 Avg QP:24.97  size: 11997
x264 [info]: consecutive B-frames:  4.7%  2.7%  1.7% 90.9%
x264 [info]: mb I  I16..4: 71.8%  0.0% 28.2%
x264 [info]: mb P  I16..4: 28.3%  0.0%  1.9%  P16..4: 30.8%  5.0%  1.0%  0.0%  0.0%    skip:33.1%
x264 [info]: mb B  I16..4:  7.1%  0.0%  0.1%  B16..8: 24.2%  2.5%  0.0%  direct:21.3%  skip:44.8%  L0:50.0% L1:47.2% BI: 2.8%
x264 [info]: coded y,uvDC,uvAC intra: 6.6% 72.8% 20.7% inter: 5.7% 40.9% 0.6%
x264 [info]: i16 v,h,dc,p: 41% 27% 22% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 24% 24%  2%  5%  4%  4%  3%  4%
x264 [info]: i8c dc,h,v,p: 53% 22% 17%  8%
x264 [info]: Weighted P-Frames: Y:5.5% UV:4.4%
x264 [info]: ref P L0: 60.3% 39.7%
x264 [info]: ref B L0: 67.7% 32.3%
x264 [info]: ref B L1: 85.2% 14.8%
x264 [info]: kb/s:3094.53
[17:11:58] mux: track 0, 14997 frames, 232040106 bytes, 3094.28 kbps, fifo 2048
[17:11:58] mux: track 1, 28120 frames, 8748318 bytes, 116.66 kbps, fifo 4096
[17:11:58] mux: track 2, 117 frames, 14874 bytes, 0.20 kbps, fifo 16
[17:11:58] Finished work at: Tue Nov 17 17:11:58 2026

[17:11:58] libhb: work result = 0

What Operating System are you running?

macOS 27.0.1

What version of HandBrake are you running?

1.11.2

Where did you download HandBrake from?

handbrake.fr

Activity

  1. galad87 commented on Nov 17, 2026

    @galad87
    Contributor

    Try with a snapshot, there was a bug that caused the wrong style to be used when converting SSA to tx3g: https://github.com/HandBrake/handbrake-snapshots/releases/tag/mac

  2. galad87 commented on Nov 17, 2026

    @galad87
    Contributor

    The position information is lost because the subtitles are converted to tx3g. There is no supported way to store SSA in MP4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions