Closed Caption File
-
Hi,
Just wondering if you have had any experience with exporting a closed caption file (WEBVTT or SRT) based on the a versioned file. We have a comp which is composed of strung together comps. Comps are turned on or off based on data. Content of the comps have some updated text with each version. I’m looking to automate producing a WEBVTT file based on the timings of the comps strung together, and the text content of those comps. Any suggestions would be greatly appreciated!
Pete
-
@pbretz AE’s caption support is basically non-existent. I had at one point built out a proof-of-concept project to use a subtitle file (I think an srt?) to burn in subtitles, but as far as sidecars, are you looking for a secondary tool to generate them? Or are the sidecars already created for each segment, and they need to be strung together? I’m not super familiar with captioning tools, and the ones that I do know about, from an integration standpoint, are for Premiere.
-
I found a AE plugin that someone wrote that would allow you to select text layers from a main comp, and then export those as a VTT file, which is what JWPlayer likes. I then had the text layers shift, and trim based on the compositions strung together on the timeline. This works, but then I introduce in about 30 extra text layers into the main comp, and that was causing issues with rendering. If anything I’d like to be able to export all of the start time and end times for for each composition on the timeline.
-
@pbretz What you’re proposing should theoretically be possible using Templater’s Event Script feature, but it’s likely going to be very involved. It should be possible to use the Harvest function from the Templater ExtendScript API to retrieve information about the layers. However, it would still need to be formatted correctly and then output to a useable file. The links above should provide a good starting point, but if you have any further questions, just let us know. Thanks.
-
Jeff,
I think this is exactly what I’m looking for. I see that Harvest will return text info. Is there a way to extract information about which comps are used to render a video, and what the in and out points are for those comps on the timeline?
Pete
-
Pete,
Sorry about the delay. I needed to do a bit of research on this. The $D.harvest command should give you the in and out points for the compositions. As for the active render, I believe that $D.target() function should work to pull that info. Hopefully, that will get you started.
Jeff
-
Thanks Jeff!