Hi all,
I'm hoping someone might be able to help me here...

I'm using HCEnc with an avs file that uses soundOut()

When I hit the Encode button, the Soundout Gui window pops up but when I click on the save as button to encode it as an AC3, I get this error: "Could not initialize encoder. Probably invalid input."

I'm guessing I'm missing a program or it's in the wrong directory....
Any ideas?

I can save it as a wav file.

Here's my test script:

LoadPlugin("degrainmedian.dll")
LoadPlugin("fft3dfilter.dll")
LoadPlugin("ColorMatrix.dll")
LoadPlugin("AudioLimiter.dll")
LoadPlugin("soxfilter.dll")
loadplugin("SoundOut.dll")

avisource("E:\Orginal with audio -480ms delay.AVI",audio=true)
AssumeFPS("ntsc_video",sync_audio=true)
Trim(101,4458).Fadeio(30)
ConvertAudioToFloat().SSRC(41000)
fl = GetRightChannel()
fr = GetRightChannel()
cc = mixaudio(GetRightChannel(),GetRightChannel(),0.707 ,0.707)
lfe = GetRightChannel() #ConvertToMono(a).SoxFilter("lowpass 120","vol 1.2")
sl = GetRightChannel() #.amplify(-1.0)
sr = GetRightChannel() #.amplify(-1.0)
sl = DelayAudio(sl,0.02)
sr = DelayAudio(sr,0.02)
MergeChannels( fl, fr, cc, lfe, sl, sr).wavgainlimiter(1.0)
SoundOut()
Thanks,
Chris