SUB File Documentation


Overview

Feature Value
File Extension .sub
Type Subtitle file format
MIME Type text/plain
Used By DVD, Blu-ray, DivX, and other video formats
File Structure Binary for images, Text for timestamps and additional info
Encoding Depends on the accompanying IDX file for text-based subs
Associated Files .idx for timing and format info
Compression Image-based subtitles can be RLE-compressed
Character Encoding Varies, defined in the IDX file for text
Image Support Yes, for subtitle graphics
Color Information Color and palette information stored in the IDX file
Resolution Resolution information stored in the IDX file
Time Codes Frame-based or timestamp-based synchronization
Language Support Multiple languages can be supported in a single file set
Editing Software Subtitle Workshop, Subtitle Edit, among others
Playback Compatibility Supported by various media players and video editing software
Advantages High customizability, supports complex formatting
Limitations Requires both SUB and IDX files for proper playback
Text-based No, primarily image based but may contain text in IDX
Frame Accurate Yes, allows for precise subtitle timing