Log in

View Full Version : Triggering/Loading Avisynth form my application


ryanlancer
29th March 2010, 14:16
Hi,
I have this script to extract audio from a video:-

DirectShowSource("lh.avi",video=false)
SoundOut(showprogress = true, mode=2,cbrrate=128,output = "MP3", filename="c:\test.mp3", autoclose = true,wait=0,overwritefile="yes")

but when I type sample.avs on command prompt the file gets opened in notepad.

Is there a way to load avisynth like media player classic does or ffmpeg.exe,xvid_encraw.exe does.

OvejaNegra
29th March 2010, 22:04
Get the documentation about mplayer. I think megui uses mplayer with the benchmark option or something like that to run a script "as fast as possible" without showing any output.

J_Darnley
30th March 2010, 16:19
Use avsutil