SubtitleEdit/subtitleedit

Export to Blu-ray SUP produces an incorrect file

Fechada

#10.219 aberto em 18 de fev. de 2026

 (7 comentários) (0 reação) (0 responsável)C# (1.206 forks)batch import
help wanted

Métricas do repositório

Stars
 (12.864 estrelas)
Métricas de merge de PR
 (Mesclagem média 4h 6m) (490 fundiu PRs em 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.

Guia do colaborador