Class SubTextEvent


  • public class SubTextEvent
    extends SubtitleEvent
    Text Event Line including ASS/SAA of SubtitleEvent

    See http://www.tcax.org/docs/ass-specs.htm

    • Constructor Detail

      • SubTextEvent

        public SubTextEvent​(CodecID codec,
                            String lang,
                            SubTextEvent.TextFormat fmt,
                            String ass,
                            int pts_start,
                            int pts_end)
        ASS/SAA Event Line ctor
        Parameters:
        codec - the CodecID
        lang - language code, supposed to be 3-letters of `ISO 639-2 language codes`
        fmt - input format of ass
        ass - ASS/SAA compatible event line according to SubTextEvent.ASSType
        pts_start - pts start in ms
        pts_end - pts end in ms