Skip to main content
Carlmad13
Participating Frequently
July 1, 2022
Answered

Text Layer Maker with Automation Blocks ?

  • July 1, 2022
  • 2 replies
  • 3165 views

Hi again, I'm using automation blocks a lot lately and I was wondering if it's possible to do something like this: the idea is to insert a text in the dialog box with those characteristics (see photo), and for each empty line create a new layer with the corresponding text.

design the interface of the photo as to catch the idea.

also one of the main functions should be to be able to shifts and sets the in point and out point of selected layers to markers set on a marker layer. similar to the function of the script automate to sequence from Lloyd Alvarez.

As a lyric video designer I am always looking for ways to automate as much of my work as possible and I was wondering if it is possible to do this with automation blocks.

Maybe they can be separate actions, an action to create the text layers and another action to sync them with the markers layer. In fact, this last action would be interesting to have separately, something like selecting the layers and the marker layer and running the action to set the in point and out point of the layers and if there are slight changes in the position of the markers, when selecting the layers again and running the action, the layers would be updated. it would be fantastic.
I hope I haven't been too confusing.
Thanks a lot.

This topic has been closed for replies.
Correct answer Mathias Moehl

Now that I think about it, I have an alternative idea similar to the one you mentioned. It would be text to text layers tool by paragraphs, cool. then a tool in which for each text layer adds a marker for each word with the word itself inside the comments (SHOT NEW 1). that way let's say with another tool, you can apply the expression similar to this: 

anim = thisProperty;
delayDur = framesToTime(effect("Delay Duration")("Slider").value);
numMarkers = marker.numKeys;
delay = (textIndex - 1)*delayDur;

if (numMarkers > 0) {
delay = textIndex <= numMarkers ? marker.key(textIndex).time : marker.key(numMarkers).time;
}

anim.valueAtTime(time - delay) 
the one I took from Ukramedia "Link Text Animation to Markers in After Effects" video  (very good by the way).
that way the texts would be separated by paragraph(layer)  and also each paragraph(layer) would have markers for each word, to later be able to synchronize them with the audio.
what do you think ?




Hi Carlmad,

I created two new Automation Blocks tools which offer you a very efficient workflow for your task:

 

After you created the text layers for each individual paragraph, you can run the Change Text At Markers on each of those layers again, too, to make the words there appear marker by marker.

 

Cheers,

Mathias

 

2 replies

Mathias Moehl
Community Expert
Community Expert
July 1, 2022

[edited: I removed this reply - I accidentally posted it here, but it was an answer to a different post...]

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Mathias Moehl
Community Expert
Community Expert
July 1, 2022

Hi,

thank you for this amazing idea! Actually, this week I added this tool to the Community Library of Automation Blocks:

Layer/Text/Text To Text Layers

 

It shows a dialog where you can enter some text and then it creates one text layer either

- for each line of the text or

- for each word of the text

It also analyzes the length of each line/word and chooses the duration such that the text can be read easily.

 

I see that this is not 100% what you want, yet, but should be a good starting point.

I will schedule some time next week to see if I can create a variant that is closer to what you need. In particular

- the combination with the markers, such that you can control the timing better

- the extra option to do one layer per paragraph instead of one per word or line

 

Is it important for you to have each text on a separate layer - such that you can aesily modify them independently?

Otherwise, we could also do a tool, which simply applies an expression to the source text of a single text layer. In the expression we could save the entire lyrics text and based on markers on that text layer the expression could decide which part should be shown.

Pro: just a single layer & easy workflow (first run the tool to create the expression then add markers to let the texts appear step by step

Contra: Since it is a single layer, you cannot combine it so easily with other tools (like Automation Blocks Better Fade Tool, for example) to animate the individual texts in and out.

 

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Mathias Moehl
Community Expert
Community Expert
July 1, 2022

update: I just added an option to the Text To Text Layers tool, such that it can now also create one text layer per paragraph instead of one per line or word.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Carlmad13
Carlmad13Author
Participating Frequently
July 1, 2022

oh! thank you very much, this was exactly what I was talking about, it's perfect. From here I can start to see how to do so that instead of giving me a percentage for the duration, it is synchronized with a marker layer.  This is definitely one of the most powerful tools I've tried. not only because it automates a lot of work but at the same time you can learn how coding works and also it gives you full control of what you are doing.