VFAPI "File Invalid"

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Krisqo
Cooking Oil
Joined: Mon Jul 07, 2003 1:22 pm
Status: W.O.A (Waiting on Aion)
Location: Moderating the Adobe Forums
Org Profile

VFAPI "File Invalid"

Post by Krisqo » Fri Dec 19, 2008 6:42 pm

Here's something weird. I just moved all my stuff over to a new computer. Just pulled the HDDs from the old and plugged them into the new. I checked my AVS files and the file paths are all correct. So when I go to load them into VFAPIConv I get a message saying the file is invalid when I already made a fake avi in the past using the same script. The files open fine in Vdub btw. Any Ideas?
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: VFAPI "File Invalid"

Post by mirkosp » Sat Dec 20, 2008 10:22 am

It's an issue that vfapi has at times when installed, it basically won't accept any kind of file. In order for avs files to work, follow these steps:

1) Download this.

2) Unzip it. Put the readavs.dll in the same folder of the VFAPI.exe (I assume C:\Program Files\AMVapp\Support Tools).

3) Now right click the ReadAVS.reg file and choose edit. You have to edit this line:

Code: Select all

"Avisynth"="D:\\TMPGEnc\\ReadAVS.dll"
by putting there your readavs.dll path. So, if you putted the readavs.dll in C:\Program Files\AMVapp\Support Tools the code will become this:

Code: Select all

"Avisynth"="C:\\Program Files\\AMVapp\\Support Tools\\ReadAVS.dll"
Remember to use \\ instead of just \ in the path, in the case your path is different.

4) Save it, then double click on it to add it to your registry, and it should workvfapi
Image

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: VFAPI "File Invalid"

Post by mirkosp » Sat Dec 20, 2008 10:24 am

mirkosp wrote:[...] and vfapi should work.
Ugh, fixed the weird typo... this is what I get from not checking the preview.
Image

User avatar
Phantasmagoriat
Joined: Mon Feb 06, 2006 11:26 pm
Status: ☁SteamPunked≈☂
Contact:
Org Profile

Re: VFAPI "File Invalid"

Post by Phantasmagoriat » Sun Dec 21, 2008 9:42 pm

If your avs scripts point towards .d2v files, perhaps your version of DGMPEGDec is not compatible with your version of VFAPIConv. This happened recently to me where my indexes from DGMPEGDec 1.2.1 didn't work with VFAPIConv 1.05, then I switched to DGMPEGDec 1.5.3 and everything worked fine. It's hard to say that's the case here... but it would explain why the avs scripts work in vdub but not VFAPIConv.
PLAY FREEDOOM!! | Phan Picks! | THE424SHOW | YouTube | "Painkiller" | Vanilla MIDI's
"Effort to Understand; Effort to be Understood; to See through Different Eyes."

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Re: VFAPI "File Invalid"

Post by mirkosp » Mon Dec 22, 2008 4:03 am

Phantasmagoriat wrote:If your avs scripts point towards .d2v files, perhaps your version of DGMPEGDec is not compatible with your version of VFAPIConv. This happened recently to me where my indexes from DGMPEGDec 1.2.1 didn't work with VFAPIConv 1.05, then I switched to DGMPEGDec 1.5.3 and everything worked fine. It's hard to say that's the case here... but it would explain why the avs scripts work in vdub but not VFAPIConv.
Actually, the issue you're talking about happened to me too, and in that case the avs script wouldn't work not only with vfapi, but not even in virtual dub mod nor with media player classic... :?
Image

User avatar
Phantasmagoriat
Joined: Mon Feb 06, 2006 11:26 pm
Status: ☁SteamPunked≈☂
Contact:
Org Profile

Re: VFAPI "File Invalid"

Post by Phantasmagoriat » Mon Dec 22, 2008 8:33 pm

mirkosp wrote:Actually, the issue you're talking about happened to me too, and in that case the avs script wouldn't work not only with vfapi, but not even in virtual dub mod nor with media player classic... :?
I would guess that the problem there was the indexes themselves; perhaps they weren't compatible with your version of DGMPEGDec... or for some other reason. Basically, if your indexes don't work through avisynth, VFAPI is obviously not going to work since it relies on avisynth to call DGMPEGDec to open those indexes. The only reason it worked in vdub for me was because my indexes still worked with DGMPEGDec 1.2.1, so any avs scripts would also work fine. The problem for me was 1.2.1 didn't seem to work with VFAPIConv 1.05
PLAY FREEDOOM!! | Phan Picks! | THE424SHOW | YouTube | "Painkiller" | Vanilla MIDI's
"Effort to Understand; Effort to be Understood; to See through Different Eyes."

Locked

Return to “AviSynth Help”