]> git.sesse.net Git - ffmpeg/blob - tests/ref/fate/sub-textenc
Merge commit '0801853e640624537db386727b36fa97aa6258e7'
[ffmpeg] / tests / ref / fate / sub-textenc
1 1
2 00:00:00,000 --> 00:00:00,000
3 Don't show this text it may be used to insert hidden data
4
5 2
6 00:00:01,500 --> 00:00:04,500
7 SubRip subtitles capability tester 1.3o by ale5000\r
8 Use VLC 1.1 or higher as reference for most things and MPC Home Cinema for others\r
9 This text should be blue\r
10 This text should be red\r
11 This text should be black\r
12 If you see this with the normal font, the player don't (fully) support font face
13
14 3
15 00:00:04,500 --> 00:00:04,500
16 Hidden
17
18 4
19 00:00:04,501 --> 00:00:07,500
20 This text should be small\r
21 This text should be normal\r
22 This text should be big
23
24 5
25 00:00:07,501 --> 00:00:11,500
26 This should be an E with an accent: È\r
27 日本語\r
28 This text should be bold, italics and underline\r
29 This text should be small and green\r
30 This text should be small and red\r
31 This text should be big and brown
32
33 6
34 00:00:11,501 --> 00:00:14,500
35 This line should be bold\r
36 This line should be italics\r
37 This line should be underline\r
38 This line should be strikethrough\r
39 Both lines\r
40 should be underline
41
42 7
43 00:00:14,501 --> 00:00:17,500
44 >\r
45 It would be a good thing to\r
46 hide invalid html tags that are closed and show the text in them\r
47 but show un-closed invalid html tags\r
48 Show not opened tags\r
49 <
50
51 8
52 00:00:17,501 --> 00:00:20,500
53 and also\r
54 hide invalid html tags with parameters that are closed and show the text in them\r
55 but show un-closed invalid html tags\r
56 This text should be showed underlined without problems also: 2<3,5>1,4<6\r
57 This shouldn't be underlined
58
59 9
60 00:00:20,501 --> 00:00:21,500
61 This text should be in the normal position...
62
63 10
64 00:00:21,501 --> 00:00:22,500
65 This text should NOT be in the normal position
66
67 11
68 00:00:22,501 --> 00:00:24,500
69 Implementation is the same of the ASS tag\r
70 This text should be at the\r
71 top and horizontally centered
72
73 12
74 00:00:22,501 --> 00:00:24,500
75 This text should be at the\r
76 middle and horizontally centered
77
78 13
79 00:00:22,501 --> 00:00:24,500
80 This text should be at the\r
81 bottom and horizontally centered
82
83 14
84 00:00:24,501 --> 00:00:26,500
85 This text should be at the\r
86 top and horizontally at the left
87
88 15
89 00:00:24,501 --> 00:00:26,500
90 This text should be at the\r
91 middle and horizontally at the left\r
92 (The second position must be ignored)
93
94 16
95 00:00:24,501 --> 00:00:26,500
96 This text should be at the\r
97 bottom and horizontally at the left
98
99 17
100 00:00:26,501 --> 00:00:28,500
101 This text should be at the\r
102 top and horizontally at the right
103
104 18
105 00:00:26,501 --> 00:00:28,500
106 This text should be at the\r
107 middle and horizontally at the right
108
109 19
110 00:00:26,501 --> 00:00:28,500
111 This text should be at the\r
112 bottom and horizontally at the right
113
114 20
115 00:00:28,501 --> 00:00:31,500
116 This could be the most difficult thing to implement
117
118 21
119 00:00:31,501 --> 00:00:50,500
120 First text
121
122 22
123 00:00:33,500 --> 00:00:35,500
124 Second, it shouldn't overlap first
125
126 23
127 00:00:35,501 --> 00:00:37,500
128 Third, it should replace second
129
130 24
131 00:00:36,501 --> 00:00:50,500
132 Fourth, it shouldn't overlap first and third
133
134 25
135 00:00:40,501 --> 00:00:45,500
136 Fifth, it should replace third
137
138 26
139 00:00:45,501 --> 00:00:50,500
140 Sixth, it shouldn't be\r
141 showed overlapped
142
143 27
144 00:00:50,501 --> 00:00:52,500
145 TEXT 1 (bottom)
146
147 28
148 00:00:50,501 --> 00:00:52,500
149 text 2
150
151 29
152 00:00:52,501 --> 00:00:54,500
153 Hide these tags:\r
154 also hide these tags:\r
155 but show this: {normal text}
156
157 30
158 00:00:54,501 --> 00:01:00,500
159 \r
160 \ N is a forced line break\r
161 \ h is a hard space\r
162 Normal spaces at the start and at the end of the line are trimmed while hard spaces are not trimmed.\r
163 The\hline\hwill\hnever\hbreak\hautomatically\hright\hbefore\hor\hafter\ha\hhard\hspace.\h:-D
164
165 31
166 00:00:54,501 --> 00:00:56,500
167 \r
168 \h\h\h\h\hA (05 hard spaces followed by a letter)\r
169 A (Normal  spaces followed by a letter)\r
170 A (No hard spaces followed by a letter)
171
172 32
173 00:00:56,501 --> 00:00:58,500
174 \h\h\h\h\hA (05 hard spaces followed by a letter)\r
175 A (Normal  spaces followed by a letter)\r
176 A (No hard spaces followed by a letter)\r
177 Show this: \TEST and this: \-)
178
179 33
180 00:00:58,501 --> 00:01:00,500
181 \r
182 A letter followed by 05 hard spaces: A\h\h\h\h\h\r
183 A letter followed by normal  spaces: A\r
184 A letter followed by no hard spaces: A\r
185 05 hard  spaces between letters: A\h\h\h\h\hA\r
186 5 normal spaces between letters: A     A\r
187 \r
188 ^--Forced line break
189
190 34
191 00:01:00,501 --> 00:01:02,500
192 Both line should be strikethrough,\r
193 yes.\r
194 Correctly closed tags\r
195 should be hidden.
196
197 35
198 00:01:02,501 --> 00:01:04,500
199 It shouldn't be strikethrough,\r
200 not opened tag showed as text.\r
201 Not opened tag showed as text.
202
203 36
204 00:01:04,501 --> 00:01:06,500
205 Three lines should be strikethrough,\r
206 yes.\r
207 Not closed tags showed as text
208
209 37
210 00:01:06,501 --> 00:01:08,500
211 Both line should be strikethrough but\r
212 the wrong closing tag should be showed
213