Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Avisynth/avsedit Won't Run Scripts, crashing from the start
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
nagrafall
Posted: Apr 9 2004, 03:32 AM


Unregistered









Hello. I'm fairly new to dv but I've had no problems using VirtualDub for cleaning up captured files (with Vdub and Vdubmpeg2 versions). When I first tried avisynth, using the simplest of scripts saved in notepad, virtualdub would crash (close) just after hitting "enter' to try to load the script. It's not a syntax error. When trying to load the 'version' script into windows media player, that won't recognize the file type. So, I heard about avsedit and tried using that proggys simple loading mechanism and...boom...crash.

I'm using Virtualdub v 1.5.10 build 18160 and Virtualdub-mpeg2 v 1.5.10 build 18189. I'm running windows xp and I capture analog video thru the ADS pyro a/v link device thru a firewire connection, therefore Vdub won't capture for me, but that's another matter, I'd really like to be able to feed video served thru avisynth to get the more sophisticated filters available. Anyone for tennis?
 
  Top
stephanV
Posted: Apr 9 2004, 09:40 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



try to open .avs in WMP anyway. if im right when WMP says it doesnt recognize the file type it ask to continue or not, so let it continue
alternatively try Media Player Classic (get the right version: Win2K/XP or 98/Me), that should definitely open .avs files

theres also a (external) preview option in AVSEdit (under extras), does the script work with that? (its best to try this first i think)
or did you mean you couldnt load the .avs file with AVSedit? then create a script with AVSedit instead of notepad.

good luck smile.gif

(so tell me, was my serve in or out? wink.gif )

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
Wilbert
Posted: Apr 9 2004, 06:22 PM


Advanced Member


Group: Members
Posts: 132
Member No.: 6270
Joined: 11-September 03



QUOTE
When trying to load the 'version' script into windows media player, that won't recognize the file type.

Reinstall AviSynth.
 
     Top
nagrafall
Posted: Apr 10 2004, 04:31 AM


Unregistered









StephanV, Wilbert....thank you for your replys.

Wilbert..I removed all signs of Avisynth versions, reinstalled ...and voila, I can succesfully load Mpeg2 files into VDubMpeg2! However...VDub 2.5.4 will not recognize my type 2 DV files (Microsoft AVI files open DML)...the error message generated reads:

"couldn't locate decompressor for format 'dvsd' (unknown).
VirtualDub requires a Video for Windows compatible codec to decompress video. DirectShow codec, such as those used by Windows Media Player, are not suitable."

I thought Avisynth served all those AVIs that WMP plays, to VDub.
Any ideas?

StephanV...yes, I meant I coudn't use the preview function with AVSedit, it would crash when loading the 'built-in' scripts. And you aced...nice serve.
 
  Top
stephanV
Posted: Apr 10 2004, 07:07 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



you could install a DV codec, like Panasonic DV or Mainconcepts DV or another one
(preferably not Panasonic DV; its free, but it does weird things like trying to decompress MPEG4 files if you dont have the particular MPEG4-codec installed. there are more than one solutions for this, but its still a pain IMO. but if you can live with that, fine. if you dont, better get another one.)

OR

did you try the script: DirectShowSource ("c:\filename.avi",[framerate]) (replace [framerate] with the actual number of the framerate)

BTW VDub 2.5.4? if you mean VDub 1.5.4, there is a newer version (1.5.10). if you mean AVISynth 2.5.4: tongue.gif wink.gif

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
nagrafall
Posted: Apr 10 2004, 08:39 PM


Unregistered









stephanV...thanks for your help. I mixed up my version numbers...but, yes I am using VDub 1.5.10.

I installed the panasonic codec and it enables me to load my video into VD directly, without first re-encoding with one of the codecs that came with Ulead, but when trying to load this script:

AviSource(d:\temp\Capture\homemovie.avi)

...it won't load the script and I receive this error:

Avisynth open failure:
Script error: expected a,or)
(C:Documents and Settings\Matthew\homemovie.avs, line 1, column 12)

I can't see where my script error is.
 
  Top
stephanV
Posted: Apr 11 2004, 12:41 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



QUOTE (nagrafall @ Apr 10 2004, 10:39 PM)
I installed the panasonic codec and it enables me to load my video into VD directly, without first re-encoding with one of the codecs that came with Ulead, but when trying to load this script:

AviSource(d:\temp\Capture\homemovie.avi)


i think you forget to put in the " "

youir script should be
CODE
AviSource("d:\temp\Capture\homemovie.avi")


see the difference? (look at the "")

hope this helps smile.gif

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
nagrafall
Posted: Apr 11 2004, 02:40 AM


Unregistered









Yes, I see the quotation marks. I didn't know they needed to be included.
Nevertheless, I've now tried altering the script ro include them, but, alas VDub just crashes when trying to load the avs files I've tried.

I've tried reloading avisynth and then avsedit and when loading the 'version' file (WITH THAT EXTERNAL, PREVIEW MODE), avsedit still crashes. And Vdub still crashes upon loading the scripts. Interestingly, before these reinstalls of avisynth and avsedit, the example scripts included with avisynth had no trouble loading into windows media player. Now, those eample scripts crash WMP, too.

However, the reistalled VDub still loads those Non-vfw videos, thanks to the panasobic codec.

I'm kinda back to where I was. Can't load avs scripts!
 
  Top
stephanV
Posted: Apr 11 2004, 08:46 AM


Spam killer ;)


Group: Moderators
Posts: 4348
Member No.: 8917
Joined: 18-February 04



sad.gif

well, i think its fairly safe to say that the problem lies with AviSynth, not VirtualDub or WMP
maybe you can look in these forums if someone has had something similar ---> http://forum.doom9.org/forumdisplay.php?s=&forumid=67

good luck

--------------------
useful links:
VirtualDub, Input plugins and filters, AviSynth, AVI-Mux GUI, AC3ACM by fcchandler, VirtualDub FAQ
 
    Top
Wilbert
Posted: Apr 11 2004, 10:40 AM


Advanced Member


Group: Members
Posts: 132
Member No.: 6270
Joined: 11-September 03



QUOTE
but, alas VDub just crashes when trying to load the avs files I've tried.

Empty your plugin-dir (of AviSynth) and try again.
 
     Top
nagrafall
Posted: Apr 11 2004, 03:33 PM


Unregistered









Wilbert...your suggestion to empty avisynth plug-in directory seems to be the solution, to this aspect of the problem. Thanks very much. I can now load scripts into Vdub (at least avi files, but not mpegs, which makes sense since it is AVI-synth!).

I believe I was careful in downloading only version 2.5 filter files, but I guess I'l have to try loading them one-at-a-time to see which is the gremlin.

StephanV...many thanks to you as well.

Matthew
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
10 replies since Apr 9 2004, 03:32 AM Track this topic | Email this topic | Print this topic

<< Back to Avisynth Filtering, Processing and Scripts Discussion