View Full Version : AC3Source problem
clickit
21st December 2002, 13:36
hi
i tried the script below
LoadPlugin("C:\Program Files\AviSynth\AC3Source.dll")
LoadPlugin("C:\Program Files\AviSynth\MPEGDecoder.dll")
video=MPEGSource("E:\a.M2V",-2,"raw")
audio=AC3Source("E:\a.AC3")
audiodub(video,audio)
but it complains about "invalid arguments to function Ac3Source"
the readme file included in AC3Source.zip doesn't says about any parameters to Ac3Source Function
how can i use the above function ?
thanks in advance
p.s.
i'm using Avisynth v2.07.0
the .m2v and .ac3 produced by dvddecrypter (demux)
the same happens with raw files !!!
Shootist
21st December 2002, 16:07
have the same problem, i tried also other thing like "Clip="
clickit
21st December 2002, 16:18
no i'm using pure avisynth script
Wilbert
21st December 2002, 16:38
If you would have read the thread/faq carefully you will see that AC3Source is a AviSynth v2.5 plugin.
Shootist
21st December 2002, 17:14
ok, I`ve downloaded the latest avisynth from http://cultact-server.novi.dk/kpo/avisynth/avisynth_alpha.html
I used this script:
# PLUGINS
LoadPlugin("D:\PROGRA~1\DVD-UT~1\Autodub\SOFTS\AVSFILE\ac3source.dll")
LoadPlugin("D:\PROGRA~1\DVD-UT~1\Autodub\SOFTS\AVSFILE\MPEG2DEC.DLL")
LoadPlugin("D:\PROGRA~1\DVD-UT~1\Autodub\SOFTS\AVSFILE\LANCZOS3.DLL")
#
# SOURCE
Video=Mpeg2Source("D:\Save\Star\vts_01.d2v")
Audio=ac3source("D:\Save\Star\s.ac3")
#
# CROPPING
Video=Crop(Video,3,72,717,434)
#
# RESIZING
Video=Lanczos3Resize(Video,544,224)
#
#
# FINISH
Audiodub(Video,Audio)
Then I have an avisynth-error like "Unrecognized exzeption!" in line 7 (mpeg2source).
Possible that my MPEG2DEC.DLL is not compatible with the new avisynth (like it stands in the headline of the website)?
where can I get a working version?
hakko504
21st December 2002, 17:37
Originally posted by Shootist
Possible that my MPEG2DEC.DLL is not compatible with the new avisynth (like it stands in the headline of the website)? And again the YV12 FAQ (http://forum.doom9.org/showthread.php?s=&threadid=37276) will tell you that you need Marc FD's MPEG2DEC3.dll (http://ziquash.chez.tiscali.fr/)
Wilbert
21st December 2002, 17:39
Read the YV12 faq (Q2), yes you need a special mpeg2dec version! Btw, Lanczos as plugin is not a v2.5 plugin, but happily it is built in. Also the crop values must be even.
So your script must be something like:
LoadPlugin("D:\PROGRA~1\DVD-UT~\Autodub\SOFTS\AVSFILE\ac3source.dll")
LoadPlugin("D:\PROGRA~1\DVD-UT~1\Autodub\SOFTS\AVSFILE\MPEG2DEC3.DLL")
Video=Mpeg2Source("D:\Save\Star\vts_01.d2v")
Audio=ac3source("D:\Save\Star\s.ac3")
Video=Crop(Video,4,72,716,434)
Video=Lanczos3Resize(Video,544,224)
Audiodub(Video,Audio)
clickit
21st December 2002, 18:20
many thanks to everybody who answered my question !!!
Shootist
21st December 2002, 19:20
thanks for helping
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.