Log in

View Full Version : Error using AVS Script


StarWolf
2nd January 2010, 04:36
Hey guuys i get an error when trying to AVS Script something:
This is exactly what i get:
The file DirectShowSource("C:Documents and Settings\user\Desktop\RevABS.avi", audio=false, fps=29.97,convertfps=true) cannot be opened.
Please make sure it's a valid AviSynth script and that AviSynth is properly installed.
You can check the validity of your script and AviSynth installation by opening the file in your favorite media player.
If that works, try opening the video in VirtualDub(Mod) as well. If the former works and the latter doesn't, install a YV12 codec.
Error message for your reference: External component has thrown an exception.

Help with this..:thanks:

`Orum
2nd January 2010, 12:45
If the problem isn't with your script, try setting ffdshow to decode uncompressed formats (YV12 or just "all"). If it's with your script, something is wrong, possibly a typo, or DSS() can't render your video. If that's the case, try another input filter like FFMpegSource2() or dss2().

Edit: is that "C:\Documents..." or just "C:Documents..."? It may just be that you forgot the '\'.

StainlessS
3rd January 2010, 17:50
Looks like Orum is correct in his edit. Also, suggest usage of any other source
other than DirectShowSource(), DSS is a bit dodgy. Try AVISource().

stax76
3rd January 2010, 18:05
Please everybody always post MediaInfo.

Gavino
3rd January 2010, 18:27
This is exactly what i get:
The file DirectShowSource("C:Documents and Settings\user\Desktop\RevABS.avi", audio=false, fps=29.97,convertfps=true) cannot be opened.
If this really is exactly what you get, it suggests the program you are using is trying to open a file called "DirectShowSource...".
Could it be you are trying to type your script directly into something which expects a filename? The script should be put into a text file with suffix .avs and the name of that file given to your application.