Lip-Syncing in After Effects: Best Practices
ฝัง
- เผยแพร่เมื่อ 26 ก.ย. 2024
- Watch my free After Effects course for beginners! - • After Effects Full Cou...
This tutorial will give you a brief introduction into the core concepts for lip-syncing in After Effects. Follow along with the video and you'll be making your characters talk flawlessly in no time!
Want more from Ross? Find more tutorials here: / ross
layerNum = 1
control = comp("compname").layer("layername").effect("Slider Control")("Slider");
if(control == layerNum)
{value = 100;}
else
{value = 0;}
Follow Ross on Twitter - / rossplaskow
:)
If you enjoyed this vid and want to learn more check out my free After Effects course for beginners! - th-cam.com/video/_zFCeXO6x2Y/w-d-xo.html
This expression is not working. Kindly check.
As a programmer who does art and animation as a hobby, this tutorial made me so happy. Combining my work and my hobby together is awesome! Makes me want to see what else I can tweak with scripts :D
If you use this as the first line of the expression, you don't have to manually change the layer number each time:
layerNum = index - parent.index;
You just have to make sure the controller stays directly above the mouth layers.
oh wow! i never knew!! thank you so much x
@@ross Awesome method! Simple and easy to use, especially with the index-based numbering.
Also, if you bind "Copy Expression Only" to Ctrl+Tab, you can quickly copy and paste the expression without opening the expression box.
I don't do a lot of character animation these days, but I love this tip so much I'm inclined to dive back in and try it!
Hola, si a éste tutorial llegó un hispanohablante y le marca error en la expresión, es porque tienes el After en español. Así las cosas, el código quedaría
layerNum = 1
control = comp("nombre de la composición").layer("lnombre de la capa").effect("Control del deslizador")("Deslizador");
if(control == layerNum)
{value = 100;}
else
{value = 0;}
Thank you very much Ross Plasskow.
Muchas gracias,justo tenia ese error,te lo agradezco :)
Nice one 🤙now just pick_whip the slider value to a rotation value of the same or different null and use the rotation value to input your lip keyframes (also make them hold keyframes). This way you can keyframe like the wind using + and - hotkeys for rotation value (which now controls lips) and pg. up / pg. down keys to advance frames and "0" hotkey to ram render preview your work area as you go.
TY FOR THE TUTORIAL!! this is like, one of the very few times I've been practicing with after effects and this was super easy to follow!!
Nice, professional, plugin free, and easy way to make lip sync in AE! 👏👏
I bumped into this exact problem when animating my thesis film, and came up with a simular fix. Good you made a tutorial for futur animators!
Wow Ross is back! I started in Ae world because I saw your tutorial of character animation 6 years ago. Thanks for all Ross!
And you can also add this lines of code to be able to use slider control
else if(control >= layerNum && control < layerNum + 1)
{value = 100;}
So the final rusult is:
layerNum = 1
control = comp("compname").layer("layername").effect("Slider Control")("Slider");
if(control == layerNum)
{value = 100;}
else if(control >= layerNum && control < layerNum + 1)
{value = 100;}
else
{value = 0;}
help : when I move the head with puppet tools, than the mouth characters don't follow the head movements. (Mouth is parenting with the Head). How to solve that?
This is *so much better*, thank you!
Elegant and simple, nice! Thanks!
Nice. And if you need one shape to be on two layers you can just assign the same layernum to them both.
dude i used to love your short story videos. i hope you make some
YEAAAH ROSS IS BACK
Great video as always! Thanks Ross.
I'm doing the walk of shame back to this video because I figured time remapping wouldn't give me any glitches for my project. Now it did and I'm going what I should have done in the first place
Click the * option (next to the Shy icon) on the layer with time-remapping, and your glitches will go away. That option is actually called "collapse transformations," which I didn't understand or need until AFTER I did tons of lipsync with time-remapping. It has saved the day on a new project with time-remapping.
Missing this guy ❤
Perfect! Thank you so much.
Its great!
perfect tutorial👏👏
When I tried this the mouth kept disappearing because if the keyframes aren't right next to each other the slider value becomes a decimal and all mouths have 0% opacity. How do I stop the slider from using decimals between keyframes? As a hotfix I'm using Math.floor() but that feels a little bit jank and I'd love to know what I'm missing here.
WOOOOOWWWWW THAAANK YOUUUUUUU I LOVE YOUUUUU
Thank you!
So nice! Thank you very much ^-^
I feel reborn. Thank you 🙏🏾
A Gem!
hi, what glitches are you getting ?
Also I have 50 mouth shape layers so this method may be a bit tedious. Automating layer index may solve this. Perhaps copy paste would work here for all the layers?
This is way more effort than time remapping? Especially if I have 20 MOUTHS
THE ANIMATION aspect is relatively the same - but the set up of urs is way more tedious ?
I did all the steps but couldn't link audio to the null object someone tell me now please 🙏🏻 😂
Nice
Gracias :B
That's all great but what does it have to do with dinosaurs in space?
좋아요~
Why do all of you youtubers never show how to create layers...
My man was gatekeeping stuff from us for 9 years....
“Copy and paste this script”
Shows completely unreadable script. Use letter bordering or drop shadow or put the words over a solid color. Make it easier for the viewer. Good video though
its in the video details
thanks, you are genius!
dude....if u have all phases as paths....just please...why u just dont use keyframes on paths on the ONE shape layer....geeez.....no scripts, no problems...
i have a problem, the slider hav decimals and i cannot hit perfect 2 or 3 or whatever since its something like 1,9842 or 2,4535. how do i prevent this from happening because this way i cannot control anyhting if i dont hit exactly 1,2,3 or 4
Yeah I just realised I have this same problem where it spams all the layers to get to the next slider key frame. The only solution I have so far is having two set key frames for one mouth movement and keeping them one frame of the previous and next changing mouth movement. That way it can't transition through all the slider numberss. Hope this helps
@@stunella I actually created a text field, loaded the content of the slider and rounded it, and refered to the text field with the mouths instead of directly to the slider. the text field as a middle man solved several issues with multiple work flows in the past and it keeps me going haha
here's an experssion to solve that problem: layerNum = 1;
control = Math.floor(comp("Comp 1").layer("mouth ctl").effect("Slider Control")("Slider"));
if(control == layerNum)
{value = 100;}
else
{value = 0;}
Thank You!
Nice
We better see you sooner than another few years. Just watched meat mysteries and realised you posted new vids!!
Works great if you have a single character to lip sync with, what if you have multiple characters using the same lip composition? would you have to change the composition name for each character? It seems more stressful tho, except i don't totally understand. I'll be glad if you can throw more light. @Ross
Thanks Ross... This is good to know. Almost the same as cutting with Time Remapping but this gives one the option of fine tuning by animating the mouths.
Or... If you aren't advanced or patient enough for all this coding, use Time-remapping (or even make a slider, or use awesome plug-in SF Caddy) and then (most importantly) select the comp with your mouths in it, press the STAR option (next to the "Shy" button in your column, it's actually called "collapse transformations"), and then all of the lip-sync won't be glitchy. I say this after animating 15 episodes of a show with glitchy lipsync and finally stumbling on this solution. Collapse transformations makes top priority of rendering the movement from one key to another, getting rid of dropped frames or sticking frames. Seriously. [No disrespect to this super informative video, I just want to put this really necessary step out there for lipsync no matter which option you choose]
Do u know how to switch mouth animations with null layer
Thank you so much brother _/|_ you made my day simple :)
Try using Adobe Character Animator for this. It will save you LOADs of time
Character Animator is terrible and the automated lip sync feature has bad results, so you may as well do it manually, and if you're doing it manually then use a better programme. Saying that, Adobe Animate has good lip syncing, but a completely different way of working