Log in

View Full Version : can't open any video/mpg file using directshowsource


jdle
15th March 2003, 14:18
i can open *.d2v, dvd2avi project files, by writing a simple script file.
But i don't know why i can't opening divx or mpeg file by using the DirectShowSource("...")

i just wrote something like:
DirectShowSource("c:\a.mpg")
in notepad and save it as a.avs file , opening MS media player 6.4,
it shows the message " unrecognized exception " in the screen.

Do i have to define any directshow plugin at start of file or something?

i know it sounds stupid but i'm new to avisynth

Wilbert
15th March 2003, 17:18
Is your problem: Q&A: Q2.15?

DDogg
15th March 2003, 17:33
..plus a couple of other basic questions for you. You should supply this information in the future :)

1> Will the a.mpg play in wmp?
2> Will the version script play?
3> What version of avisynth are you using?

What happens if you use dvd2avi version 1.76<(only) to create a d2v file and:

loadplugin("mpeg2dec.dll")# appropriate one for the avisynth version
mpeg2source ("a.d2v")

seewen
16th March 2003, 01:31
You'd better have to use "MPEGDecoder.dll" for *.mpg, and "AviSource" for *.avi.

DDogg
19th March 2003, 15:50
I am bumping this because I would like to get a definative answer to this gent's question as today, I too, wanted to use a simple:

Directshowsource("pulldown.mpv",fps=29.970)

Am I losing it? I would have swore this worked although I can not remember exactly when and if. I always assumed DirectShowSource would open anything that WMP would play (it will play this file just fine).

The docs say:
DirectShowSource reads filename using DirectShow, the same multimedia playback system which Windows Media Player uses. It can read most formats which Media Player can play, including MPEG, MP3, and QuickTime ...
The error returned on 2.51 and 2.07 is: "The filter graph manager won't talk to me"

Powerdvd, Intervideo windvd both play fine as well as WMP 6.4

morsa
19th March 2003, 18:23
I use directshowsource with ffdshow and it works perfectly.
And I can use Ffdshow postprocessing capabilities!!

DDogg
19th March 2003, 18:26
Hmm, seems to be machine specific as my laptop will use open the file using DirectShowSource. Well, I will keep plugging along. I guess I will get it figured out eventually. I don't think I have ever seen that error before ("The filter graph manager won't talk to me"). Has anybody else?