Forum Replies Created

Page 1 of 2
  • Steve Miller

    July 17, 2018 at 7:46 pm in reply to: custom timeline “forward X frames”

    SO AWESOME! Thank you for this!

  • Yes, the PC is the only way to get CUDA unless you have an older Mac Pro tower.
    Apple has screwed the pooch on this one…

    If Apple was smart… and AMD was smart and NVIDIA was smart, they would all work together on the CUDA problem. Without CUDA, render times on videos that have any minor effects on them are extremely slow.
    From all I’ve researched, the GPU has little to no effect on After Effects performance by the way, as most of the effects are not coded to take advantage of GPU processing.

    I love my 27″ iMac 5K, but I’m going to be moving to a PC here quite soon as I just don’t have the time for 2 hour renders on 10 minute videos…

    Here’s a fun PDF from Intel to read:
    https://www.intel.com/content/dam/www/public/us/en/documents/guides/workstation-adobe-4k-guide.pdf

    *steve

  • Adam,

    Remove the parenting from the text, then align both the text and the box in the exact center of the comp then reparent the box to the text.
    It should work then…

    *steve

  • James,

    Also, Premiere shows that the images size is 720×480 still, even though the captions don’t get cut off…

  • James,

    Thanks! It does work, although the SRT file was set for 2 lines of captioning and your converter changed it to three lines. Any way to change that?
    Also, the captions embedded perfectly fine in a burned in version of an output mp4, but what would you recommend as the sidecar format so that one could turn on or off the captioning when they wanted?

    Thanks much!

  • Did you copy and paste or retype?
    It does work for me, but like I said above, sometimes I get these funny errors from copy and pasting.

  • the text layer names are [Hue], [Saturation] and [Lightness]
    after you set up the expression, change hue from 0-360, saturation from 0-100, and lightness from 0-100

  • Rick, this is my final script that’s working for me:

    {for changing a color based on the hue value (0-360), saturation (0-100) and lightness (0-100) from a hidden text layers
    Apply this to the rectangle fill}

    rgb = content("Rectangle 1").content("Fill 1").color;
    hue = parseFloat(thisComp.layer("[Hue]").text.sourceText);
    saturation = parseFloat(thisComp.layer("[Saturation]").text.sourceText);
    lightness = parseFloat(thisComp.layer("[Lightness]").text.sourceText);
    hsl = rgbToHsl(rgb);
    changeHsl = [(hue/360) , (saturation/100) , (lightness/100] , hsl[3]];
    hslToRgb(changeHsl);

  • Oops, this part: “Try to the me asdasdasd” should be “Text” or whatever else your text layer is called.

  • Sebastian,

    I’ve been trying to do the same as you and with help from several sources I finally found a set of expressions that do exactly what I want for centered text, left and right justified text, and with multiple lines:

    Try it out!

    *steve

    {Shape Layer that follows the size of the text input}
    ON SHAPE LAYER THAT’S Parented to the text layer:

    Rectangle path size expression:

    s=thisComp.layer("Text");
    paddingx=35;
    paddingy=25;
    x=s.sourceRectAtTime(time-s.inPoint,true).width;
    y=s.sourceRectAtTime(time-s.inPoint,true).height;
    [x+paddingx,y+paddingy]

    Rectangle Path position expression:

    s=thisComp.layer("Text");
    rect = thisComp.layer("Try to the me asdasdasd").sourceRectAtTime(time-s.inPoint,true);
    [rect.left + 0.5*rect.width, rect.top+0.5*rect.height];

Page 1 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy