• Jon

    Hello! A quick tip on how to fade audio with Templater via an expression. Since Templater can dynamically swap a wide variety of media sources of varying lengths, you can’t count on keyframes to be able to accommodate the variation of durations for consistent fade-outs of audio tracks. Here’s a sample of how to do that. Apply this expression to the Audio Levels.

    fadeTime = 30; //frames for fade
    audio.audioLevelsMin = -48; 
    audio.audioLevelsMax = audio.audioLevels[0];
    layerDuration = outPoint - inPoint;
    singleFrame = thisComp.frameDuration;
    animateOut = linear(time, (outPoint - framesToTime(fadeTime+1)), (outPoint-singleFrame), audio.audioLevelsMax, audio.audioLevelsMin);
    [animateOut,animateOut];
    

    In this example, the expression takes the audio level you’ve set and fades to -48 db over 30 frames (assuming 30fps composition, that is 1 second).

    posted in Templates read more
  • Jon

    @cmoyer

    Testing the collapse transformations issue, it looks like any effect (not limited to the Templater Settings effect) that you apply to that precomp will break or change your collapse transformation in unexpected ways. There is something weird happening in the way that AE applies effects to collapsed precomps. I’m not entirely sure of a way around this issue.

    From Adobe’s help (with my highlights):

    “When a closed mask (with mask mode other than None), a layer style, or an effect is applied to a nested composition with collapsed transformations, the layers in the nested composition are first rendered on their own, then masks and effects are applied, and then the result is composited into the main composition. This rendering order means that the blending modes of the nested layers are not applied to any underlying layers in the main composition, and that 3D layers above and below the collapsed layer cannot intersect or cast shadows on each other.”

    posted in Templates read more
  • Jon

    @rens Unfortunately AE’s API access to the character palette is extremely limited, so your best bet would be to create a pre-job script that copies your master AEP and opens the project in AE, to run Templater off of the copy instead of the master. This will leave your master always untouched. In the instance that a missing glyph breaks one project, it won’t break all of the subsequent projects. You could also try running an ExtendScript that updates the font on that layer on the post-update event every time, but I think that could be more problematic.

    Bot events.

    posted in Batch Output read more
  • Jon

    @zen169

    Hi Jean-Michel, we are working on adding a new feature that will make this easier, but in the meantime, if you want to access a value from your data, you need to connect the value to a text layer, then enable expressions for the slider and connect the slider to the sourceText value of the text layer, and wrap it in parseInt() to convert the string to an integer that the slider control effect can read. It would look like:

    parseInt(comp("your comp name").layer("your text layer name").text.sourceText)
    

    posted in Google Sheets read more
  • Jon

    @v_47 Hello!

    You are very close to getting it working. Underscores are reserved characters for Google Sheets, so using them in the titles of column headings won’t work. If you remove those or replace them with a dash, that should resolve the issue. There are a few other caveats about Google Sheets than you can read about in the notes here.

    posted in Templates read more
  • Jon

    Hi @Rens In After Effects, try doing Edit > Purge > All media and disk cache. It’s possible that there were old cached frames that still had the watermark, or perhaps there was a moment before the Templater license check happened where some frames loaded with the watermark. Let us know whether that resolves the issue.

    posted in Environments read more
  • Jon

    If you are interested in setting up your dynamic layers to accommodate both portrait and landscape footage (photos or videos) within a composition, here’s how to do that:

    We will assume that you are creating a “square” precomp, and that you want the footage to fill the composition in either direction and to letterbox or pillarbox that footage appropriately.

    First, the most important thing is that rather than having the composition be a perfect square, you need to make sure that your width is at least 1px longer than the height. So rather than 800 px x 800 px, it would need to be at a minimum 801 px x 800 px. This is going to be true even if you aren’t going for a square precomp. The letterbox/pillarbox will not work if the comp is taller than it is wide.

    Add the Templater Settings effect to your desired footage layer. In the Templater Settings effect, in the “Layout” section, you have the option to set a “Scale factor”- you’ll want to set that to 100%. In the “Alignment” section there is an option “initialize to center”- make sure to enable that.

    That should be all you need to accommodate footage sources of different dimensions.

    posted in Templates read more
  • Jon

    @bluesummitrealty Were you able to resolve your issue?

    posted in Templates read more
  • Jon

    @bluesummitrealty How is that date being injected into that text layer? Is there an expression driving it? Is it a spreasheet today() value? Are there keyframes on that text layer or Source Text property? It could also be a cache issue of some sort.

    posted in Templates read more
  • Jon

    @raphster said in How to keep templater from changing layer visibility?:

    Found a workaround by importing text to a dummy layer at the bottom of the comp from which the track matte pulls the source text.

    You can also precomp your text layer (move all attributes into the comp), and use the precomp as your track matte.

    posted in Templates read more
  • Jon

    @pbretz said in Script on AME Render complete:

    line, but when templater bot calls the script it doesn’t complete. I don’t see anything in the templater log that indicates an error. I’ve also tried suppressing output from aws with no success. Are there any restrictions on the commands that can be called within a script file?

    The command line incantation that Templater runs should show up in your templater.log file. If you see it in there, you can troubleshoot by copying that incantation into your command line window to see if there are errors. Does the script you’re calling in Templater have any spaces in the file path?

    posted in Templater Event Scripts read more
  • Jon

    @pbretz said in Script on AME Render complete:

    to render the videos as mp4’s and then upload to AWS S3 as they are rendered. AE won’t render videos as mp4’s which requires me to send a replicate to a watch folder for AME to process. Is there anyway through the bot process that I can use an event script that is triggered upon completion of the rendering by AME? Or is there a different way to approach this? Thanks for any suggestions.

    Hi Pete,

    There are many potential ways to go about it. One that would possibly give you the most flexibility (and smaller file sizes) would be to render a lossless mov out of the AE render queue (animation, PNG, or ProRes codec), then post-process compress to an mp4 with ffmpeg, Then you can trigger another script to upload to your S3 bucket.

    We have no affiliation, but if you want mp4 support directly in AE again, aescripts + aeplugins has a plugin called AfterCodecs that works seamlessly with Templater and the AE render queue, and actually removes the step of needing to render an intermediate version. On the backend it’s using a custom configured version of FFMPEG, so these files sizes will also be smaller than those out of AME.

    I haven’t looked into it too deeply, yet, but AME also has some post-render upload options built into the settings for your Preset Settings on the “Publish” tab, including uploading to an FTP server. You might be able to rig up a way to get those onto S3 with that functionality. You could also set up something akin to a cron job that runs separately on a set interval, uploads the files in the output directory, then moves them out of the directory so they don’t get re-uploaded.

    posted in Templater Event Scripts read more
  • Jon

    Sorry you’re having that issue. We’re working hard to get the docs and GitHub repo updated to reflect all of the new features of 2.7. We’re hoping to have those up in the next few days. In the meantime, we added a new setting to the Templater Preferences. Can I have you try adding this line into the prefs object of your templater-options.json: "supress_ae_dialogs" : true

    We’re going to be issuing an update soon, so for 2.7.1 that option will no longer be required.

    Also, if you are launching the Bot with the CLI, make sure that you use a -ui argument in your shell script.

    posted in Templater Event Scripts read more
  • Jon

    2.7.0 (Build 7281)

    • New End User License Agreement
      Before installing Templater 2.7, please be sure to read and agree to the new terms outlined in Templater’s End User License Agreement.

    • Enhanced and robust event architecture
      This much requested and much awaited feature is now available! You can now register both shell and ExtendScript scripts to a new set of Templater events. The new Templater events are as follows:

      1. Data retrieval events : Pre-data and Post-data
      1. Batch processing events : Pre-batch and Post-batch
      1. Job processing events : Pre-job and Post-job
      1. Layer update events : Pre-update and Post-update
      1. Output events : Pre-output and Post-output
      1. Bot events : On-startup and On-shutdown
    • Events are now also broadcast when Previewing in Pro and Bot editions.

    WARNING - READ BEFORE YOU UPDATE TEMPLATER!

    If you already make use of event scripts in your application please note that we have deprecated a preference that might prevent your application running. As of Templater 2.7 the preference For all commands, use job details as arguments is deprecated. If using the command line interface, the job_detail_args property found in the prefs object within the bot object is also deprecated. It is now required to explicitly append arguments to your registered shell scripts. Apologies for any inconvenience.

    • New ExtendScript API
      ExtendScript files that are registered to listen for a Templater event you now have access to read and manipulate Templater’s internal memory. Developers can accomplish this by using the $D object. Full documentation for this API is available at http://support.dataclay.com

    • New argument macros for registered event scripts
      A few new argument macros can be passed to event scripts:

      1. $log : The full path to the templater.log file
      1. $log_dir : The full path to the directory containing the templater.log file
      1. $event : A string identifier that references the most recently broadcast event
    • Improved naming of downloaded footage assets
      When the Allow unique downloads for cloud-based assets preference is enabled the downloaded asset will have a more precise identifier prepended to the downloaded file. The prepend string includes the job’s row index value, column or property name, and ID value if available.

    • Easily troubleshoot Templater operation
      Prevent Templater from suppressing any After Effects notice, warning, or error dialogs with a new Templater preference. Note that dialog suppression is on by default.

    • Silence Templater logging
      You can now shut off all Teplater logging from the Templater Preference dialog. This is not recommended, but useful if you want to improve speed for batch processes.

    • Improved memory management
      A new preference allows you to choose if Templater should automatically purge After Effect’s internal memory caches after each job in a batch process. Enable this if you find that After Effects is eating up too much memory on batch runs. Note that enabling this preference will add a bit of time to complete each job in a batch.

    • Open log file directly from Templater Panel
      A new button labeled “Show Log” appears within the Templater panel. When clicked, Templater will spawn a new terminal window displaying a real-time log of Templater’s operations.

    • Help Tips display in user interface
      When you hover over specific user interface elements in Templater’s main panel and its Preferences dialog, help tips appear to assist your learning.

    posted in Accouncements read more
  • Jon

    Hi!

    Apologies for the delay in responding. To answer your question about text formatting, doing that isn’t really possible. Not even expressions have access to formatting information. Your best bet is to use the attachment properties to string together your text, but it’s not exactly an elegant solution. Your only other option, and it’s not a great one, is to hack text animators and use the range selector options to target different ranges of your text with expressions that are driven by your data. That still doesn’t give you access to font face or font style.

    posted in Templates read more
  • Jon

    In some instances Windows’ Internet Security options might be preventing the download of cloud-based assets. Sometimes this happens if those assets have been collected via a web form (such as JotForm or Typeform). To fix this, open up your Internet Options (an easy way to do this is to hit the Win key then type “Internet Options”), go to the Security tab and click on the “Custom level” button. Find the option “Miscellaneous > Access data sources across domains” and enable it.

    0_1510260650222_wio-s1.jpg

    0_1510260672899_wio-s2.jpg

    Stackoverflow thread

    posted in Data Sources read more
  • Jon

    Currently, there is a bug in Templater where layers (footage or compositions) that are being targeted within your data source to be switched off with an {{off}} flag won’t disable the layer’s audio switch. We have plans to correct this in a future version of Templater, but in the meantime, you can correct this behavior by applying an expression to the Audio Levels of the layer/layers you wish to mute.

    mute = -192;
    aud = audio.audioLevels;
    if(thisLayer.enabled == false) [mute,mute] else [aud[0],aud[1]];
    

    That’s it!

    posted in Templates read more
  • Jon

    2.6.0/2.6.1 (Build 6705)

    • CC 2018 Support
      Templater’s 2.6.1 installer adds support for installing with Adobe After Effects CC 2018.

    • Fully Featured 30-day Timed Trials!
      Users can trial all functions within Templaterfor 30 days without any limitation. In trial mode, watermarks are superimposed atop layers designated as dynamic. Users can now try out all functions from all editions of Templaterinclude Rig, Pro, and Bot.

    • Unified Licensing Framework.
      Templater’s licensing framework is now standardized across manufacturer and reseller builds. If you are upgrading Templater purchased through a reseller such as aescripts + aeplugins you will need to acquire new products keys.

    • Bug Fixes and Improved Architecture for Templater events.
      Previously, any registered post-job or post-batch scripts would not execute property when using Templater’s replication feature. This issue is now fixed making registered post-job and post-batch scripts execute as documented. Code architecture for event scripts is prepared for implementing more events types such as: pre-data-capture, post-data-capture, pre-job, etc. These will be implemented in coming releases.

    • Improved Log Header
      The header in the Templater log file now displays more details about the machine running Templater. Specifically, it includes the current username, the machine ID, and the operating system. This helps Dataclay’s support team understand issues customers are encountering.

    posted in Accouncements read more
  • Jon

    Let’s say that you have an After Effects template that you want to dynamically expand and contract the timeline duration based not just on the duration of the video clips, but also having the number of video clips in the timeline change from video to video.

    Note: this technique will create a 1-frame overlap between your clips

    In this example, we’re going to set up a Main timeline, and we will set things up to have a maximum of 3 precomped video “slides” that we will be injecting video clips into. For this example, we are going to assume that you want to play each clip for its entire duration, but the same principles can be applied to clips with various shift, trim, and stretch Time Sculpting parameters.

    First, import a piece of video footage-- this is just a temporary placeholder (don’t use an AE placeholder layer, though). Create 3 (or how ever many you need) precomps, each with the placeholder footage added to the timeline, and apply the Templater Settings effect to each of the layers. Be sure to rename them to match your column names in your data source (in my example I named them “first,” second," and “third”). For each footage layer you’ll want to set your “Time” parameters to “Comp starts at in point” and “Comp ends at out point” and your “Trim” parameters to “Preserve start” and “Preserve end” so that the entirety of the clip plays and that the duration of the precomp is the exactly the same as the duration of the clip it contains.

    0_1501554149504_clip-settings.png

    For each precomped “slide” in the main timeline, you will also apply the Templater Settings effect, and each will have the various Time Sculpting controls set as follows (note the “shift” parameter with the 1 frame shift overlap on every clip after the first one):

    0_1528000225180_slide-settings-update.png

    The last piece of the puzzle is to use a 2-frame long transparent (100% alpha) video clip that is exactly double the framerate of the slide precomps that you will call in your datasource when you want to turn a specific slide off for a particular render. The clip needs to be 2 frames because a video clip that is 1 frame long will be recognized as a still by AE/Templater, and it won’t properly adjust your precomp durations. The clip itself can be extremely small, dimensionally (say, 4px x4px). In my example, “blank-slide.mov” is the 2-frame transparent clip.

    0_1501555358201_dynamic-clip-datasource.png

    If you have any questions, feel free to ask here, or shoot us an email.

    Download dynamic slides example project

    [this thread has been updated to incorporate the framerate advice from Maris, a few posts below]

    posted in Templates read more

Looks like your connection to Dataclay | Forums was lost, please wait while we try to reconnect.