View Full Version : Couldn't open file
SATANIC1
7th October 2002, 04:08
Here is my problem. Simple script so I checked this forum and others for a solution but, could not find one. I was almost apprehensive to post this because it seems so elementary to figure out. Anyways...
1. Used Smart Ripper full backup
2. Used DVD2AVI and loaded movie vobs with proper settings
3. Demuxed all and saved as movie.d2v
4. Wrote the following avs script:
LoadPlugin("C:\Program Files\AviSynth2\plugins\mpeg2dec.dll")
AviSource("G:\STEP_1\MOVIE.d2v")
ReSampleAudio(44100)
5. Opened script in WMP 6.4 and get the following error message
AVIFile Source:couldn't open file (G:\test.avs,line 2)
So then I went back to my old method:
1. Used Smart Ripper full backup
2. Used DVD2AVI and loaded movie vobs with proper settings
3. Demuxed all and saved as movie.d2v
4. Loaded movie.d2v in Vfapi and saved as movie.avi
5. Loaded avi into CCE and all worked fine
I started using the avs script method because I had read in this forum that it was a much faster method. Is there something wrong with my script? I am using Avisynth 2.06. Thanks in advance for any help.
Guest
7th October 2002, 06:01
Yes, your script is wrong. Try this:
LoadPlugin("C:\Program Files\AviSynth2\plugins\mpeg2dec.dll")
MPEG2Source("G:\STEP_1\MOVIE.d2v")
ReSampleAudio(44100)
Phlex
7th October 2002, 07:54
I get an unrecognized exception error trying to load an avs file with VirtualDub 1.4.10. I just want to see a preview with virtual dub before frameserving. I haven't used avisnyth in awhile. I would like to preview the avs with virtual dub. Could someone help me out? I'm using avisnyth v2.0.6. The error happens on line 7. I've checked the dv2 file to make sure the path and filename were correct and it is. btw I'm using dvd2avi v1.77.3.
It's a very basic avs file.
LoadPlugin("E:\DVDRip\Video\AviFil\Mpeg2dec\Mpeg2dec.dll")
#LoadPlugin("E:\DVDRip\Video\AViFil\decomb400rc6\decomb.dll")
LoadPlugin("E:\DVDRip\Video\AViFil\convolution3d\convolution3d.dll")
LoadPlugin("E:\DVDRip\Video\AViFil\UnFilter\Unfilter.dll")
LoadPlugin("E:\DVDRip\Video\AViFil\TomsMoComp\tomsmocomp.dll")
LoadPlugin("E:\DVDRip\Video\AViFil\lanczos3\lanczos3.dll")
Mpeg2source("E:\DVDRip\test\testclip.d2v")
#FieldDeinterlace()
Convolution3d (0,8,8,8,8,2.4,0)
Unfilter(20,20)
TomsMoComp(1,20,1)
Lanczos3Resize(480,480)
ResampleAudio(44100
hakko504
7th October 2002, 08:12
.d2v created with v1.77.3 is NOT compatible with mpeg2dec.dll! Use v 1.76 instead.
Phlex
7th October 2002, 08:16
Originally posted by hakko504
.d2v created with v1.77.3 is NOT compatible with mpeg2dec.dll! Use v 1.76 instead.
Thanks, I went back to 1.76 after searching the board and finding my answer. My bad!
SATANIC1
8th October 2002, 03:37
neuron2
Now my script reads:
LoadPlugin("C:\Program Files\AviSynth2\plugins\mpeg2dec.dll")
MPEG2Source("G:\STEP_1\MOVIE.d2v")
ReSampleAudio(44100)
Now I get Unrecognized Exception! Any help is appreciated. Thanks in advance...
BTW...I am using Smart Ripper 2.41
Richard Berg
8th October 2002, 07:20
Perhaps you're trying to load that plugin twice (since it's in the autoload directory)?
Guest
8th October 2002, 14:05
What version of DVD2AVI are you using?
SATANIC1
8th October 2002, 22:11
neuron...
Using DVD2AVI v 1.77 and switching bacl to 1.76 after reading this thread.
R. Berg...
Load twice? Autoload directory?
I'll take off the loadplugin command and see if that works. If so, then that was the problem. Re:autoload directory, when I dl'd the 2 files for Avisynth, I got a .exe file with 2 subdirectories and a .scr file with I believe one subdirectory. Neither of them is "autoload". Did I unzip the program wrong or what?
SATANIC1
9th October 2002, 04:29
I just switched over to DVD2AVI 1.76 and ran a test on creating a .d2v file. I loaded the file and used my script with the change that neuron2 advised and it works just fine.
Thanks for the assist but I am now confused about this possibility of loading the pligin twice. I deleted the syntax which loads the plugin and it didn't work when I re-ran the script, so I know I am not loading the pgm twice. However, I am still concerned about this autoload directory and the files I dl'd from the Avisynth site. Did I get the correct pgms?
Thanks in advance.
hakko504
9th October 2002, 07:03
Originally posted by SATANIC1
I'll take off the loadplugin command and see if that works. If so, then that was the problem. Re:autoload directory, when I dl'd the 2 files for Avisynth, I got a .exe file with 2 subdirectories and a .scr file with I believe one subdirectory. Neither of them is "autoload". Did I unzip the program wrong or what?
One of the two directories should be called 'plugins', and anything you put in here will be automatically loaded into AviSynth, and a hint: Only put aviSynth plugins .dll, function scripts .avs and VirtualDub plugins .vdf in this dir.
SATANIC1
9th October 2002, 17:11
Hakko504
I will check my directory structure later tonight and see if that is what I have. When I unzipped the files, they auto extracted and created their own subs but I didn't pay too much attention as to what was being created...Thanks
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.