About DFXP to SRT
DFXP to SRT is for the XML caption files used by streaming services, broadcasters and professional captioning tools. They're precise but verbose, and most players, editors and upload forms don't read them. Upload one .dfxp or .ttml file or a whole season's worth, and download plain, numbered SRTs, one per file and all of them in one ZIP. With two languages of the same video converted, Merge Subtitles can combine them into one bilingual subtitle.
All the common ways TTML writes time are understood: clock times, SMPTE frames with the file's frame rate, and tick counts with its tick rate, plus begin offsets set on the body or a div. Line breaks come across, and italic text, set directly or through a style, stays italic. Colours, regions and positions have no SRT equivalent and are left out. Captions made for the hearing impaired become plain subtitles with Remove sound descriptions and speaker labels ([Music], (laughs), ♪, JOHN:), and More options can fix lines that overlap or keep one language of a bilingual file.
How to use DFXP to SRT
- 1Upload the DFXP files
Choose or drop .dfxp or .ttml caption files. Up to 20 go in one task, 50 with VIP.
- 2Click DFXP to SRT
The XML is parsed and each timed paragraph becomes an SRT cue on our server.
- 3Download the SRT
Use each file in your player, editor or upload form, or take the set as one ZIP.
Why use Cubfile for this
- Every TTML time format
Clock times, frames, ticks and offsets on parent elements are all converted to milliseconds.
- Italics and line breaks kept
Italic spans and italic styles turn into <i> tags, and <br/> inside a caption becomes a real line break.
- SDH to plain subtitles
Sound descriptions, music notes and speaker labels can be removed for viewers who just want the dialogue.
- A season at once, parsed safely
Every episode converts in one task, and each file is read with external entities and network access disabled.