Log in

View Full Version : Best way of adding AfterEffect effects to AVS powered encodes?


SirCanealot
11th October 2004, 23:02
Hi all.

I'm currently trying to add some Adobe AfterEffect effects to an encode, but it's giving me huge problems.

Basically, my current flow chart is:

AVISynthFilteredHuffy->AE(Rendered with AE)Huffy->XVid.

This is posing several problems, due to the slowness of this process, and the fact that I seem to be losing video quality (the piece of animation I am encoding seems to have lots of smokey scenes, and converting it to Huffy with RGBA set, then back to Huffy with RGBA set seems to increase banding in the smoke especially, as with a lot of other shaded areas - this banding doesn't seem to help the encode, either. It seems to be blocking up a lot more now, too). There's also the issue of speed: Converting to Huffy with filtering on took 2 hours, getting it out of AE takes an hour and 20, and doing 2 passes from Huffy - XVid takes just over 2 hours. That means I'm adding another couple of hours just to add some AE effects, which is insane.
However, I am primarely concerned about this increase in banding I seem to be exibiting.

I'm sure there MUST be a better way of adding AfterEffect effects to encodes without trashing video quality (and taking all that time), but I can't think what it is.

I assuming there's a way to frame serve into AE from AVISynth, but wouldn't that still mean the conversion into RGB anyway(since as far as I know AE works in RGB), or can it work in YV12 when frameserving?

Or, could I create a video overlay with the effects on, and add this to the encode using AVISynth?

Thanks for your help, all. This is really pissin' me off... damn AE ^^;;

Zarxrax
12th October 2004, 03:11
I always render out my After Effects stuff with an alpha channel, then use the overlay function in Avisynth to apply it over my video.

Mug Funky
13th October 2004, 14:30
you can frameserve into any vfw capable app with makeAVIS, which comes with ffdshow (you have to tick "avisynth scripts serving" in the installer).

yes, AE works in RGB, so conversion is inevitable. your best bet is to do the conversion in avisynth and do as much of your filtering there as possible. chroma keying and rotoscoping can be done in avisynth (and can give better quality at much faster speeds, too), but it's rather fiddly.

what filtering were you doing in after effects? is it anything that can be emulated in avs?