add adjust time function for ass and srt subtitle