Length Type Description

For each subtitle...

4 String « CHID »

4 LongInt Length of Char ID

8 String Char ID

4 LongInt Length of subtitle text + null bytes + 8


String Subtitle text

Depend Byte Null bytes

4 String « EXTD » (if present)

4 LongInt Length of EXTD section


Byte Data

4 String « CLIP » (if present)

4 LongInt Length of CLIP section


Byte Data

4 String « ENDC »


Byte See notes ---> Subtitles are grouped in block of 2048 bytes. By default, there's 4 null bytes after a subtitle. When there's no more room in a block for a subtitle, the remaining space is filled with null bytes to equal 2048 bytes.