Thursday, October 8, 2009

tsMuxeR – Invalid SRT format

I’ve been playing with converting some videos to different formats and tsMuxeR is one tool I’m trying.   When including a subtitle SRT file in the mux, I would get the following error:

Invalid SRT format. "0036D148" is invalid timing info

Google didn’t reveal what the cause could be, so after much trial and error, I found that tsMuxeR does not like it when multiple lines of subtitles are seperated by two linebreaks instead of just one.

So the following text would trigger the error:

22
00:02:26,400 --> 00:02:29,551
He would wait for her

until he drew his last breath,

So it needs to be changed to:

22
00:02:26,400 --> 00:02:29,551
He would wait for her
until he drew his last breath.

The percentage that tsMuxeR errors at is roughly relative to where in the srt the invalid data is.  This can help you identify where to start looking for problems.

8 comments:

Anonymous said...

Thanks!

I just ran across this same issue and desecting the SRT file is a no-brainer for me. I don't need the subtitles.

Anonymous said...

Excellent!

works fine now

luis said...

and how do YOu edit the subtitle? wich program do you use?

microUgly said...

SRT files are just text files. So you can use any text editor, such as Notepad. I specifically use Notepad++ for editing text files.

spirit523n said...

I have tried unchecking the two boxes which refer to SRT when using tsMuxeR since I dont need subtitles but still get the Invalid SRT format error. What to do?

Anonymous said...

I have tried unchecking the two boxes which refer to SRT when using tsMuxeR since I dont need subtitles but still get the Invalid SRT format error. What to do? Also I have .mkv file I am trying to burn to BD. Where is the SRT file located? I only have the one .mkv file

Anonymous said...

fine, i diable subtitel and it works :)

Anonymous said...

The srt edit program "Improve srt files" repairs faults in srt files.
See link below.

http://www.gratissoftwaresite.nl/testlab/Verbeteren+srt+files+ondertiteling

Post a Comment