Forum Replies Created

Page 51 of 277
  • Filip Vandueren

    August 17, 2021 at 10:09 pm in reply to: Self-typing keyboard

    So each key is on it’s own layer, and each layer has an opacity expression ?

    Looks like the keys are just hard on/off- ?

    In that case, I would make a sequence of 1 key at a time in a precomp and use timeremapping.

    Putting just the modifier-keys separately on their own layers, so they can light up together with other keys.

    A lot less expressions and a lot less layers.

  • At this moment, there is no way for Premiere/after effects to do anything but stretch what is between the protected regions of a mogrt.

    The only workaround is to offer a slider/input to the template into which you can manually enter the new total duration of the stretched clip in seconds, and then use that value in some calculations to “do clever stuff” so the wiggle does work at the correct speed.

    so if the original comp is 6 seconds, with a protected intro and outro of both a second, then that leaves 4 seconds in the middle.

    If you stretch out the clip to be 10 seconds, the intro and outro play at 100% speed, the middle part becomes slowed down to exactly 50%, so if the mogrt can “know” that, it could be programmed to wiggle twice as fast inbetween, and the endresult in premiere is that it wiggles at constant speed.

    But the only way the mogrt can know its new length, is if you tell it, via a slider, and unfortunately, through a manual steting by the editor.

  • Filip Vandueren

    July 22, 2021 at 10:59 am in reply to: One expression 2 sliders

    I think you want to use the last line as the text ? -> add the setText() method to the style.

    style
    .setFontSize(effect("Font Size")("Slider").value)
    .setAutoLeading(false)
    .setLeading(effect("Font Size")("Slider").value*0.80)
    .setText(effect("Slider Control")("Slider").value.toFixed()+'K');


  • It sounds like the color stabilizer effect could fix what you’re after.

  • Can you add csv footage to an essential graphics at all ?

  • Filip Vandueren

    June 24, 2021 at 9:55 am in reply to: Animating text, by character AND by word

    Your setup is a bit different than Christopher, because the sourceText is changed by the markers.

    maybe you can try something like this:

    (Copy and paste this onto the selected text-layer, it is not an expression)

    Adobe After Effects 8.0 Keyframe Data
    Units Per Second 25
    Source Width 1
    Source Height 1
    Source Pixel Aspect Ratio 1
    Comp Pixel Aspect Ratio 1
    Text Animators Animator #2 Selectors Range Selector #1 Offset #3
    Frame percent
    -100
    Expression Data
    m = thisLayer.marker;
    i = m.nearestKey(time).index;
    if (m.nearestKey(time).time > time){ i--;}
    linear(time,m.key(i).time, m.key(i).time+0.5,-100,100);
    End of Expression Data
    Text Animators Animator #2 Selectors Range Selector #1 Advanced Ease Low
    Frame percent
    60
    Text Animators Animator #2 Selectors Range Selector #1 Advanced Randomize Order
    Frame
    1
    Text Animators Animator #2 Selectors Range Selector #1 Advanced Shape
    Frame
    2
    Text Animators Animator #2 Properties Opacity
    Frame percent
    4
    Text Animators Animator #2 Properties Position
    Frame X pixels Y pixels Z pixels
    0 -132 0
    Text Animators Animator #3 Selectors Range Selector #1 Offset #3
    Frame percent
    -100
    Expression Data
    m = thisLayer.marker;
    i = m.nearestKey(time).index;
    if (m.nearestKey(time).time > time){ i--;}
    if (i==m.numKeys) {
    100
    } else {
    linear(time,m.key(i+1).time-0.5, m.key(i+1).time,100,-100);
    }
    End of Expression Data
    Text Animators Animator #3 Selectors Range Selector #1 Advanced Ease Low
    Frame percent
    60
    Text Animators Animator #3 Selectors Range Selector #1 Advanced Randomize Order
    Frame
    1
    Text Animators Animator #3 Selectors Range Selector #1 Advanced Shape
    Frame
    2
    Text Animators Animator #3 Properties Opacity
    Frame percent
    4
    Text Animators Animator #3 Properties Position
    Frame X pixels Y pixels Z pixels
    0 132 0
    End of Keyframe Data
  • I thought I could do a clever trick like doing sampleImage on a 1×1 white pixel, which gets grayer and grayer or more transparant as the resolution drops, but unexpectedly, the numbers sampleImage() yields always gives the correct result of what it looks like at full res ??‍♂️

  • Filip Vandueren

    June 14, 2021 at 2:59 pm in reply to: Matte only over items of a specific color?

    – create a solid in the complimentary color of red (dark green) above your blue box

    – on that solid, use the effect “Calculations” to composite copies of your red and green boxes layer onto that green solid. (if the other boxes are on multiple layersn use mulitiple calculation effects),

    – add the effect “Keying > Color Range” to key out the exact color of red your need.

    – add channel > Invert set to “Alpha”

    – use the result as an alpha matte for your Blue Box.

    It will only show up on top of the shade of red that is keyed out.

  • Filip Vandueren

    June 14, 2021 at 2:40 pm in reply to: a counter for exact value

    I suppose you only want to count it when a keyframe on the slider equals 45, not when the slider happens to interpolate across 45 (e.g. from 44 -> 46if they’re not hold keyframes).

    sl = thisComp.layer("midi").effect("ch_0_pitch")("Slider");
    count=0;
    for (i=1; i<=sl.numKeys; i++) {
    if (sl.key(i).time>time) break
    if (sl.key(i).value==45) count++;
    }
    count

  • Filip Vandueren

    June 8, 2021 at 6:56 pm in reply to: ExtendScript obvious Basics

    Hi Rico, there is no method or property like selectedKeys() in extendscript.

    You have to loop through the keyframe indexes and check for keySelected(), something like this:

    myProperty = app.project.activeItem.selectedLayers[0].selectedProperties[0];
    selectedKeyIndexes=[];
    for (i=1; i<=myProperty.numKeys; i++) {
    if (myProperty.keySelected(i)) selectedKeyIndexes.push(i)
    }

    When you find a slected keyframe, yuo can’t just store that “keyframe” as an object that contains time, value, easing etc. you have to adjust each aspect of a keyframe with its own method keyValue, keyTime, keyRoving, setInterpolationTypeAtKey() etc. etc.

Page 51 of 277

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