A SubRip encoder/decoder made for CSharp .NET Framework
The library DLL download is avaible on the releases page.
This library is as simple as it can get!
using CSubRip;
public class Program
{
void Main(string[] args)
{
List<SubRipParagraph> srtParagraphs = Decoder.DecodeToObject("[SUBRIP STRING HERE]");
// YOUR CODE HERE!
}
}Thats the basic structure of a SubRip (.srt) file!
1
00:00:00,000 -> 00:10:00,000
Hello World!
2
00:10:00,000 -> 01:00:00,000
This message will be in screen for the next 50 minutes...