Caption format questions (ITT & CEA-608)

When I create a closed captions (ITT format) in FCPX, it defaults to white text on a black background. I export the captions. If I clear the captions from my project and re-import the captions into the same project, the black background disappears. (There are also no validation errors!) Importing ITT captions in general seems to remove the black strip. Is there any way to restore the black background? I know I can restore the black strips if I switch to CEA-608... that's not really an optimal solution. The reason I'm asking is: I've created a tool that will convert SRT files to ITT format. I'd like to be able to have users import the captioning and make it look like captioning and not subtitles.

iMac, macOS High Sierra (10.13.2), Late 2013 i7 27 inch 780M gpu

Posted on Apr 11, 2018 12:52 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 11, 2018 11:07 AM

Hi Ben,


Most of the work I've done with captioning up til now has been SRT*. It is "stupidly simple": a line number, a time range in HR:MN:SC,ms format, good for any frame rate and up to two lines of text (followed by another newline), but always in 5 line blocks of text only. It also seems to be the most prevalent form of CC. Since it is so widespread in usage, I thought it would be convenient to be able to import them into FCPX. SCC is off-the-charts complicated, luckily, FCPX will already import SCC files. ITT format is the next most simple format I've seen mainly because it's in readable XML and it's a simplified version of the cea-608 spec. FCPX converts readily back and forth from ITT and 608 (and that's a good thing).


About an hour after I posted my request, I figured out that simply converting to 608 and back to ITT restores the black strip backgrounds for ITT. It's a little ridiculous, and was hoping for a "better way" but it works. I can just make a note of it in my instructions that changing formats back and forth will fix the problem or simply import as ITT and convert to 608. There are much better controls over the 608 captioning anyway, including the Text Background Color option (which appears to be *missing* from the ITT options!) Restarting FCPX does not seem to fix the problem of missing black backgrounds (I only just launched FCPX after today's startup...)


Guess it's feedback time...


I'll get back with a link if you'd like to try out the SRT converter when I've finished it (I need to move it to another site.)


Thanks for your suggestion.


*before CC support, if I needed to I would run an SRT through Textwrangler and strip out all the line numbers and timing lines (regex) and save the file as a "manuscript"; import that file into Motion and keyframe the lines for subtitles - a little time consuming, but easy.

Similar questions

16 replies
Question marked as Top-ranking reply

Apr 11, 2018 11:07 AM in response to BenB

Hi Ben,


Most of the work I've done with captioning up til now has been SRT*. It is "stupidly simple": a line number, a time range in HR:MN:SC,ms format, good for any frame rate and up to two lines of text (followed by another newline), but always in 5 line blocks of text only. It also seems to be the most prevalent form of CC. Since it is so widespread in usage, I thought it would be convenient to be able to import them into FCPX. SCC is off-the-charts complicated, luckily, FCPX will already import SCC files. ITT format is the next most simple format I've seen mainly because it's in readable XML and it's a simplified version of the cea-608 spec. FCPX converts readily back and forth from ITT and 608 (and that's a good thing).


About an hour after I posted my request, I figured out that simply converting to 608 and back to ITT restores the black strip backgrounds for ITT. It's a little ridiculous, and was hoping for a "better way" but it works. I can just make a note of it in my instructions that changing formats back and forth will fix the problem or simply import as ITT and convert to 608. There are much better controls over the 608 captioning anyway, including the Text Background Color option (which appears to be *missing* from the ITT options!) Restarting FCPX does not seem to fix the problem of missing black backgrounds (I only just launched FCPX after today's startup...)


Guess it's feedback time...


I'll get back with a link if you'd like to try out the SRT converter when I've finished it (I need to move it to another site.)


Thanks for your suggestion.


*before CC support, if I needed to I would run an SRT through Textwrangler and strip out all the line numbers and timing lines (regex) and save the file as a "manuscript"; import that file into Motion and keyframe the lines for subtitles - a little time consuming, but easy.

Apr 12, 2018 6:26 AM in response to fox_m

After I've installed 10.4.1 I quickly tested the ITT import. The re-import doesn't show the background.

Here we get into a strange situation:

I searched the ITT specs, it doesn't allow backgrounds other than transparent. So the import is correct.

Following the ITT specs it means that FCP has a bug while creating ITT subtitles. The black background shouldn't be there.

To keep the black background you've to use an fcpxml file 😀

Apr 11, 2018 3:13 PM in response to Tom Wolsky

SRT by default delivers text, style, color. In it's advanced format (Web VTT) it can deliver alignment, speaker and more.

ITT as a derivate of DFXP/TTML in it's current version (5.2 as far as I know) supports the standard SRT set. By DEFAULT in the Apple ITT the background is ALWAYS visible.

So if an Apple FCPX XML export of the ITT captions is re-imported without background that's a bug!

If a 3rd party ITT comes in with no background it might be a feature ;-)


Anyway, I think most of the FCPX users have no idea about captions, subtitles, open captions and specs/requirements which come along with them.


Within the next few weeks my X-Title tools will support cross conversions.

Apr 11, 2018 10:32 AM in response to Tom Wolsky

Hi Tom,


I thought that at first, but the conversion is 100% perfect mainly due to the fact that I went through every possible framerate and generated a CC file, studied the generated code and followed it down to the number of spaces used to indent XML lines and the user has to supply the framerate for the target project. I even correct for start and end frame numbers — there is never an overlap. It also doesn't make sense that I can import ITT files exported by FCPX and they come back in without the black background strips.


I did figure out a workaround (in the reply to BenB)—I was just hoping for some thing I overlooked to restore or reset that black strip.

Apr 11, 2018 3:13 PM in response to spherico

Can you point me in the direction of an SRT that delivers styles? All I've ever seen is this format:

1
00:00:00,599 --> 00:00:04,160
>> ALICE: Hi, my name is Alice Miller and this is John Brown

2
00:00:04,160 --> 00:00:06,770
>> JOHN: and we're the owners of Miller Bakery.

3
00:00:06,770 --> 00:00:10,880
>> ALICE: Today we'll be teaching you how to make
our famous chocolate chip cookies!

4
00:00:10,880 --> 00:00:16,700
[intro music]

[Subviewer is almost the same format except no line numbers and time is hr:mn:sc.ms instead of ,ms — I might be able to tweak my regex to accept Subviewer as well.]


I agree that the disappearing black strip is a bug! But good to know it's not likely my translations.

Apr 11, 2018 2:59 PM in response to Tom Wolsky

I stand corrected... although Subrip is actually an open source (Windows) application used to literally rip subtitles from any digital video source (line 21's I figure... a.k.a. EIA-608s). My little script just turns them back into ITT which seems to be a subset of cea-608.


I was originally using SRT files to create subtitles with Motion. It was extremely easy to strip out the line numbers and timing lines with Textwrangler (free app) that has regular expression search/replace. Then use the resultant file (File generator) in Motion setting keyframes on the Speed parameter (interpolation Constant). So *this* project of mine is more of the same thing except now the time spent going through a project and keyframing lines of text is no longer necessary.

Apr 11, 2018 6:30 PM in response to spherico

Didn't say SRT was an app -- I said "SubRip" is a windows app. And yes, the format has been around for quite awhile now.


SRT style is like HTML style: like <i> for italic

Read the iTunes/ITT specs published by Apple how to match styles.

I've never seen that in an srt file (although I just did find an example).


Thanks for the heads up!

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.

Caption format questions (ITT & CEA-608)

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