Image MIME Reference
DVB-SUB
DVB Subtitle
image/vnd.dvb.subtitle
VS
Extended Image File Format
image/vnd.xiff
XIFF
A complete technical comparison of DVB Subtitle and Extended Image File Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DVB-SUB | XIFF |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
DVB Subtitle
image/vnd.dvb.subtitle
Extension
.sub.sup.ts
Container
MPEG-2 Transport Stream (MPEG-TS) PES Packets
Compression
Lossless (Run-Length Encoding)
Algorithm
RLE (Run-Length Encoding)
Color Depth
2-bit (Indexed), 4-bit (Indexed), 8-bit (Indexed CLUT)
Developed by
DVB Project (ETSI)
Released
1997
Magic Bytes
20
Extended Image File Format
image/vnd.xiff
Extension
.xif
Container
TIFF-based Proprietary Container
Compression
CCITT Group 3 / Group 4 / LZW / Uncompressed
Algorithm
CCITT Group 4LZWNone
Color Depth
1-bit (Monochrome), 8-bit (Grayscale), 24-bit (RGB)
Developed by
Keyfile Corporation
Released
1994
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
Browser Support Comparison
| Browser | DVB-SUB | XIFF |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
DVB-SUB
DVB-SUB Strengths
- Guarantees 100% accurate visual representation (fonts, colors, layouts) exactly as intended by the broadcaster
- Effortlessly supports complex character sets (e.g., Arabic, Asian languages) without relying on the client device possessing the necessary fonts
- Supports region-specific dynamic positioning to avoid obscuring important on-screen graphics or burned-in lower thirds
Limitations
- Requires significantly more bandwidth than text-based subtitles
- Inaccessible to screen readers and cannot be indexed by search engines
- Requires OCR (Optical Character Recognition) to translate back into standard text-based web formats
- Zero native support in HTML5 video elements
XIFF
XIFF Strengths
- Pioneered early enterprise document workflow integration by binding administrative routing data directly to the document image file
- Leveraged efficient fax compression standards to keep storage requirements low on 1990s server infrastructure
Limitations
- Completely proprietary and obsolete; Keyfile Corporation's software ecosystem no longer exists
- Causes widespread MIME type identification conflicts due to sharing the exact same binary header signature as standard TIFF files
- Zero support in modern operating systems or web browsers
When to choose which format
DVB-SUB
Use DVB-SUB when…
- Digital Television Broadcasts (DVB-T, DVB-S, DVB-C)
- IPTV and OTT Streaming
- Hardware Set-top Boxes
XIFF
Use XIFF when…
- Keyfile Enterprise Document Management
- Legacy Corporate Workflow Archival
- Scanned Multi-page Document Routing