Copy link to clipboard
Copied
How do you export captions for flash videos in Adobe Animate — both with the video and captions alone?
Also what subtitles does Adobe Animate/Flash support?
Thank you for your help!
Hi.
The FLVPlaybackCaptioning component supports the .xml format for subtitles. Example:
<tt xmlns="http://www.w3.org/2006/04/ttaf1" xmlns:tts="http://www.w3.org/2006/04/ttaf1#styling" xml:lang="en">
<head>
<styling>
<style id="1" tts:textAlign="right"/>
<style id="2" tts:color="transparent"/>
<style id="3" style="2" tts:backgroundColor="white"/>
<style id="4" style="2 3" tts:fontSize="20"/>
</styling>
</head>
<body>
<div xml:lang="en">
<p begin="00:00:00.00" dur="00:00:03.07">
I had just join
...
Copy link to clipboard
Copied
Animate does not natively support subtitles. Most video codecs do not support subtitles. If you want subtitles for a video, there are third-party tools for making them.
Copy link to clipboard
Copied
I downloaded the caption file from Rev and imported it into a new ActionScript 3.0 document using the FLVPlaybackCaption component. However, now I'm not sure how to export them.
Copy link to clipboard
Copied
Hi.
The FLVPlaybackCaptioning component supports the .xml format for subtitles. Example:
<tt xmlns="http://www.w3.org/2006/04/ttaf1" xmlns:tts="http://www.w3.org/2006/04/ttaf1#styling" xml:lang="en">
<head>
<styling>
<style id="1" tts:textAlign="right"/>
<style id="2" tts:color="transparent"/>
<style id="3" style="2" tts:backgroundColor="white"/>
<style id="4" style="2 3" tts:fontSize="20"/>
</styling>
</head>
<body>
<div xml:lang="en">
<p begin="00:00:00.00" dur="00:00:03.07">
I had just joined
<span tts:fontFamily="monospaceSansSerif,proportionalSerif,TheOther" tts:fontSize="+2">Macromedia</span>
in 1996,
</p>
<p begin="00:00:03.07" dur="00:00:03.35">
and we were trying to figure out what to do about the internet.
</p>
<p begin="00:00:06.42" dur="00:00:03.15">And the company was in dire straights at the time.</p>
<p begin="00:00:09.57" dur="00:00:01.45">We were a CD-ROM authoring company,</p>
<p begin="00:00:11.42" dur="00:00:02.00">and the CD-ROM business was going away.</p>
<p begin="00:00:13.57" dur="00:00:02.50">
One of the technologies I remember seeing was Flash.
</p>
<p begin="00:00:16.47" dur="00:00:02.00">
At the time, it was called
<span tts:fontWeight="bold" tts:color="#ccc333">FutureSplash</span>
.
</p>
<p begin="00:00:18.50" dur="00:00:01.20">So this is where Flash got its start.</p>
<p begin="00:00:20.10" dur="00:00:03.00">
This is smart sketch running on the
<span tts:fontStyle="italic">EU-pin computer</span>
,
</p>
<p begin="00:00:23.52" dur="00:00:02.00">which was the first product that FutureWave did.</p>
<p begin="00:00:25.52" dur="00:00:02.00">So our vision for this product was to</p>
<p begin="00:00:27.52" dur="00:00:01.10">make drawing on the computer</p>
<p begin="00:00:29.02" dur="00:00:01.30" style="1">
as
<span tts:color="#ccc333">easy</span>
as drawing on paper.
</p>
</div>
</body>
</tt>
Source: here.
The basic steps for using captions in AS3 documents are:
- Add an instance of the FLVPlaybackComponent;
- Give this component an instance name. E.g.: video0;
- Add an instance of the FLVPlaybackCaptioning component;
- Select the instance of the FLVPlaybackCaptioning component;
- Open up Window > Component Parameters;
- Go to the captionTargetName field and type the name of your FLVPlayback component instance;
- In the source field, type the path to your captions file. E.g.: captions.xml;
- Test your movie by going to Control > Test (Ctrl/Cmd + Enter).
To export the video with the subtitles:
- Simply use the exported SWF;
- If you want a video, this will be trickier in the latest release of Animate (version 20). Because in this release it's not possible anymore to export content with AS3 to video. You can alternatively install a previous release and go to File > Export > Export Video..., choose After Time Elapsed, and then type the duration of your video;
- Another possibility is to use a third party software, like Swivel, and export your SWF to a video format.
More info about the FLVPlaybackCaptioning component:
https://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7fec.html
Please let us know if you have any more questions.
Regards,
JC