Log in

View Full Version : Subtitle timecode nightmare


Lyris
13th January 2009, 11:44
Hi everyone, I'm currently in the process of exporting subtitles from Sony DVD Architect, so I can convert them to Spruce Technologies STL format to import them into DVD Studio Pro 4 on the Mac.

All of my MPEG-2 video assets are encoded as DVD-compliant 23.976fps with Cinema Craft SP2. These files were then imported to DVD Architect and subtitled inside that program. The problem I'm getting is that the timecodes on the exported subtitle file don't correspond to what I see in DVD Architect, which causes problems later.

Here's how I do this: I choose to export the subs from DVD Architect as a "DVD Studio Pro .txt" script. Easy, right? No, DVD Studio Pro doesn't like this file. Reading the documentation, Apple don't seem to document exactly what a "DVD Studio Pro" .txt file should be like (does anyone have an example of a "good one"?), and recommend using the Spruce .STL Format.

OK, so I use Subtitle Workshop to try and convert the file that DVD Architect output. No dice, the file is in Unicode and it was ANSI. So I run it through StringConverter to get an ANSI version out. Bingo, Subtitle Workshop likes it. And can save an .STL file which DVD Studio Pro happily imports.

One problem: the timing of the subtitle events is not exact. They're not horribly wrong, but they tend to lag sometimes up to a second or two behind. On closer inspection, the problem is that DVD Architect, the text file it outputs, and Subtitle Workshop, are all reporting different time codes!!

It's easier to explain with pictures:

http://i51.photobucket.com/albums/f383/lyris1/subs-1.jpg

As you can see, there seems to be an awful lot of unnecessary alterations made to the timing. Is there any easy way for me to avoid all of this, and just grab the In and Out points from DVD Architect's output script and have Subtitle Workshop (or any other tool) pass them through without altering them?

Many thanks to anyone who can help me with this annoyance :)

GrofLuigi
13th January 2009, 14:58
Subtitle Workshop won't alter your files if you set the two fields (in your screenshot, the left side - "Input FPS" and "FPS") to same value. Did you set them to different ones intentionally?

Aditionally, SW's updated SubtitleApi (http://www.urusoft.net/download.php?lang=1&id=subtitleapi) might help.

GL

Lyris
13th January 2009, 22:45
It is altering the files though, even although both FPS rates are set to the same thing.

The problem seems to be that Subtitle Workshop - correct me if I'm wrong - works internally in Hours:Minutes:Seconds:Milliseconds, but both the in and out files are H:M:S:Frames.

SubtitleAPI hasn't helped, but thanks for the suggestion. This looks like a very lengthy resubbing job :(
DVD Studio Pro's subtitling capabilities seem really poor compared to DVD Architect's, this is driving me nuts.
The only format I've had any sort of success with importing is .STL. DVD Studio Pro rejects any .txt file I give it...

GrofLuigi
14th January 2009, 00:26
The problem seems to be that Subtitle Workshop - correct me if I'm wrong - works internally in Hours:Minutes:Seconds:Milliseconds, but both the in and out files are H:M:S:Frames.
That's what MODE box in your screenshot is about. :cool:

...err, I think. I've looked in the manual and couldn't find specific explanation.

My setup has: Mode:Time; Input FPS = FPS = 25; Work With: Both. And I have no problems.

I know nothing about the other programs.

GL

Lyris
14th January 2009, 01:43
Afraid not, "FRAMES" just displays exact frame numbers inside Subtitle Workshop. What's written out to the file is exactly the same, this setting is for display only.

I think I'm just going to have to import the subs with messed up timing then correct each one by hand.