PDA

View Full Version : ClassFactory error


bairradino
1st February 2004, 23:46
After uninstalling some software from my computer I get a "ClassFactory ..." error anytime I try to open the following script in VirtualDub:
---------
LoadPlugin("c:\programas\avisynth 2.5\plugins\kerneldeint140.dll")
LoadPlugin("c:\programas\avisynth 2.5\plugins\decomb510.dll")
Import("c:\programas\avisynth 2.5\plugins\converter.avs")
DirectShowSource("C:\temp\TheTwoTowers\Disco_2.avi")# that's a Divx file

ConvertToYUY2()

trim(0,155520)
Converter(720,432,true,20,false,false)
AddBorders(0,72,0,72)
----------
I'm using Avisynth v2.53 and before those uninstallings this script worked fine.
I reinstalled DirectX again but... nothing.
Anyone, please, can give me a tip?

Wilbert
2nd February 2004, 00:17
1) Does the following script works:

DirectShowSource("C:\temp\TheTwoTowers\Disco_2.avi")

2) Could you post this Converter.avs script?

bairradino
2nd February 2004, 00:49
Wilbert,
1) No, doesn't work
2) This script has been posted here for converting between framerate movies.
VirtualDub gives error on loadind the forth line of my script.
The message is in portughese language but the translation is:

------
Video returned:"DirectShowSource:Couldn't open the file C:\temp\TheTwoTowers\Disco_2.avi:ClassFactory can not suplly the class requested.
-------

bairradino
2nd February 2004, 01:06
Another complement to the problem:

If I load a "DirectShowSource("...\anything.mpg") the script works perfectly.
It seems that the problem has to do with loading Divx files.

Wilbert
2nd February 2004, 10:49
You have to supply the framerate:

DirectShowSource("C:\temp\TheTwoTowers\Disco_2.avi", fps=xx)

But I don't think that's the problem. Are you able to play the avi in WMP6.4? If not you should install some codecs like DivX, huffyuv.

Anyway, just use AviSource.

bairradino
2nd February 2004, 11:08
Wilbert,

Yes, I can play the "Disco_2.avi" file in WMP, and I can open that file in VirtualDub, if I open it directly.
If I use the Avisynth script to open that file in VirtualDub than comes the error.
As that script worked before for the same avi file, I'm wondering if it can be due to the fact that I installed and unisntalled the trial version of M2-edit pro.
When uninstalling is it possible that I deleted any necessary shared file?
Like Sócrates said, "The only thing I know... is that I know nothing."

Wilbert
2nd February 2004, 13:03
Sorry I have no idea. I assume that reinstalling AviSynth didn't help.

When googling I found the following (for W2K and XP):

http://www.sensiblecinema.com/Knowledge/BOW_008.htm

Use it at your own risk though (you need to register it, and keep a copy of the old dll) :)

bairradino
2nd February 2004, 20:47
Thanks Wilbert for trying to help.
Each case is a case and mine is just one. For those who'll have the same problem try to install "ffdshow".
I did it and.. voilą! It works again.