captioning
captioning copied to clipboard
Unable to parse srt file
Hello, I'm trying to parse srt file, but always got exception "{$FILENAME} is not a proper .srt file".
$srt = new SubripFile($file);
I trying these files (in different encodings), but without success. srt.zip
Maybe somebody may provide the srt file, which is valid? Or tell me why I got this exception. Thanks. My PHP version is 7.0.4.
Are you still having this issue with the latest updates?
Tests are passing fine with PHP 7 on travis.
Because your tests use srt file with small size. Try it on file with size about 150-200 Kb.