Free webp to jpg
DVB-SUB

DVB Subtitle

image/vnd.dvb.subtitle Released 1997 · by DVB Project (ETSI)

The image/vnd.dvb.subtitle MIME type represents Digital Video Broadcasting (DVB) subtitles. Unlike text-based subtitle formats (such as WebVTT or SRT), DVB subtitles are transmitted as highly compressed, indexed-color bitmap images using Run-Length Encoding (RLE). This guarantees that broadcasters have absolute control over typography, colors, and layout across all compatible set-top boxes, regardless of the device's installed fonts.

Broadcast & Telecommunications Transparency Production Ready

Technical Specifications

MIME Type
image/vnd.dvb.subtitle
Extensions
.sub.sup.ts
Container
MPEG-2 Transport Stream (MPEG-TS) PES Packets
Compression
Lossless (Run-Length Encoding)
Algorithms
RLE (Run-Length Encoding)
Color Depth
2-bit (Indexed), 4-bit (Indexed), 8-bit (Indexed CLUT)
Metadata
None
Capabilities
Transparency
Animation
Progressive Loading
Alpha Channel
HDR Support

Magic Bytes & HTTP Headers

File Signature (Magic Bytes)
20
ASCII:
HTTP Headers
Content-Type: image/vnd.dvb.subtitle
HTML Accept Attribute
accept="None"

Browser Support Matrix

Browser Status Min Version
Chrome Chrome
Not Supported
Firefox Firefox
Not Supported
Safari Safari
Not Supported
Edge Edge
Not Supported
Internet Explorer Internet Explorer
Not Supported Legacy

Advantages & Limitations

Advantages
  • 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

Developer Code Snippets

import subprocess
# Extracting DVB subtitles requires a demuxer like FFmpeg, not standard file parsing
# This command maps the subtitle stream from a TS file and copies it to a standalone format
subprocess.run(['ffmpeg', '-i', 'broadcast.ts', '-map', '0:s:0', '-c:s', 'copy', 'subs.sup'])
// Parsing DVB subtitles in Node requires deep MPEG-TS PES packet parsing.
// Client-side libraries like 'hls.js' handle this by parsing the TS stream, extracting the RLE bitmaps, applying the Color Look-Up Table (CLUT), and drawing them onto a canvas.
import "fmt"
// DVB subtitle parsing in Go requires decoding the MPEG-TS layer, finding the PES packet with data_identifier 0x20, and decoding the RLE pixel data into an image.Image interface.
// PHP is ill-equipped for parsing live DVB subtitle bitstreams. In web backends, you would typically use exec() to shell out to FFmpeg for extraction or OCR.

File Detection Steps

How to programmatically detect a image/vnd.dvb.subtitle file by reading its raw bytes:

  1. 1 DVB Subtitles are rarely standalone files. They are typically detected within an MPEG-TS multiplex via the Program Map Table (PMT), identified by a stream_type of 0x06 (PES private data) combined with a DVB Subtitling Descriptor (tag 0x59).
  2. 2 Inside the PES packet payload, the DVB subtitling data_identifier byte is strictly 0x20.

Software Support

F
FFmpeg
V
VLC Media Player
S
Subtitle Edit
h
hls.js (via Canvas)

Conversion Tools

Share & Embed

Markdown Badge
DVB-SUB Format Badge
[![DVB-SUB Format](https://freewebptojpg.com/mime/image/dvb-sub/badge.svg)](https://freewebptojpg.com/mime/image/dvb-sub)
Interactive iframe Widget
<iframe src="https://freewebptojpg.com/mime/image/dvb-sub/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="DVB-SUB Specs"></iframe>

JSON API

All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.

GET https://freewebptojpg.com/mime/image/dvb-sub.json Open JSON
Free to use
No auth required
CORS enabled
Use from any domain
Cached 24h
Cache-Control headers set

Frequently Asked Questions

Are DVB subtitles text or images?

DVB subtitles are bitmap images (raster graphics). They are rendered by the broadcaster and sent as pixels, which ensures perfect visual consistency but means the text cannot be natively searched or selected.

How do I convert DVB subtitles to SRT or WebVTT?

Because DVB subtitles are images, you cannot simply convert the file format. You must use Optical Character Recognition (OCR) software, such as Subtitle Edit or specialized FFmpeg pipelines, to visually read the bitmaps and convert them back into text.

Can web browsers display DVB subtitles?

No. HTML5 <track> elements only support text-based formats like WebVTT. To display DVB subtitles on the web, JavaScript-based video players (like hls.js) must manually parse the MPEG-TS stream, decode the Run-Length Encoded bitmaps, and draw them onto an HTML5 <canvas> overlaid on top of the video.

Share this format