Auto-Resize Text Layers with Expressions in After Effects

  Рет қаралды 11,151

ukramedia

ukramedia

Күн бұрын

Пікірлер: 39
@RickyMartinVideos
@RickyMartinVideos 2 жыл бұрын
You're really good at explaining expressions efficiently. Thank you for this!
@ukramedia
@ukramedia 2 жыл бұрын
Thank you for your kind words, Ricky!
@artemtsenev
@artemtsenev 2 жыл бұрын
Thanks for the manual of Smart Resizer. I use it every day but apperently don't know all the features. Thank you Sergei and Ukramedia.
@jakeblack5331
@jakeblack5331 7 ай бұрын
This is perfect, thank you! If you've ever gone through the pain of localizing tons of text with dramatically larger character count (I'm looking at you, German) you'll know what a lifesaver this can be. Makes templating so much easier.
@VilkanVisions
@VilkanVisions 10 ай бұрын
I got an error "sizeLimit redeclared" any tips how tio fix it?
@HATEMTALAAT
@HATEMTALAAT 8 ай бұрын
me too
@adampetritsis
@adampetritsis 8 ай бұрын
Go to File --> Project Settings --> Expressions then change to "Javascript"
@afatasidylan
@afatasidylan Жыл бұрын
Thanks for sharing your secrets! Once I demo the usefulness, I'll make a case for my agency to purchase your toolkit. So useful for mass localization jobs! Great content.
@DoctorMGL
@DoctorMGL Жыл бұрын
underrated channel 👍
@davidgrimes2745
@davidgrimes2745 10 ай бұрын
perfect. Thank you!
@atglobalglob2401
@atglobalglob2401 3 ай бұрын
Thank you.
@thomasprinzivalli3873
@thomasprinzivalli3873 2 жыл бұрын
I use this kind of behaviour so often (generally coupled with some height restriction too) and I wanted to know if there some computational benefit to use the ternary operator instead of Math.min for the fixed scale. Thanks a lot for all the tips and tuts.
@jeffp666
@jeffp666 2 жыл бұрын
I was trying to figure this out last year. I ended up figuring it out, a little bit different than your method. Nice to see a video on this.
@ukramedia
@ukramedia 2 жыл бұрын
That's cool! You should make a tutorial on how you solved that problem.
@MrInterpriser
@MrInterpriser Жыл бұрын
Amazing tut
@nathitappan
@nathitappan Жыл бұрын
Thanks for the great tutorial as usual! Quick question: how would you go about it if you wanted to make two lines of text and resize the font to make sure both lines are always the same width? LINE1 LINE2 But if we changed the content of LINE 1, the font size would follow suit? In the eg bellow "NEWLINE1" would scale down, or "LINE2" would scale up. NEWLINE1 LINE2 I can do it by matching the layer size of two different text layers with sourceRectAtTime, and connect their positions with expressions. But I'm trying to reduce the amount of layers in this particular project, so hopefully there's a clever way to do it with some lines of code inside the same text layer! Does that make sense? Any insight is appreciated!
@cardosofill
@cardosofill 2 жыл бұрын
Amazing and quick
@ukramedia
@ukramedia 2 жыл бұрын
Thanks, Fillipe!
@muhammadyousaf8373
@muhammadyousaf8373 2 жыл бұрын
Very helpful ❤❤
@ukramedia
@ukramedia 2 жыл бұрын
Thanks, Muhammad!
@dmm8171
@dmm8171 2 жыл бұрын
Thank you very much! Is it possible to do something like this with paragraph text layer? For example, I need to do resizeble to shape size two-line paragraph text layer, when long phrase automatically moved in two lines, and then changes its size to shape size :)
@dmalashkin
@dmalashkin 2 жыл бұрын
I tested, with paragraph text it works with some problems: long phrases go out itself borders by height. I don't know how to fix it. Maybe Sergei can explain how to fix it.
@AlejandroAbadrd
@AlejandroAbadrd 2 жыл бұрын
Can this work with a paragraph of text? I have bought Smart Resizer! Thank you!
@vasily3994
@vasily3994 2 жыл бұрын
useful. again🙏
@ukramedia
@ukramedia 2 жыл бұрын
Thanks, Vasily!
@NoniKumarRay
@NoniKumarRay 11 ай бұрын
Sir, expression copy paste work possible?
@PapeMaster
@PapeMaster 6 ай бұрын
I dont find that resizer anywhere in my after effects :(
@vladkrilevskiy
@vladkrilevskiy 2 жыл бұрын
Hi, I wanted to suggest a topic for the next video. I'm not that good at coding and expressions, but I'm trying to create a mogrt for a list of patrons from Patreon. You can export a list of current patrons, so you can import it from csv to After Effects, but I don't know how exactly to do this. Maybe you can create an explainer on this topic, I'm sure it's gonna be popular among creators.
@ukramedia
@ukramedia 2 жыл бұрын
Thanks for the tutorail request, Vladislav! I'll see what I can do.
@92ragesh
@92ragesh Жыл бұрын
When we add text preset after adding smart resizer it animating jerky. How to solve it?
@ukramedia
@ukramedia Жыл бұрын
So here is what's happening, Smart Resizer is doing its thing, resizing your Text Layer for each frame. It's looking at each frame and trying to lock in a specific size. All you have to do is make sure it's resizing your text at a particular custom time-I usually go for the middle point of the layer. To sort this out, head over to the Smart Resizer controls in the layer Effect Controls. Find "Size Based On" and switch both "Width Based On" and "Height Based On" to "Layer Middle Point." This will make sure it stops adjusting the text size for every single frame and only focuses on what it should be at the middle point of the layer. Basically, it should fix the problem. Give me a shout if it doesn't. Thanks for using my tools!
@chanancenter
@chanancenter Ай бұрын
@@ukramedia How to resolve this issue If I am using only the scriipt and not the smart resizer?
@chanancenter
@chanancenter Ай бұрын
Nevermind. I found the solution to jittery stuff: maxW = thisComp.width*.9; maxH = thisComp.height*.9; r = sourceRectAtTime(time); w = r.width; h = r.height; s = w/h > maxW/maxH ? maxW/w : maxH/h; [100,100]*s;
@topanalghiffari3364
@topanalghiffari3364 11 ай бұрын
hello, is it possible to auto-resize the circle depend the text? i want the text is still to the size, but the circle is auto-resize. hope you reply this, really need your help. thanks before
@elzanc0
@elzanc0 10 ай бұрын
Just paste these two lines to the "Size" property of the circle layer under Content > Ellipse > Path: textWidth = thisComp.layer("Text Layer").sourceRectAtTime().width; [textWidth, textWidth] You may need to replace the layer name if your text layer is not named "Text Layer".
@sounder7564
@sounder7564 2 жыл бұрын
брат тут такое дело, вот композиция окно его я могу сделать 50% или 100%. а там нет 75% или 150% сможете ли сделать такой плагинчик или что либо, чтоб можно было 75 и 150%. сенкс
@MrMadasice
@MrMadasice Жыл бұрын
I feel like this had missing info for the people going with the expressions...
@chanancenter
@chanancenter Ай бұрын
Did you find the missing info?
How to Auto-Size Text to a Shape Layer in After Effects
26:38
ukramedia
Рет қаралды 45 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 692 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 74 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 7 МЛН
5 KITTL HACKS YOU MUST KNOW!
17:57
Philip Anders
Рет қаралды 3,5 М.
(UPDATED) Dynamically auto-scale text to fit in a box using expressions in After Effects
10:55
The After Effects Marker Trick Nobody Talks About!
6:17
ukramedia
Рет қаралды 8 М.
10 Amazing Expressions You NEED To Know In After Effects
14:09
Motion By Scott
Рет қаралды 42 М.
How To Use Roto Brush 3.0 in After Effects
7:00
Motion Array Tutorials
Рет қаралды 476 М.
After Effects: Resize Text within Textbox using Slider
9:38
BallerFX - Sports Motion Design
Рет қаралды 1,9 М.
Self Resizing Shapes to Text | After Effects Pro Tutorial
5:57
Maxwell Ridgeway
Рет қаралды 67 М.
sourceRectAtTime(); | After Effects Expressions
34:33
Jake In Motion
Рет қаралды 136 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 692 М.