PDA

View Full Version : script error?!?


killingspree
26th December 2002, 10:55
i just wrote one of my first avisynth scripts and wmplayer returns the following message to me:
DirectShowSource: The filter graph manager won't talk to me
(C:\10things.avs, Line2)

the complete script:
a= DirectShowSource("10_17_13_311.0000.mpg")
b= DirectShowSource("10_17_13_311.0001.mpg")
c= DirectShowSource("10_17_13_311.0002.mpg")
d= DirectShowSource("10_17_13_311.0003.mpg")
e= DirectShowSource("10_17_13_311.0004.mpg")
UnalignedSplice(a+b+c+d+e)
return("10things.avi")

i know i'm still a noob concerning avisynth so this probably bleongs to the noob forum.
thanks for your help
steVe

Wilbert
26th December 2002, 12:37
IIRC you can use directshowsource once in a script. Maybe you should try mpegdecoder from Nic (http://forum.doom9.org/showthread.php?s=&threadid=31329).

sh0dan
26th December 2002, 13:19
Actually I think to remember that MPEGDecoder had the same limitation.

I would suggest, that you use Virtual Dub to convert the MPG's to HuffYUV AVI's.

killingspree
26th December 2002, 17:03
1) virtualdub doesn't eat the files...
2) i don't have enough diskspace to save anything in Huffyuv avi format, otherwise i would ahve captured directly to this format anyway!

thanks for your replies though
regards
steVe

scmccarthy
26th December 2002, 17:21
I disagree with Sh0dan on this one; I think Nic's MPEGDecoder can work for you. Nic is having trouble with pulldown and flags in DVD. But I think it works perfectly well with your kind of material.

Normally, I would not contradict Sh0dan, except that MPEGDecoder went through a lot of improvements just before Nic stopped working on it. My understanding is that Nic never got it to work with vob files the way he wanted, but it works with mpg files just fine.

Stephen

Wilbert
26th December 2002, 17:30
I disagree with Sh0dan on this one; I think Nic's MPEGDecoder can work for you.
Maybe someone can try it (with multiple mpg's).

1) virtualdub doesn't eat the files...
What do you mean, are they mpeg2 files? What kind of error messages do you get?

killingspree
27th December 2002, 16:55
they are mpg 1 files
i get the following error:
mpeg import filter: pack synchronisation error

hope taht helps
oh yea i'm using vdub 1.4.13 PIV release!

regards
steVe

neuron2
27th December 2002, 17:06
Originally posted by killingspree
they are mpg 1 files
i get the following error:
mpeg import filter: pack synchronisation error

hope taht helps
oh yea i'm using vdub 1.4.13 PIV release!

regards
steVe How do you know they are MPEG1? That is the error message VirtualDub gives when the file is MPEG2.

Wilbert
27th December 2002, 17:34
It's a mpeg2 file (not everyone bothers to give the "correct" extensions). Use VirtualdubMod or dvd2avi/avisynth to import mpeg2 files.

killingspree
28th December 2002, 12:08
i guess they are mpeg2 files then... i actually believed my capture card only supports mpg one though, but i'm not sure about this ...
anyway thanks for you help

steVe

Wilbert
28th December 2002, 12:35
Oh, ... What happens if you play them in WMP6.4, what is the resolution of those mpg's?

killingspree
29th December 2002, 17:29
it's pretty high something like (just estimating) 700x400
hope that helps!

oh yea... i got wmplayer 8.0 though (if that matters!)