ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

cleaning up text subtitles file for encore and after effects

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tielman Dewaele
cleaning up text subtitles file for encore and after effects
on Sep 25, 2012 at 11:27:42 am

Hello,

A company send us some subtitles .txt files.
We are planning to use this with adobe encore.
We also using some of the subtiles in After Effects(with a script pt_importsubtitles) where we need to integrate it in a specific lay out/animation.

As we understood, encore and the script can import those files
when files look like this:

3 00:00:45:01 00:00:49:22 Nous avons dû donner
tout ce que nous avions avec nous.

However the ones we got look like this:

00:00:45:01 00:00:49:22
Nous avons dû donner
tout ce que nous avions avec nous.

Some of the videos are 3 min long, but others almost an hour.

So we need to put a NR before every timecode(see example: 3), remove a tab between each timecode, remove an enter and add a space.

Its obvious we need a text editor.
What editor program could we use to achieve(accetly) this?
Has anyone had a similar problem. What exactly did you do?

MacPro Intel Quad Core 17G Ram

MacBookPro Intel Duo Core 2G Ram

Cs5 Production Premium
Cinema4D 11.5
Final Cut Studio 2


Return to posts index

Matthew Keane
Re: cleaning up text subtitles file for encore and after effects
on Sep 25, 2012 at 2:48:15 pm

I like TextWrangler, which is free and can handle all kinds of gnarly regular expressions for searching-and-replacing, which can sort out jobs like that in minutes.


Matthew Keane

Freelancer based in Paris, France
- Motion Graphics, Video Editing & Effects, Watchout Programming & Live Operation.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]