Subcheck is a Perl script which checks srt subtitle files for errors. Such as overlapping, negative duration, to short displaytime, rewrite subtitle lines with another character length (useful for hardware divxplayers), etc. It is highly configurable.