VFAPI "File Invalid"

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.

VFAPI "File Invalid"

Postby 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
Krisqo
Cooking Oil
 
Joined: 07 Jul 2003
Location: Moderating the Adobe Forums
Status: W.O.A (Waiting on Aion)

Re: VFAPI "File Invalid"

Postby 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
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: VFAPI "File Invalid"

Postby 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
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: VFAPI "File Invalid"

Postby 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.
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂

Re: VFAPI "File Invalid"

Postby 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
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: VFAPI "File Invalid"

Postby 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
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest