DirectShowSource not working?!

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
browncoat_gater
Joined: Fri Jun 27, 2008 11:27 pm
Org Profile

DirectShowSource not working?!

Post by browncoat_gater » Fri Jun 27, 2008 11:46 pm

I am just now learning AviSynth so please bear with me. I've just been playing around with loading different video files. I've been playing the .avs files in VirtualDubMod because neither WMP or VLC will work. (WHY won't VLC work?!)

Whenever I try to open anything other than a .wmv (well, I've only tried .mpg's and .vob's) using DirectShowSource it crashes VDubMod. It's fine until I try to actually play the file, and then it freezes up and shuts down. It does this when I manually create an .avs file and when I open it with a template through VDubMod.

Has anybody run across this and know how to fix it? Or is there something else I can use to open these files? Someone PLEASE help me as I really can't do anything with it if I can't open these two types of files. I will be eternally grateful!

And, yes, I'm running Vista. Nothing to be done about that.

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Sat Jun 28, 2008 12:02 am

Um...shot in the dark here, but try putting "SetMemoryMax(100)" at the beginning of your script. (Take the quotation marks out, obviously.) I really don't know what's causing your problem, so I'll just start by guessing memory limitations. >__>

And yea, VLC doesn't play .avs files (being that it's not a media file...). If you want to play .avs files in a media player, get Media Player Classic (MPC).
... yea ...

browncoat_gater
Joined: Fri Jun 27, 2008 11:27 pm
Org Profile

Post by browncoat_gater » Sat Jun 28, 2008 12:08 am

Hmmm..nope still crashing.
And yea, VLC doesn't play .avs files (being that it's not a media file...).
This makes sense to me, but I keep seeing people suggest it to people when WMP doesn't work...

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Sat Jun 28, 2008 12:18 am

They probably aren't suggesting VLC to play .avs files though (given that it's not gonna happen). VLC will play most any codec known to man, though, and it recognizes most media containers (i.e. AVI, MP4, MKV, etc.). That's why it gets suggested over WMP, which is really not a recommended player at all. (An .avs file is really nothing more than a script file that calls for a separate media file, and VLC can't read that script.)

Regardless, MPC + the CCCP still beats out everything, IMO. :up:

And I don't know what to suggest as far as your problem goes anymore. I could say reinstall, but that's just because it's the kind of thing I do when I can't figure out a problem. Sorry. Maybe someone else will wander in soon with another suggestion. =\
... yea ...

browncoat_gater
Joined: Fri Jun 27, 2008 11:27 pm
Org Profile

Post by browncoat_gater » Sat Jun 28, 2008 12:24 am

I've never tried MPC/CCCP. I'll have to look into it.

Thanks for trying. =) I may reinstall if I can't figure it out.

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Sat Jun 28, 2008 12:28 am

Actually, try indexing the .VOB files with DGIndex and then use MPEG2Source() to open those .d2v files (from DGIndex) in VDM via AviSynth.

And try FFMpegSource() to open up the .mpg files.

I'm so tired that it took a while for such simplistic things to occur to me. ~_~

Ok, bedtime...
... yea ...

browncoat_gater
Joined: Fri Jun 27, 2008 11:27 pm
Org Profile

Post by browncoat_gater » Sat Jun 28, 2008 12:46 am

Bless you! Both of those did the trick.

Thanks much!

Locked

Return to “AviSynth Help”