QT: How to create subtitles

Welcome to a new tutorial on how to create subtitles on a quicktime movie.

Now you probably thinking why you want to do that. Well, I received last week the task to create a video synchronized with some sub’s, actually it would be the same like you see on a DVD. but… the movie should be resizable and the text changed without spending to much time on it.

That just striked my idea of going into Premiere or After Effects and create the subtitles there, so I’ve started to surf around the web searching for any way of doing this job. Various ways were described, using qt text, using smil and so on. But there was simply no tutorial around which would explain me how to do it.

You probably have enough of me now, and want to get your hands dirty on this, so let’s start:

Requirements

  • Apple Quicktime Pro
  • Notepad or your favorite text editor

  • {QTtext}{font: Arial}{justify: center}{size: 12}{backcolor:0, 0, 0}
    {timescale: 100}{width: 286}{height: 0}
    [00:00:03.00]
    {justify:left}this is my first slide
    [00:00:06.00]
    {justify:left}this is my first slide2
    [00:00:10.00]
    {justify:left}this is my first slide3
    [00:00:12.00]
    {justify:left}this is my first slide4
    [00:00:20.00]
    {justify:left}this is my first slide5

    Now let us have a closer look at the single elements of this file:

    The first tag defines which type of file this is, like you know from HTML or XML also called the standard definition.
    {QTtext}

    The font for the subtitles is choosen, watch out that you pick a font that is readable on all possible sizes.
    {font: Arial}

    The basic alignment of the subtitle, you can choose from: left, center and right
    {justify: center}

    Font size, this has to be carefully chosen, depending on the width of the movie and the maximum length of your subtitle
    {size: 12}

    The background color of the subtitle
    {backcolor:0, 0, 0}

    FPS (frames per second of the movie)
    {timescale: 100}

    pretty obvious no? ;)
    {width: 320}

    also obvious BUT.. there is a “hack” if you put a zero in the height tag, QT will dynamically decide how big the subtitle box should be in case of very long subtitles go for a 0
    {height: 20}

    Time code, alignment and the subtitle. Time code format must be: hh:mm:ss:fr. you can also change the alignment for every single subtitle by changing the justify to left, right or center. But you can also delete the justify tag if you want to keep the “global” style that you defined at the beginning.
    [00:00:00.00]{justify:center}this is my first subtitle

    With our .txt file done, start Quicktime Pro and open the txt file that you created. Now you thinking, What?? Is this guy nuts? opening a txt file with a media player? oh well let’s go for it ;)

    oh look at that.. quicktime shows us the text we typed in :)
    screeny1

    Next question.. How do we put the subtitles in our movie?
    As strange as it sounds.. just follow this lines :)

    1- Open the txt file and the movie where you want to have your subtitles in 2 different players.
    screeny2

    2 – on the subtitles “movie” ensure that your playhead is at 00:00, and press CTRL+A (Select all) & CTRL+C (copy), you will notice that the small brackets underneath the timeline get darker.

    3 – go to your movie movie ;) , and press CTRL+ALT+V (add to movie)
    This will place the text movie into our movie, and here you have your subtitles.
    screeny3

    Hey we not finished yet.. there is one thing missing, maybe you would like to reposition the subtitle or to make it transparent.

    On your subtitled movie, press CTRL+ J to open the movie properties, select the text track and open the visual settings tab
    Go through all the settings, play with them, you can view the changes dynamically.

    screeny4
    Now that you’re done, you just need to save the file as you may want to deliver them, for an iPod as an M4V or as a mov or what ever you want.

    Have fun making subtitles
    Tiago Dias

    Leave a comment

    17 Comments.

    1. I just tried some new s/w posted on versiontracker today called MovCaptioner that adds a text track automatically. It’s pretty cool. Here is the direct url to their website: http://www.slidesnow.com/movcaptioner
      You basically keep typing what you hear (it repeats a snippet of the movie till you hit the return key then it moves on), then click a button and it makes the text track automatically. Oh, it makes transcripts too.

      I didn’t know you could have a text track play on an iPod, though. I’ll have to try that.

    2. Thanks, Bill. BTW, I have just released a new version of MovCaptioner that will allow the user to create movie captions in SMIL format and Flash CS3 format as well as embedded QT caption tracks. It will also output transcripts with timestamps and improvements to the interface make it even easier to create and edit captions.

    3. The newest version will allow Mac users to make SAMI captions with Windows Media movies and also SRT and SUB files that you can do closed captioning with Google Video. I also noticed that they changed the link to their website. It is now http://www.synchrimedia.com
      Now, if they could just make a Windows version!

    4. If you tire of manually lining things up and/or typing I would suggest CaptionSync, an automated captioning service which also has some tutorials on embedding captions and subtitles into vodcasts at http://www.automaticsync.com/caption/podcaption.htm

    5. Hey, Bill,
      Is there a version of Movcaptioner for Windows? I can’t find a version for Windows on the http://www.synchrimedia.com.

      If you have one, would u mind mail me? leomayleomay@gmail.com

    6. Thanks for the guide – really helpful. But I wonder if ou’vecome across this particular problem? I just finished adding captions to a “Hitler’s Downfall” mashup video, but after I uploaded to YouTube all the captions were missing! Any ideas or hints?

    7. I am so thankful for your tutorial of mp3 player with playlist. Now, I wanted to add the photo of the artist anywhere on stage. Can you kindly help me?

    8. I mean when I click ctrl+A.

    9. Hi and interesting reading. I have done this a couple of times on my pilots and serials. Right now I am going to a show in Holland and have burnt my QT movies with iDVD… guess what. All these text have disappeared.

      Is there anyone that has a clue?
      Leif

    10. TO the people’s whose captions disappeared, sounds like you used “Save” or “Save As…” instead of “Export…”

    11. a good post keep good workinh :smile:

    12. Hi there,

      Thanks for the tutorial, it was really useful. I know this is an old article but if there is anyone out there who could tell me if its possible to make the subtitle background transparent the help would be much appreciated! Thanks!

    13. Hello there,

      This is a message for the webmaster/admin here at blog.six4rty.ch.

      May I use some of the information from your blog post right above if I give a link back to your website?

      Thanks,
      Jules

    14. Thanks for this tutorial, I tried to do it once but it was such a pain I quit.

    15. You can use this technique to add hyperlinks, too. Just put the starting and ending times for display of the hyperlink in the time line. Example:
      [00:01:52]
      {HREF:A T} CLICK HERE for QuickTime Text Track tutorial. {endHREF}
      [00:02:03]

      A great way to add captions is to use World Caption – free from the University of Wisconsin.
      http://lss.wisc.edu/worldcaption

    16. Here are a few more points that I learned after using the great instructions in Tiago Dias posting.
      *************

      Addendum: (For Quicktime Pro version 7.6.9)

      To put the subtitle or open caption below the video, go to the Quicktime menu and open and you’ll see the window below. Highlight “Text Track” by clicking on it, and click the “visual settings” tab.

      In the offset settings type in the pixel height of your video (in this case 240) in the second box ((the “y” axis, vertical setting). This will move the captions down below the video so you open captions or subtitles will not block the image or any titles in the video. (note: In the image below, the title size had mistakely been set to full 720 width. All the 720 settings in the “x” axis, horizontal, should have been 360 to match the 360 x240 size for the video.

      If you want to change the placement of the title horizontally, change the first number of the Offset settings , the horizontal x-axis.

      COMBINING FILES TO APPLY A CLOSED CAPTION FILE. THEN CUTTING THEM APART

      If you have one caption file for several video segments in a DVD, you can recombine them to add the captions in Quicktime Pro.

      In each segment you want to add, click in the timeline, select from the menu and then you can copy the video segment.

      Now go to the video where you want to add the segment, place the playhead at the end of the video, and then select from the menu .

      Then save the Quicktime file to a new file name.

      To cut the open captioned files back up into separate files with captions, do the following.

      Save the file to a new name, so you don’t lose your master file.

      Use the selection tabs at the bottom of the time line to mark the beginning and end of the section you want to make into a new segment.

      Now select from the Quicktime menu .

      The new shorter video segment will still have the proper title files.

      SAMPLE OPEN CAPTION FILE
      Here is a sample file for open captions. A couple things to note:

      This sample is sized for a 360×240, 15 fps Quicktime file.

      This uses the global setting for title size and placement at the start of the captions.

      The time is set to match the time code on the titles (29.97 fps) from the original captions prepared for DVD. Even though the video web video was 15 frames per second (fps), the timing worked correctly.

      To display the last title, there must be a time code set after the last title.

      If you want a title to go off screen before the next title comes up, there must be a timecode with no title indicating the time it should disappear. See [00:00:32.08]
      in the sample.

      {QTtext}{font: Arial}{justify: left}{size: 24}{backcolor:0, 0, 0}
      {timescale: 29.97}{width: 360}{height: 0}

      [00:00:02.08]
      [00:00:04.08] Hello, my name is
      Richard.

      [00:00:07.09] Welcome to Project Management

      [00:00:09.22] Leadership Overview:
      Online Edition.

      [00:00:12.05] I have been training project
      managers for over 20 years,

      [00:00:15.18] but I am
      particularly excited today

      [00:00:18.00] to be discussing
      your enterprise-wide

      [00:00:20.17] Project Management Training
      initiative with you.

      [00:00:23.19] I am excited for three reasons.

      [00:00:26.16] First, I am a 100% believer

      [00:00:29.27] in the power of effective
      project management.

      [00:00:32.08]

      [00:00:33.08] One of the great things
      about being a consultant

      [00:00:36.24] is that you get to travel from
      organization to organization

      [00:00:40.23] and see a multitude
      of differences

      [00:00:43.04] in how organizations
      and people perform.

      [00:00:47.00]

    Leave a Reply

    Your email address will not be published.


    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">