@transcrobes/subs-convert
Version:
Convert subtitles from one format to another
2 lines • 1.26 kB
TypeScript
export declare const goodTTML = "\n<tt xml:lang=\"en\"\nxmlns=\"http://www.w3.org/ns/ttml\"\nxmlns:tts=\"http://www.w3.org/ns/ttml#styling\">\n <head>\n <metadata xmlns:ttm=\"http://www.w3.org/ns/ttml#metadata\">\n <ttm:title>TTML Example</ttm:title>\n <ttm:copyright>Thierry Michel 2015</ttm:copyright>\n </metadata>\n\n <styling xmlns:tts=\"http://www.w3.org/ns/ttml#styling\">\n <style xml:id=\"s1\" tts:color=\"red\" tts:textAlign=\"center\" />\n </styling>\n</head>\n\n <body>\n <div>\n <p xml:id=\"c1\" begin=\"00:00:00.000\" end=\"00:00:10.000\">\n Hello I am your first line.</p>\n <p xml:id=\"c2\" begin=\"00:00:11.000\" end=\"00:00:16.000\">\n I am your second captions<br/>\n but with two lines.</p>\n <p xml:id=\"c3\" xml:lang=\"fr\" begin=\"00:00:17.000\" end=\"00:00:21.123\">\n Je suis le troisi\u00E8me sous-titre.</p>\n <p xml:id=\"c4\" begin=\"00:00:22.000\" end=\"00:00:30.333\" >\n I am another caption with styles.</p>\n <p xml:id=\"c5\" begin=\"00:00:31.000\" end=\"00:00:36.000\">\n I am the last caption displayed in red and centered.</p>\n </div>\n </body>\n</tt>\n";
//# sourceMappingURL=goodTTML.d.ts.map