Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Importing subtitles as BMP files

Hi,

I am having some trouble importing subtitles into DVD SP. I have 489 .bmp files. I have a log in the following format:

00:00:03:20 00:00:05:17 VTS 020 From SubResync_0001.bmp
00:00:06:16 00:00:08:03 VTS 020 From SubResync_0002.bmp
00:00:09:19 00:00:10:23 VTS 020 From SubResync_0003.bmp
00:00:11:24 00:00:13:15 VTS 020 From SubResync_0004.bmp
00:00:14:14 00:00:15:13 VTS 020 From SubResync_0005.bmp
00:00:17:07 00:00:19:06 VTS 020 From SubResync_0006.bmp

etc.

My log is in the same folder as my graphics files. I get the following error when trying to import:

No corresponding subtitles found. The video asset timecode may not correspond with the timecode specified for the subtitles in the import file or the file is invalid.

I checked the manual about STL files. Do I need to add $SetFilePathToken at the top of my log? Also, I tried importing my subs with zero-based timecode and asset based timecode but I get errors. Any ideas?

Help is very appreciated.

G5, Mac OS X (10.4.8)

Posted on Feb 22, 2007 8:44 AM

Reply
Question marked as Best reply

Posted on Feb 22, 2007 9:06 AM

Sorry if I'm being a geek on the details, but you are actually formating your text file with 1 tab, a comma, then another tab between line element, no?

meaning this:
00:00:03:20 00:00:05:17 VTS 020 From SubResync_0001.bmp

is actually this:
00:00:03:20 , 00:00:05:17 , VTS 020 From SubResync_0001.bmp

And, yeah, I'm pretty sure you have to use the $SetFilePathToken = <<Graphic>> command in your header, then append every entry to read as follows:
00:00:03:20 , 00:00:05:17 , <<Graphic>>VTS 02_0_From_SubResync0001.bmp

[Just a shot in the dark, but I'm not sure if having spaces in the file name (VTS 020 From SubResync_0001.bmp) works with DVDSP, if that's what you're doing.]
4 replies
Question marked as Best reply

Feb 22, 2007 9:06 AM in response to olobay1

Sorry if I'm being a geek on the details, but you are actually formating your text file with 1 tab, a comma, then another tab between line element, no?

meaning this:
00:00:03:20 00:00:05:17 VTS 020 From SubResync_0001.bmp

is actually this:
00:00:03:20 , 00:00:05:17 , VTS 020 From SubResync_0001.bmp

And, yeah, I'm pretty sure you have to use the $SetFilePathToken = <<Graphic>> command in your header, then append every entry to read as follows:
00:00:03:20 , 00:00:05:17 , <<Graphic>>VTS 02_0_From_SubResync0001.bmp

[Just a shot in the dark, but I'm not sure if having spaces in the file name (VTS 020 From SubResync_0001.bmp) works with DVDSP, if that's what you're doing.]

Feb 22, 2007 9:09 AM in response to hanumang

Sorry if I'm being a geek on the details, but you are
actually formating your text file with 1 tab, a
comma, then another tab between line element, no?

meaning this:
00:00:03:20 00:00:05:17 VTS 020 From
SubResync_0001.bmp

is actually this:
00:00:03:20 ,
00:00:05:17 ,
VTS 020 From SubResync_0001.bmp


I am using 1 tab but I am not using a comma. I will try it with the $SetFilePathToken = <<Graphic>>. If that dosn't work, I will get rid of the spaces bewteen my subs. I will post back with the results.

Thanks.

Feb 22, 2007 9:44 AM in response to olobay1

Thanks for your reply. It worked. I needed to do like you said.

$SetFilePathToken = <<Graphic>>
00:00:03:20 , 00:00:05:17 , <<Graphic>>VTS 020 From SubResync_0001.bmp

That is in point - TAB - COMMA - TAB - out point - TAB - COMMA - <<Graphic>>Filename with spaces is ok.

Now, my subs need a bit of touching up. I need to change a few settings with some commands. I want to change the mapping style to Chroma and change the text to black and 15 opacity and change the Outline 1 to white and opacity 15, and keep Outline 2 and background to 0. Tell me if this will work.

$ColorIndex1 = black
$ColorIndex2 = white
$TextContrast = 15
$Outline1Contrast = 15
$SetFilePathToken = <<Graphic>>
00:00:03:20 , 00:00:05:17 , <<Graphic>>VTS 020 From SubResync_0001.bmp

etc

Spacing is as follows: $ColorIndex1 - SPACE - = - SPACE

I think that would work but I'm not sure about writing black and white. I might need their codes which I don't know. Don't know how to change the mapping style to chroma. What do you think?

Feb 22, 2007 10:56 AM in response to olobay1

You'll have to salt to taste for a lot of the more aesthetic options (TextContrast, OutlineContrast, etc) but in terms of ColorIndex, when you're in DVDSP, select a subtitle (or create a new one just for testing purposes), then select the Colors tab in the Inspector. The order of the colors in the color pop-up box (from top down) is the number that you need. But be warned, the order starts at 0, not 1.

For instance, on my system, Black would be a value of 1 (it's the second option, Red is the first and that would be 0). On my system, White is a value of 3 (because it's the 4th color listed from the top). But being that you can change the order (and colors) in the DVDSP preferences, be sure to confirm what's what for you.

In terms of doing Chroma mapping, I'm a little rusty, but I believe if your images are prepared/adjusted accordingly (ie text is pure black, outline1 is pure red, etc) it's just a matter of altering the one subtitle (once all are imported into your track), then hitting Apply to Stream (again, in the Color tab of the Inspector). But I could be off the mark on that one...

Importing subtitles as BMP files

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