Skip to main content
Participating Frequently
September 19, 2013
Question

Do caption xml files from Premiere CC work in Flash

  • September 19, 2013
  • 1 reply
  • 1919 views

I have flv and xml closed caption files exported from Premiere CC. I'm trying to create the swf file in Flash CS6, but I can't not get the captions to show. I've gone thru a multitude of tutorials and I can get very plain demo xml files to work as captions, but the xml file output from Premiere doesn't work. The Premiere xml has tons more coding parameters, which seems to be this issue?

Does an Adobe Premiere CC xml not work in Adobe Flash CC or CS6?

thanks for your help.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
September 19, 2013

i've never used premiere but flash used a standardized timed text xml file for captions.  what does premiere produce?

RCmpr13Author
Participating Frequently
September 19, 2013

Thanks for your reply. here's a snippet on the timed text file xml generated by Premiere. I'm not real up on xml but I ran it thru an editor and it found no errors. When it runs in Flash it also doesn't generate any errors, but just doesn't show.

Since I have gotten it work in Flash with some more basic xml, I'm thinking there must be some additional stuff in there that Flash doesn't like.

(There's several minutes of captioning so I really don't want to manually go thru all the code and strip it down.)

Just a little confused that an Adobe generated xml doesn't work cross-app.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<tt xmlns="http://www.w3.org/ns/ttml" xmlns:ttp="http://www.w3.org/ns/ttml#parameter" ttp:dropMode="dropNTSC" ttp:frameRate="30" ttp:frameRateMultiplier="1000 1001" ttp:timeBase="media" xmlns:m608="http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt#cea608" xmlns:smpte="http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt" xmlns:ttm="http://www.w3.org/ns/ttml#metadata" xmlns:tts="http://www.w3.org/ns/ttml#styling">

  <head>
    <styling>
      <style tts:color="white" tts:fontFamily="monospace" tts:fontWeight="normal" tts:textAlign="left" xml:id="basic"/>
    </styling>
    <layout>
      <region tts:backgroundColor="transparent" xml:id="pop1"/>
      <region tts:backgroundColor="transparent" xml:id="paint"/>
      <region tts:backgroundColor="transparent" xml:id="rollup2"/>
      <region tts:backgroundColor="transparent" xml:id="rollup3"/>
      <region tts:backgroundColor="transparent" xml:id="rollup4"/>
    </layout>
    <metadata/>
    <media:information m608:captionService="F1C1CC" m608:channel="cc1"/>
  </head>

  <body>
    <div>
<p begin="00:00:01.00" dur="00:00:01.00">It's possible</p>

      <p begin="00:00:00:00" end="00:00:13:25" region="pop1" style="basic" tts:origin="27.50% 84.66%">
        <style tts:textAlign="center"/>
        <span>♪ music playing ♪
          <style tts:backgroundColor="#000000FF" tts:fontSize="18.00px"/>
       </span>
      </p>
    </div>
  </body>

</tt>

kglad
Community Expert
Community Expert
September 19, 2013

are those "notes" in the span tags artifacts of this forum?