View Full Version : problem with install
ray3d
11th November 2003, 17:09
I installed Avisynth 252 on my PC. I can see the "avisynth.dll"in my system32" folder. However, the most basic test, (dropping a "test.avs" containing the word "Version" onto Windows Media Player), gives the error codes "The selected file has an extension that is not recognized by WMP...", followed by: "Script error: syntax error (C:\path\testavs, line 1, column 1)
I posted this problem on this forum a week ago, and I can no longer find it. I am new to Doom9, so can someone tell me why my previous post was deleted?
Thank you.
Ray3D
ultimatebilly
11th November 2003, 17:36
I can't tell you anything about your previous post, but I can tell you that Avisynth is working already :D
The failure notice you mentioned is avisynth speaking to you!!!
And that WiMP is not knowing the .avs-extension is no wonder, because WiMP is not very good anyway, in my opinion...
What you wanted to do requires you to type "version()", that is the syntax for calling a function in most programming languages, you are calling the function "version" which outputs the current version to the screen.
You should have a look here (www.avisynth.org).
Have Fun!
jggimi
11th November 2003, 17:42
Your previous thread is in the AviSynth Usage forum, which is why it doesn't appear here in Newbies. The link is http://forum.doom9.org/showthread.php?s=&threadid=64606
ultimatebilly
11th November 2003, 17:46
By the way, you can use the search function searching for your own username, to find your previous posts...
I do that myself from time to time, if I want to look up what I said about something and what of that was nonsense and what not :D
The search button is a very mighty instrument anyway...
ray3d
11th November 2003, 17:53
Thanks "Ultimatebilly". I tried Version(), and "Version()", (with and without quotes). Same error codes. If WMP isn't a reliable way to tes my scripts, what is? VDub gives the same error messages.
Thanks "Jggimi". I suchg a Newbie, I don't even know here I'm posting!
Ray3D
ray3d
11th November 2003, 18:26
(I really must work on my typing.):rolleyes:
Ray3D
ultimatebilly
11th November 2003, 19:45
:confused: That is odd!!
"Script error: syntax error (C:\path\testavs, line 1, column 1)" is definitely an output of avisynth (it is telling you that line 1, column 1 contains a syntax error)!
Could you try loading an avi:
avisource("c:\Path\whatever.avi")
You don't have to include the quotes when using version().
I can't understand why it doesn't work for you...
What do you use to generate the text-file?
Notepad I assume?
WMP is just a crappy player in my opinion, but it should be ok for checking your scripts...
ray3d
11th November 2003, 20:25
> Could you try loading an avi:
Will do. My PC is currently rendering a DVD file, but in about 15 minutes I'll run a test. (I'm responding from my MAC,)
I am using notepad.
I am using a Pentium4 based PC with WIN2K and service pack 4. It is a fast (2.4 GHz) powerful system (512 MB RIMM, 533 MHz motherboard, 200 GB storage). This is the first thing I've asked of it that it hasn't been able to deliver.
ray3d
11th November 2003, 21:11
> Could you try loading an avi:
>avisource("c:\Path\whatever.avi")
Hmmm. After an initial error message, ("doesn't recognize extension"), the file played. I am confused, however, because the AVI would play in my WMP anyway, so I don't know if Avisynth has added anything.
This ws a DV avi, as I don't have any other avi files.
I tried the same thing with a QT file (.mov), as this won't normally play in WMP. I got an error code with "line 1" listed as the problem.
In the past, it also blamed the "column", but not now.
Ray3D
ultimatebilly
11th November 2003, 21:39
The "doesn't recognize extension" is an error message of WMP, maybe you want to switch to Media Player Classic?
Get it here: www.sourceforge.net/projects/guliverkli
because the AVI would play in my WMP anyway
Yes, but try adding "addborders(50,50,50,50)" to your script for example, and you will see what's the difference ;)
The error message when trying a mov-file is due to the fact, that this is no avifile, and can therefor not be loaded with avisource().
Have a look here:
http://forum.doom9.org/showthread.php?s=&threadid=63839&highlight=quicktime+in+avisynth
and read this:
loadvfapiplugin("c:\program files\avisynth 2.5\plugins\qtreader.vfp","qtreader")
qtreader("revtrailer.mov")
flipvertical()
In the past, it also blamed the "column", but not now.
It seems that Avisynth did recognize the command, but you had a syntax-error in column 1...
Maybe you accidentially typed .version() or something?
That would be an explanation...
jggimi
11th November 2003, 22:36
It's just a guess, but perhaps your file is filetype .txt rather than .avs? Notepad uses .txt as it's default filetype, and your Windows Explorer may not be showing you the complete filename.
By default with Windows, "known" filetypes are not displayed in the Windows Explorer. To turn them on, use the "Tools....Folder Options" pull down menu to bring up the Folder Options window. Then, press the "View" tab, and look at the settings. About 6 lines down or so (depending if hidden files and folders attributes are expanded) you will see:Hide file extensions for known file typesBe sure that check box is cleared, then click the OK button.
ray3d
11th November 2003, 22:47
Thank you, guys.
Once again, my PC is busy "earning a living", but I will try your suggestions later and report back sometime tomorrow.
ray3d.com
|minister
11th November 2003, 23:30
Does the version() you type in your script start with a capital v?
That might be the problem (have no idea). Try changing it all to lowercase letters.
ultimatebilly
12th November 2003, 00:08
I already checked that, makes no difference...
This would have been a good explanation, but unfortunately it has to be something else... :confused:
ray3d
12th November 2003, 17:11
I tried the suggested tests.
Capital "V" or lower case "v" yields the same results.
I checked the file extension, and it IS ".avs".
Adding "addborders(50,50,50,50)" command gives the error code "The script's return value was not a video clip".
HOWEVER, when I experimented with including/deleting quotes, and including/deleting a space between commands, IT WORKS!
At first, "addborders" produced such a subtle effect that I was not sure it was a change. So, I added "flipvertical", and there was no doubt.
I guess that Avisynth seems so much like magic to me that I almost didn't expect it to work.
ray3d
12th November 2003, 17:15
Oops! I hit a wrong key and sent that message too soon.
I will start to study proper script formats, before posting again.
Thank you all for the help and patience with this Newbie!
Sincerely,
ray3d.com
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.