SubtitleEdit/subtitleedit

Export to Blu-ray SUP produces an incorrect file

Closed

#10,219 opened on Feb 18, 2026

 (7 comments) (0 reactions) (0 assignees)C# (1,206 forks)batch import
help wanted

Repository metrics

Stars
 (12,864 stars)
PR merge metrics
 (Avg merge 4h 6m) (490 merged PRs in 30d)

Description

Steps to reproduce:

  1. Download https://github.com/user-attachments/files/25347090/Subpictures_21.zip (it's a SUP file ripped from the DVD).
  2. Open it in SE.
  3. In Import/OCR VobSub window, select all lines, right-click on them, select Export - Blu-ray sup..., save the file.
  4. Go to Katai, drag-n-drop ksy file there, then drag-n-drop the subtitle file you just saved.
  5. In object tree, expand segment, then [0 … 99]. In SupSegment 3, PTS is 0, DTS is 13097155.

According to the docs: The DTS should indicate a time when the decoding of the sub picture starts, and the PTS indicates a time when the decoding ends and the sub picture is shown on the screen.

It's obvious that DTS should not be greater than PTS. This inconsistency leads to an issue when applying a negative delay to SUP file with SupMover.

Contributor guide