Package org.mp4parser.muxer.tracks.ttml
Class TtmlSegmenter
- java.lang.Object
-
- org.mp4parser.muxer.tracks.ttml.TtmlSegmenter
-
public class TtmlSegmenter extends Object
-
-
Constructor Summary
Constructors Constructor Description TtmlSegmenter()
-
Method Summary
Modifier and Type Method Description static voidchangeTime(Node p, String attribute, long amount)static DocumentnormalizeTimes(Document doc)static List<Document>split(Document doc, int splitTimeInSeconds)static voidtrimWhitespace(Node node)
-
-
-
Method Detail
-
split
public static List<Document> split(Document doc, int splitTimeInSeconds) throws XPathExpressionException
- Throws:
XPathExpressionException
-
normalizeTimes
public static Document normalizeTimes(Document doc) throws XPathExpressionException
- Throws:
XPathExpressionException
-
trimWhitespace
public static void trimWhitespace(Node node)
-
-