Subtitles · 1 file

Sample DFXP File

DFXP is the older name and file extension for TTML, still requested by some video platforms.

DFXP · 1.6 KB

DFXP captions

TTML in its older DFXP profile file extension, still requested by some video platforms.

CC0 · free for any use · Verified by an independent tool · Report a problem

sample.dfxp — first linesXML
<?xml version="1.0" encoding="UTF-8"?>
<tt xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns:ttp="http://www.w3.org/ns/ttml#parameter" xml:lang="en" ttp:timeBase="media">
  <head>
    <styling>
      <style xml:id="s1" tts:color="white" tts:fontFamily="proportionalSansSerif" tts:fontSize="100%" tts:textAlign="center" tts:backgroundColor="rgba(0,0,0,0.6)"/>
    </styling>
    <layout>
      <region xml:id="bottom" tts:origin="10% 80%" tts:extent="80% 15%" tts:displayAlign="after"/>
      <region xml:id="top" tts:origin="10% 5%" tts:extent="80% 15%" tts:displayAlign="before"/>
    </layout>
  </head>
  <body style="s1" region="bottom">
    <div>
      <p begin="00:00:01.000" end="00:00:03.500">Welcome to SampleFiles.</p>
      <p begin="00:00:04.000" end="00:00:07.000" region="top">These subtitles are timed<br/>to our 30-second sample videos.</p>
      <p begin="00:00:07.500" end="00:00:10.000">Each cue has a start and an end time.</p>
      <p begin="00:00:10.500" end="00:00:13.000">Some cues span two lines,<br/>like this one.</p>
      <p begin="00:00:13.500" end="00:00:16.000">Italics and bold are supported by most formats.</p>
      <p begin="00:00:16.500" end="00:00:19.000">Special characters: café, naïve, 日本語, emoji 🎬</p>
      <p begin="00:00:19.500" end="00:00:22.000">Overlapping or adjacent cues test timing logic.</p>
      <p begin="00:00:22.000" end="00:00:24.500">This cue starts exactly when the last one ended.</p>
      <p begin="00:00:25.000" end="00:00:27.500">Numbers: 1,234.56 — dashes — and "quotes".</p>
      <p begin="00:00:28.000" end="00:00:30.000">The end.</p>
    </div>
  </body>

File details

Size
1.6 KB (1,685 bytes)
MIME type
application/ttml+xml
Duration
30s
Cues
10
SHA-256
b0a9217ebbfa3b1581522009b75deb0c43f0624b9b4e0bde9af43c2f54fce1a7
MD5
75b29f5f301a9969d779909bb7b0dc74

Download from the command line

curl -L -o sample.dfxp https://files.samplefiles.com/subtitle/dfxp/sample.dfxp

Or check the download in your browser with the checksum calculator.