Log in

View Full Version : Vfapi with Multiple Instances


mimage
10th May 2005, 07:32
I'm looking for a program like Vfapi with multiple instances for Vegas. AVS files and AVI files made with MakeAVIS don't work when I import them. :( Any suggestions are appreciated. Thanks! -_^

Guest
15th May 2005, 02:54
Yes, DGVfapi and its precursors use global variables, making multiple instances unfeasible. I will add it to the work list. Thanks for pointing it out.

mimage
20th May 2005, 06:15
Originally posted by neuron2
Yes, DGVfapi and its precursors use global variables, making multiple instances unfeasible. I will add it to the work list. Thanks for pointing it out. It's one of the biggest things I want with Vfapi, I at least want MakeAVIS to work. Anyways, thanks for the consideration.

mimage
1st June 2005, 19:27
Yes, DGVfapi and its precursors use global variables, making multiple instances unfeasible. I will add it to the work list. Thanks for pointing it out. Does jackei know a bit about Vfapi. This is the one thing I need to get me back into editing, and it would be a lot less frustrating using a version that works as well or better with multiple instances. The compatibility of Vfapi and Vegas is a lot better than any other program I could think of that creates fake avis out of avs/d2v files.

Guest
1st June 2005, 22:35
Why don't you send him a PM and ask him?

mimage
1st June 2005, 22:53
Why don't you send him a PM and ask him?Is he aloud to work on it? I know you said you'll add it to your to work on list, but I was wondering just in case your busy if someone else can work on it. :( Also PMing him sounds like a good idea. Thanks for the suggestion, just wasn't sure if he could do much about it. Anyways thanks. Any more feedback is appreciated. ^_^

Guest
2nd June 2005, 00:00
jackei is the original author so I reckon he can work on anything he wants to! I don't know if his VFAPI supports multiple instances; have you tried it? If he did anything I suppose he would do it to his own version (DVD2AVI).

I do believe the VFAPI spec itself allows for multiple instances, but each implementation has to choose to support that. For DGMPGDec it's more than just changing some variables from globals; the DLL calls themselves do not take a handle of any kind, so to fix it means backward compatibility goes away, which will cause problems for all the apps that currently use DGDecode. So it's a big change.

tritical
2nd June 2005, 14:05
I managed to make dgvfapi support multiple instances without (I think) breaking backward compatibility for dgdecode. Also added avisynth script loading/reading for kicks. I'll post it later today, gotta get to bed.

mimage
2nd June 2005, 14:47
I managed to make dgvfapi support multiple instances without (I think) breaking backward compatibility for dgdecode. Also added avisynth script loading/reading for kicks. I'll post it later today, gotta get to bed.

Thanks a bunch!! :D

tritical
3rd June 2005, 07:28
Here: [link removed] (see dmpegdec v1.4 b3 or up).

Could you try that out and see if it works for you? Just replace your current dgdecode.dll/dgvfapi.vfp with the ones in that zip. Everything worked for me (avs/d2v input). The most multiple instances I tested was first converting 2 d2v files, then loading those converted files into an avs script with avisource() and then converting the avs script and opening the resulting .avi into vdub. The dgdecode.dll should be backwards compatible with things that use it, but the dgvfapi.vfp can only open d2v files with the modified dgdecode.dll.

mimage
3rd June 2005, 13:10
Here: vfapi_test (http://bengal.missouri.edu/~kes25c/vfapi_test.zip).

Could you try that out and see if it works for you? Just replace your current dgdecode.dll/dgvfapi.vfp with the ones in that zip. Everything worked for me (avs/d2v input). The most multiple instances I tested was first converting 2 d2v files, then loading those converted files into an avs script with avisource() and then converting the avs script and opening the resulting .avi into vdub. The dgdecode.dll should be backwards compatible with things that use it, but the dgvfapi.vfp can only open d2v files with the modified dgdecode.dll.OH MY GOD IT WORKED!!!!!!!!!!!!! YOUR A GENIUS!!! http://www.animemusicvideos.org/phpBB/images/smiles/icon_biggrin.gif

Guest
3rd June 2005, 13:16
tritical, it might be a good idea to get my latest beta code before you start such developments. It will make the merging job much easier. I'll provide the beta code on request to developers. Thanks.

Guest
5th June 2005, 02:16
tritical has submitted the changes and I've released a new beta 1.4.0b3.

http://neuron2.net/dgmpgdec/dgmpgdec140b3.zip

Please note that this version can also now convert AVS files as well as D2V files!

:thanks: to tritical for more great contributions.

mimage
5th June 2005, 03:04
tritical has submitted the changes and I've released a new beta 1.4.0b3.

http://neuron2.net/dgmpgdec/dgmpgdec140b3.zip

Please note that this version can also now convert AVS files as well as D2V files!

:thanks: to tritical for more great contributions.I love it! Thanks a bunch you guys.

mimage
5th June 2005, 03:18
Congratulations guys! Importing AVS files in Vegas now is a breeze. I don't know how much I can thank you guys enough for this, I am greatly appreciative. You both made my day. Thanks a bunch for your help! ^_^

Guest
5th June 2005, 04:14
I don't know how much I can thank you guys enough for this, I am greatly appreciative. Just keep the ideas coming! User suggestions and feedback are crucial. Thank you for stimulating this improved functionality.

mimage
5th June 2005, 05:42
Ah thank you again, glad I can help. :) This is really a great masterpiece IMO, and it works great. It feels really nice to have these features you and tritical integrated in this. Again Thanks a bunch!! :D