Dataclay — Automating Digital Production
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Register
    • Login

    Closed Caption File

    Scheduled Pinned Locked Moved
    Templates
    3
    7
    529
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pbretzundefined
      pbretz
      last edited by

      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

      Jonundefined 1 Reply Last reply Reply Quote 0
      • Jonundefined
        Jon @pbretz
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • pbretzundefined
          pbretz
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • Jeffundefined
            Jeff
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • pbretzundefined
              pbretz
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • Jeffundefined
                Jeff
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • pbretzundefined
                  pbretz
                  last edited by

                  Thanks Jeff!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post