Back to Converter

Convert DFXP to TTML

Convert DFXP to TTML

Converting from DFXP (DFXP) to TTML (TTML) while maintaining timing accuracy and subtitle content.

Convert Now

About DFXP to TTML Conversion

A quick guide to converting from DFXP (.dfxp) to TTML (.ttml). Learn about format differences, what's preserved, and how to convert your subtitles.

    Key Differences Between DFXP and TTML

    • Format Structure: DFXP uses an XML-based distribution format while TTML uses an XML-based format with styling and layout sections
    • Styling Support: DFXP offers XML-based styling features while TTML supports comprehensive XML-based styling
    • Software Compatibility: DFXP is primarily used with undefined, undefined, undefined, while TTML is commonly used with undefined, undefined, undefined
    • Use Cases: DFXP is typically used for online video distribution, while TTML is preferred for professional streaming platforms

Format Structure Examples

DFXP Format Example

<?xml version="1.0" encoding="utf-8"?>
<tt xml:lang="en" xmlns="http://www.w3.org/ns/ttml"
    xmlns:tts="http://www.w3.org/ns/ttml#styling"
    xmlns:ttm="http://www.w3.org/ns/ttml#metadata">
  <head>
    <styling>
      <style xml:id="defaultCaption" 
             tts:fontSize="10" 
             tts:fontFamily="SansSerif"
             tts:fontWeight="normal" 
             tts:fontStyle="normal"
             tts:textDecoration="none" 
             tts:color="white"
             tts:backgroundColor="black" />
    </styling>
  </head>
  <body>
    <div style="defaultCaption" xml:lang="en">
      <p begin="00:00:03.400" end="00:00:06.177">In this lesson, we're going to<br />be talking about finance.</p>
      <p begin="00:00:06.177" end="00:00:10.009">One of the most important aspects<br />of finance is interest.</p>
    </div>
  </body>
</tt>

TTML Format Example

<?xml version="1.0" encoding="utf-8"?>
<tt xmlns="http://www.w3.org/ns/ttml" 
    xmlns:ttp="http://www.w3.org/ns/ttml#parameter" 
    xmlns:tts="http://www.w3.org/ns/ttml#styling" 
    xmlns:ttm="http://www.w3.org/ns/ttml#metadata" 
    xmlns:xml="http://www.w3.org/XML/1998/namespace" 
    ttp:timeBase="media" 
    ttp:frameRate="24" 
    xml:lang="en">
  <head>
    <metadata>
      <ttm:title>Sample TTML</ttm:title>
    </metadata>
    <styling>
      <style xml:id="s1" 
             tts:textAlign="center" 
             tts:fontFamily="Arial" 
             tts:fontSize="100%"/>
    </styling>
    <layout>
      <region xml:id="bottom" 
              tts:displayAlign="after" 
              tts:extent="80% 40%" 
              tts:origin="10% 50%"/>
      <region xml:id="top" 
              tts:displayAlign="before" 
              tts:extent="80% 40%" 
              tts:origin="10% 10%"/>
    </layout>
  </head>
  <body>
    <div>
      <p xml:id="subtitle1" begin="00:00:01.375" end="00:00:05.750" 
         style="s1" region="top">TOP SAMPLE TEXT</p>
      <p xml:id="subtitle2" begin="00:00:05.916" end="00:00:10.216" 
         style="s1" region="bottom">BOTTOM SAMPLE TEXT</p>
      <p xml:id="subtitle3" begin="00:00:10.418" end="00:00:15.083" 
         style="s1" region="bottom">He had a great story.</p>
      <p xml:id="subtitle4" begin="00:00:15.391" end="00:00:20.558" 
         style="s1" region="bottom">- Did he tell you what it was about?<br/>- He did</p>
      <p xml:id="subtitle5" begin="00:00:20.750" end="00:00:25.041" 
         style="s1" region="bottom">In 1992, a shipping container<br/>fell overboard</p>
    </div>
  </body>
</tt>

What's Preserved in Conversion

  • Timing information and synchronization
  • Text content and line breaks
  • Basic text formatting
  • Character encoding
  • Language identification

What's Lost in Conversion

  • XML-based styling
  • Multiple regions
  • Advanced metadata capabilities

Generate Subtitles with AI

Skip the manual work! Let our AI automatically generate accurate subtitles for your videos. Checksub's advanced AI technology creates professional-quality subtitles in minutes, saving you hours of work.

Try AI Subtitles

Compatible Software

DFXP can be opened with:

TTML can be opened with:

Conversion Features with Checksub

  • Automatic DFXP format detection
  • Precise timing conversion from DFXP to TTML
  • Smart text formatting adaptation
  • Character encoding handling (UTF-8, Unicode)
  • Format-specific optimizations for TTML
  • Error checking and validation

Convert Your DFXP File Now

Ready to convert your subtitles? Our converter maintains timing accuracy and proper formatting while ensuring the best possible compatibility with your target platform.

Convert to TTML