ttml2srt.php This is a simple script for converting TTML subtitle files to SRT ones. Tested with TTML files on tv.nrk.no. It assumes the data is structured like this: <tt> <body> <div> <p>(...)</p>