Subtitle export issues - script help?

jeremyk wrote on 8/4/2004, 2:17 PM
Couple problems I've found with exporting subtitles from Vegas regions:

1. On long projects, the subtitles wind up in the wrong place if Vegas is set for SMPTE drop timecode. This is because DVDA seems to use non-drop SMPTE timecode. As far as I can see, the only way around it is to change Vegas's time format before exporting.

2. Subtitles in region labels containing special characters do not export properly. I really don't understand what's going on here -- Vegas and Notepad display the proper characters, but Wordpad and DVDA do not.

For instance, the character "ñ" displays as the two-character string "ñ".

(Not that it's very easy to GET special characters into the region label -- if entering from the keyboard, pressing ALT to begin an entry sequence takes you out of label entry mode. You can paste a string containing special characters from the clipboard, however.)

I'm a javascript illiterate, so I can't make much sense of the Export Regions As Subtitles script. Would it be possible to fix these two problems by changing the script? At the same time, it'd be neat to put in something to make extra subtitle lines by replacing some escape string (say, "\n") with an extra CRLF.

Comments

jeremyk wrote on 8/4/2004, 4:07 PM
Results of further experimentation:

I can clean up the bogus special characters by opening the subtitle file in Notepad, selecting all the text, copying it to the clipboard, and pasting into an empty Wordpad file. Weird! Saving it from Wordpad seems to add a ".txt" suffix no matter what, but I can rename the file.

Then I can open the resulting file with Word and change my "\n" escape sequences into CRLF sequences to get multi-line titles where desired.

And of course, before running the script to create the subtitle file, I can change the vegas timecode to non-dropframe. And afterward, change it back.

So the urgency is off getting this fixed, but it sure would be nice not to have to jump through all these hoops.