jellyfin-server/MediaBrowser.Tests/MediaEncoding/Subtitles/TestSubtitles/unit.srt
Luis Miguel Almánzar f2237b858a implemented SRT Parser
2014-05-10 22:29:51 -04:00

45 lines
915 B
Plaintext

1
00:00:02.400 --> 00:00:05.200
[Background Music Playing]
2
00:00:15,712 --> 00:00:17,399 X1:000 X2:000 Y1:050 Y2:100
Oh my god, Watch out!
It's coming!!
3
00:00:25,712 --> 00:00:30,399
[Bird noises]
4
00:00:31,000 --> 00:00:31,999
This text is <font color="red">RED</font> and has not been {\pos(142,120)}positioned.
5
00:00:32,000 --> 00:00:32,999
This is a\nnew line, as is\Nthis
6
00:00:33,000 --> 00:00:33,999
This contains nested <b>bold, <i>italic, <u>underline</u> and <s>strike-through</s></u></i></b> HTML tags
7
00:00:34,000 --> 00:00:34,999
Unclosed but <b>supported HTML tags are left in, {\i1} SSA italics aren't
8
00:00:35,000 --> 00:00:35,999
<ggg>Unsupported</ggg> HTML tags are escaped and left in, even if <hhh>not closed.
9
00:00:36,000 --> 00:00:36,999
Multiple {\pos(142,120)\b1}SSA tags are stripped
10
00:00:37,000 --> 00:00:37,999
Greater than (<) and less than (>) are shown