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.

Avisynth in After Effects

Postby Akashio » Thu Sep 29, 2005 3:59 pm

Is there anyway I can import avisynth into AE? Do I need a plugin? I serached, but can't find one. I'm really excited to start my project and this is a major obsticle.

Thanks for helping in advance!

[MOD42: Stickified, 12/23/2005.]
[MOD 258: De-stickied for being old and outdated. 12/4/2009.]
User avatar
Akashio
 
Joined: 25 Nov 2001

Postby Mad_Cyric » Thu Sep 29, 2005 4:06 pm

I think you can use ffdshow or something to do it; I know there's a section in AD's tech guide that tells you how. I think it's under the "editing directly with avs files" section (I'm not sure that's exactly what it's called, but it's something like that).
Mad_Cyric
 
Joined: 18 Feb 2004

Postby Scintilla » Thu Sep 29, 2005 4:35 pm

Here's the relevant section:
http://www.animemusicvideos.org/guides/ ... ocId201615

This page covers makeAVIs; if it doesn't work, you may want to try DGVFAPI (comes with DGMPGDec 1.4.0 and higher) instead.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby Akashio » Fri Sep 30, 2005 9:16 pm

I followed the instructions exactly and when I load the "fake" avi into After Effects, it closes the whole program! What is going on?
User avatar
Akashio
 
Joined: 25 Nov 2001

Postby Zarxrax » Fri Sep 30, 2005 9:58 pm

Better to just encode your avs files to a lossless codec if you have the space available.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Postby Akashio » Fri Sep 30, 2005 11:16 pm

But shouldn't this method work?
User avatar
Akashio
 
Joined: 25 Nov 2001

Postby Scintilla » Fri Sep 30, 2005 11:25 pm

Did you try DGVFAPI (and make sure your script is outputting RGB32 data)? I've never worked with it myself, but people were saying it worked great for Vegas, Magix, etc.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Postby Akashio » Sat Oct 01, 2005 1:27 am

I've been looking and googleing, but still can't figure out how to access VFAPI to create dummy avi files! How do I do this?
User avatar
Akashio
 
Joined: 25 Nov 2001

Postby Jnzk » Sat Oct 01, 2005 3:00 am

Go to doom9.org downloads page and search for VFAPI. Then convert your AVS files with it. If the fake avis show as black in your editing program, try adding ConvertToRGB24() to the end of the scripts.
User avatar
Jnzk
Artsy Bastid
 
Joined: 28 Jan 2003
Location: Finland

Postby Jnzk » Sat Oct 01, 2005 3:02 am

Oh and remember to read DGVfapi.txt that comes with DGMPGDec.
User avatar
Jnzk
Artsy Bastid
 
Joined: 28 Jan 2003
Location: Finland

Postby Akashio » Sat Oct 01, 2005 7:52 pm

When I use VFAPI and then import the dummy avi into AE, it says:

"After Effects error: no such AVI compressor. (-2147205007)

(53 :: 33)"

What the hell am I doing wrong? I really need these avs files in After Effects! Not premiere, after effects! ACK!
User avatar
Akashio
 
Joined: 25 Nov 2001

Postby Akashio » Thu Oct 06, 2005 7:00 am

Does anyone have an explination for this?
User avatar
Akashio
 
Joined: 25 Nov 2001

Postby badmartialarts » Thu Oct 06, 2005 8:03 am

After Effects isn't buying the trick. You're gonna have to bite the bullet and make lossless .avi files.
Life's short.
eBayhard.
User avatar
badmartialarts
Bad Martial Artist
 
Joined: 25 Oct 2003
Location: In ur Kitchen Stadium, eatin ur peppurz

Postby Akashio » Thu Oct 06, 2005 10:17 pm

I don't have the space to create lossless avis. THIS METHOD SHOULD WORK RIGHT? Can't I do anything?
User avatar
Akashio
 
Joined: 25 Nov 2001

Postby Jnzk » Fri Oct 07, 2005 11:32 am

Works fine for me with AE 6.5. Here's what you need to do, step by step:

1. Make sure you have the latest AviSynth version. (2.5.5)

2. Get the latest DGMPGDec package (1.4.5) and extract it to a directory of its own.

3. Go to your Program Files/AviSynth/Plugins directory and delete any MPEG2 decoder filters you have there. (dgdecode.dll, mpeg2dec3.dll etc.)

4. Go to Doom9 downloads page and find a package called VFAPI under Support Utils. Download it and extract it to a folder. In that folder there should now be a file called vifpset.bat. Run it to register the dll. :!:

5. Run DGIndex that came with DGMPGDec and create your .d2v file normally.

6. Create your AVS script in Notepad and remember to load the decoding filter.

Code: Select all
LoadPlugin("C:\Program Files\DGMPGDec 1.4.5\DGDecode.dll")
MPEG2Source("C:\bibleblack.d2v")
    <strike>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.
</strike>
7. Run VFAPIConv that came with VFAPI. Drag and drop your AVS file on the program window. Click OK, then Convert. After the conversion you should have a small fake AVI file in the same directory as your AVS file.

8. Import the fake AVI to your favourite editing program.
User avatar
Jnzk
Artsy Bastid
 
Joined: 28 Jan 2003
Location: Finland

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests