Avisynth in After Effects

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Postby Jnzk » Thu Dec 15, 2005 4:31 am

Remember that VFAPI upsamples to RGB by default in interlaced mode. If your script outputs progressive footage (e.g. you do IVTC with Telecide + Decimate), put "_P" just before the extension in the filename. This forces progressive upsampling. So for example bibleblack_P.avs.

Please ignore that. Apparently it only works when you're using .d2vs directly. AVS scripts are converted to RGB24 in progressive mode by default.
User avatar
Jnzk
Artsy Bastid
 
Joined: 28 Jan 2003
Location: Finland

Postby Warheart » Thu Dec 15, 2005 8:48 am

I guess this method is now use if you're using raws or any other type of avi ?
But it's nice to know that I can use that method for my next video ;). Thanks a bunch.
User avatar
Warheart
 
Joined: 17 Sep 2003
Location: In Fiction
Status: Immersed

Help

Postby Organoid » Sat Jan 14, 2006 1:02 am

Hey, im starting to make AMV's but the program cardwell(i think thats his name) talked about....i got to the part with the colored picture and the beeep sound....but when it comes to actually uploading different files into that program im lost....it keeps saying error: canot open that file when i use the right format and everything....if theirs anyone experienced enough that can show/tell me plz talk to me
Organoid
 
Joined: 10 Nov 2004

Postby sagarajack » Thu Jan 26, 2006 6:17 pm

is there any other benefit by using avs other than saving space? i do all my project in RGB32, a lil alpha helps the effect i think. i usually have 160gb of space for projects, it's enough for most of the time except for CS skill vids.
i never worked with avs, so go back to my first question, what are its benefits? do i loose some of the effect properties by using it?
User avatar
sagarajack
 
Joined: 17 Oct 2004

Postby Scintilla » Thu Jan 26, 2006 7:41 pm

sagarajack wrote:is there any other benefit by using avs other than saving space?

Yes, you can modify your preprocessing filter chain without having to re-encode any files (as long as you're not changing anything that would affect properties such as resolution and frame rate).

You could edit with scripts with no preprocessing at all (except, say, IVTC and resizing) because it's faster that way, then just before exporting your video, add some preprocessing to make them better-looking and/or easier to compress.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby sagarajack » Fri Jan 27, 2006 5:56 pm

script to me is a pain in the butt, i guess i just can't use it, just get another 400gb hd :)
User avatar
sagarajack
 
Joined: 17 Oct 2004

Postby Gepetto » Sat Feb 18, 2006 9:35 am

sagarajack wrote:script to me is a pain in the butt, i guess i just can't use it, just get another 400gb hd :)


or you can download the God of all guides and keep it open whenever you want to make a script. It's what I did for my first vids with avs.
And God spoke unto the Chicken, and He said: "Thou shalt crosseth the road", and the Chicken did cross the road, and there was much rejoicing.
My DeviantART profile
User avatar
Gepetto
Mr. Poopy Pants
 
Joined: 10 Jun 2004
Location: The Tokyo Settlement
Status: Bored to tears

Postby AngryManAnime » Thu Mar 09, 2006 3:55 am

So did I, but I still had to ask questions when I overlooked the SetMemoryMax option and wound up with black scripts. That was ages ago though, it's been updated since then.

Ripping/scripting DVD footage can be a real pain, but viewing the resulting footage for the first time will amaze you with it's incredible clarity.
User avatar
AngryManAnime
 
Joined: 08 Nov 2003
Location: US

The answer to the initial question

Postby Lu Tze » Wed Apr 05, 2006 7:55 am

After some trying around I managed to import Avs-Files into After Effects (v. 7 pro, but version should not matter).
There are a few things that need to be done right, however, in order for this to work, and some are not so obvious:
- Your AVS-script may NOT contain relative paths. Use absolutes ONLY!!
- Use MakeAVIS (part of ffdShow, you need to enable it during install) to convert your script to a dummy-AVI-file, which can then be imported. However: This does not work for all versions of ffdShow, so you need to try around a bit. The one I am using right now is 20050909. The 20051103 version will NOT work, meaning that you can play those AVI-files using a DirectShow-Player (e.g. zplayer), but you will be unable to open them in VirtualDub or After Effects.
- Audio streams are problematic. It is saver to include a "KillAudio()" line in you AVS-script. If you really need to use an audio stream, you have to activate the option "Store uncompressed audio". If you do not, After Effects will crash as soon as you import the AVI. (This may have been fixed in later versions of ffdShow)

- Other than that it seems you can do just about everything, even after creating the dummy-Avi-file. For example, you can replace the AVS-file later, change the file the AVS-video references, add sharpening effects and use DirectShowSource for your video, so your source can be a WMV-file or an MKV-file with X264. (but you should use those for rendering only because editing will be very slow). You can even change resolution and color space later, but a change in resolution will crop the image.

All this together is not nearly as complicated as it sounds, and it is definetely worth it. Editing with MJPEG instead of a lossless source does not just save you a huge amound of disk space, it is also much faster.

Well, I hope this will help some people!
Lu Tze
 
Joined: 24 Sep 2005

Postby [Mike of the Desert] » Wed Apr 19, 2006 1:23 pm

Please, Please, HELP.

I've asked this everywhere but I didn't get any answer, so please, I'm truly desperate, help me, anyone. :( I'm trying to import any type of clip into After Effects, now, for example, an Episode (any) of Full Metal Alchemist, 640x480 with 23,976 fps, receiving, continously, this error.

After Effects error: retrieving frame from video stream. (3)

( 53 :: 34)


Please, anyone can help me? I'm really desperate I don't know what can I do. :cry:

I think that probably this can belong to an Avysinth solution but I tried to make what it's suggested here, without changing, sadly, nothing.
ImageImage
Image
User avatar
[Mike of the Desert]
 
Joined: 25 Jul 2003
Location: Earth -> Europe -> Italy -> Rome -> Cerveteri -> Sasso -> Home -> Mike's Room
Status: Lonely

Postby taifunbrowser » Tue May 16, 2006 5:30 pm

Michele wrote:
After Effects error: retrieving frame from video stream. (3)

( 53 :: 34)



ha! was about to post here for same problem. Using makeAvis version 20040317... audio off,

EXACT same problem. error message.

-AND- when i say Audio ON (just as a test) i get the OTHER error message a previous poster posted (the "no such compressor")...

OH and on VFAPICONV it wont let me drag .avs files into it, and when i browse for the file, it shows only .d2v and .tmp files
User avatar
taifunbrowser
 
Joined: 11 Sep 2004
Location: DDR ARCADES

asdf

Postby taifunbrowser » Tue May 16, 2006 6:11 pm

FIXED!

gack why can't we edit our posts?

Anyway, the deal is for VFAPI you have to find (google it) and download

READAVS.REG

(its a zip file with other stuff in it.)

copy everything in the zip to your vfapi directory,
open up the .reg in notepad, and do wut the file says.

then doubleclick the .reg file, and vfapi will let you put in .avs files.
User avatar
taifunbrowser
 
Joined: 11 Sep 2004
Location: DDR ARCADES

Postby Jnzk » Fri Apr 06, 2007 6:51 pm

If you want to install VFAPI on Vista x64, you'll need to edit vifpset.bat in Notepad. Change it to:

Code: Select all
c:\windows\syswow64\rundll32.exe advpack.dll,LaunchINFSection C:\Program Files (x86)\VFAPI\vifp.inf,DefaultInstall


(change the path to vipf.inf as necessary)

Then run the edited vifpset.bat as administrator. I also had to add the line ConvertToRGB24() to the end of my Avisynth script, otherwise I would only get a black screen.
User avatar
Jnzk
Artsy Bastid
 
Joined: 28 Jan 2003
Location: Finland

Re: Avisynth in After Effects

Postby chui101 » Fri Apr 17, 2009 12:37 am

It'll be a bit more of a performance hit, but if you have dynamic link, you can drop the AVS into a new PPro sequence and then import that sequence into AFx.
Cyber Ninja Productions - http://www.devilsbsd.net
User avatar
chui101
 
Joined: 08 Oct 2008
Location: At a computer
Status: whatisthisidonteven

Re: Avisynth in After Effects

Postby outlawed » Sun May 03, 2009 9:52 am

Protip.

Pre-process your footage with avs and export it to uncompressed or an editing codec. Yes this means you can't pre-process it again after you edit. What that does mean is you will learn to properly pre-process it to begin with and do the job RIGHT the first time.

How important is your time to you? A 1TB hard drive can be purchased for <$100 on sale. A 5 year warranty WD Black Caviar 1 TB Sata drive can be purchased from newegg for around $110 with free shipping on a regular basis.

Some problems are easier solved by throwing money at them then throwing time and frustration at them.
User avatar
outlawed
 
Joined: 12 Jan 2001
Location: Lost

PreviousNext

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest