Method | Description | |
---|---|---|
ParseStream ( Stream srtStream, |
||
SrtParser ( ) : System |
Method | Description | |
---|---|---|
GetSrtSubTitleParts ( TextReader reader ) : IEnumerable |
Enumerates the subtitle parts in a srt file based on the standard line break observed between them. A srt subtitle part is in the form: 1 00:00:20,000 --> 00:00:24,400 Altocumulus clouds occur between six thousand
|
|
ParseSrtTimecode ( string s ) : int |
Takes an SRT timecode as a string and parses it into a double (in seconds). A SRT timecode reads as follows: 00:00:20,000
|
|
TryParseTimecodeLine ( string line, int &startTc, int &endTc ) : bool |
public ParseStream ( Stream srtStream, |
||
srtStream | Stream | |
encoding | ||
return | List |