Task
Description
SRTs sometimes have lots of whitespace (which is part of the caption data) but which we can clear up in our SRT payloads.
00:14:41,825 --> 00:14:44,444
tuberculosis, including infections,
00:14:44,444 --> 00:14:44,444
00:14:44,444 --> 00:14:46,029
nervous system and lymphoma, other cancers,
00:14:46,029 --> 00:14:47,581
and allergic reactions
I think it would be reasonable to (A) trim the white space at the front and end and (B) convert \s* to just a single space.
Note this is not talking about changing the captions -- this is just for the SRT appliance.
Task
Description
SRTs sometimes have lots of whitespace (which is part of the caption data) but which we can clear up in our SRT payloads.
I think it would be reasonable to (A) trim the white space at the front and end and (B) convert
\s*to just a single space.Note this is not talking about changing the captions -- this is just for the SRT appliance.