subtitle timecode offset in dvd studio pro

I have a TXT file (write in stl language) with timecode in and out and relative subtitle...
But the txt file have the TC reference of a original Beta timecode... so Begin at 01:01:00:00
when I import my txt file in dvd studio all the subtitle are offset foraward because the MPG2 file begin at 00:00:00:00
I use time code offset and set in timeline Assettimecode but I have not result...

I write in the txt file the line $tapeoffset = true
but dvd studio pro don't import the file whit this string...

Please Help ME...

Posted on Sep 28, 2005 3:33 AM

Reply
8 replies

Sep 29, 2005 7:45 AM in response to Marco Benvenuti

Welcome to the forums, Marco.

If the MPEG2 file starts at 00:00:00:00 and your subtitle file assumes a 01:00:00:00 start, and none of the other things you tried are working offset-wise, I would say to just edit your STL so that you change the leading 01: to an 00:

The way I would do this is with Bare Bones's TextWrangler (free) and do a search and replace. You would search for "\r01:" and replace with "\r00:", then search for "\r02:" and replace with "\r01:" (assuming it's not longer than 2 hrs).

The "\r" will only search for numbers preceded by a carriage return, so it'll only change the first number in the timecode and leave any others alone.

Sep 29, 2005 9:04 AM in response to Chris Vargas

Hi Chris,

STL subtitle format is

01:02:03:04, 01:02:05:12, my subtitle text

I think your method will only change the first timecode on each line.

I suggest following method to use in terminal app :

cat my subtitlefile.txt | sed -e "s/01\(:..:..:..\)/00\1/" | sed -e "s/02\(:..:..:..\)/01\1/" > my new_subtitlefile.txt

This leaves original subtitle file unchanged.
Caution: this only works with a raw text file. If the subtitle file is an .rtf file, you have to save it as a text file before.

Sep 30, 2005 7:10 AM in response to Pascal Hubrecht

D'oh. Good point Pascal, forgot about the timecode-outs. If you do it my non-regex way in TextWrangler, you'd just have to do a few more similar search-replace passes, the second time searching for commas and spaces that precede the timecode-out. (Some people have spaces surrounding the comma, some just trailing).

You could also do similar regular expression searches in TextWrangler by checking the "use grep" checkbox.

Also thanks for your warning about RTF, although I would want to use a plain text file for my subtitle file anyway, not sure RTF file would work.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

subtitle timecode offset in dvd studio pro

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.