Closed adis0308 closed 1 year ago
I don't know the subtitle format from dash-if (dfxp or ttml)
Here is an example file:
<?xml version="1.0"?> <tt xmlns:ttp="http://www.w3.org/ns/ttml#parameter" 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" xmlns:ebuttm="urn:ebu:metadata" xmlns:ebutts="urn:ebu:style" xml:lang="eng" xml:space="default" ttp:timeBase="media" ttp:cellResolution="32 15"> <head> <metadata> <ttm:title>DASH-IF Subtitle Track in XML format English</ttm:title> <ebuttm:documentMetadata> <ebuttm:conformsToStandard>urn:ebu:distribution:2014-01</ebuttm:conformsToStandard> <ebuttm:authoredFrameRate>30</ebuttm:authoredFrameRate> </ebuttm:documentMetadata> </metadata> <styling> <style xml:id="s0" tts:fontStyle="normal" tts:fontFamily="sansSerif" tts:fontSize="100%" tts:lineHeight="normal" tts:color="#FFFFFF" tts:wrapOption="noWrap" tts:textAlign="center"/> <style xml:id="s1" tts:color="#00ff00" tts:backgroundColor="#000000" ebutts:linePadding="0.5c"/> <style xml:id="s2" tts:color="#ffff00" tts:backgroundColor="#0000ff" ebutts:linePadding="0.5c"/> <style xml:id="s3" tts:color="#ff0000" tts:backgroundColor="#000000" ebutts:linePadding="0.5c"/> </styling> <layout> <region xml:id="r0" tts:origin="15% 80%" tts:extent="70% 20%" tts:overflow="visible" tts:displayAlign="before"/> <region xml:id="r1" tts:origin="15% 20%" tts:extent="70% 20%" tts:overflow="visible" tts:displayAlign="before"/> </layout> </head> <body style="s0"> <div region="r0"> <p xml:id="sub00000" begin="00:00:00.000" end="00:00:01.000" > <span style="s1">eng : 00:00:00.000</span> </p> <p xml:id="sub01000" begin="00:00:01.000" end="00:00:02.000" > <span style="s2">eng : 00:00:01.000<br/>second line</span> </p> <p xml:id="sub02000" begin="00:00:02.000" end="00:00:03.000" > <span style="s1">eng : 00:00:02.000</span> </p> <p xml:id="sub03000" begin="00:00:03.000" end="00:00:04.000" > <span style="s2">eng : 00:00:03.000</span> </p> <p xml:id="sub04000" begin="00:00:04.000" end="00:00:05.000" > <span style="s1">eng : 00:00:04.000<br/>second line</span> </p> <p xml:id="sub05000" begin="00:00:05.000" end="00:00:06.000" > <span style="s2">eng : 00:00:05.000</span> </p> <p xml:id="sub06000" begin="00:00:06.000" end="00:00:07.000" > <span style="s1">eng : 00:00:06.000</span> </p> </div> </body> </tt>
I wish the ttml/dfxp format subtitles could support more time formats. Thanks...
Thank you for the report. Now this converter supports this file.
I don't know the subtitle format from dash-if (dfxp or ttml)
Here is an example file:
I wish the ttml/dfxp format subtitles could support more time formats. Thanks...