Log in

View Full Version : ac3 filter doesn't work


grantpu
27th September 2003, 04:18
i've installed avisynth 2.5
my script is:

LoadPlugin("f:\MPEG2DEC3.DLL")
LoadPlugin("f:\ac3source.DLL")
video=mpeg2source("f:\MEDIA\dvd.D2V")
audio=AC3source("f:\media\1_2.ac3")
audiodub(video,audio)
crop(54,54,608,368)
bilinearresize(640,326)


when i use media player play my script,errors are:
Script error:Invalid arguments to function "ac3source"
( f:\media\film.avs,line 4)

what's wrong?

Wilbert
27th September 2003, 14:30
Welcome to this forum!

The script must be (as can be seen in the corresponding readme):

LoadPlugin("f:\MPEG2DEC3.DLL")
LoadPlugin("f:\ac3source.DLL")
video=mpeg2source("f:\MEDIA\dvd.D2V")
AC3source(video,"f:\media\1_2.ac3")
crop(54,54,608,368)
bilinearresize(640,326)

But AC3source downmixes incorrectly, so I suggest you try the following instead:

http://www.avisynth.org/index.php?page=DirectShowSource

Make sure that you use a recent AviSynth-binary ...

edit: corrected script

grantpu
28th September 2003, 05:56
yeah,you're right.The ac3filter is not good for me because it seems that only right chanel has the sound.
Also I tried the directshowsource one, but it doesn't work.
Now I have to give up the ac3 filter and continue to use a big wav file.
Thanks anyway

Wilbert
28th September 2003, 12:28
Also I tried the directshowsource one, but it doesn't work.

What do you mean, it doesn't work? If you open the AC3 and AVS in graphedit, is this downmixer filter loaded?

grantpu
29th September 2003, 01:44
In the property I can see the donmix filter,directsound and iviaudio.
But wmp sayes that couldn't open that port.

open avs by wmp, it sayes that the filter don't talk to me.

thanks anyway.