Solving my own issue. I found a way to add ac3 audio to the avisynth script without getting error 15.
The fix is to add audio directly to the avisynth script instead of through an external file in the audio tab.
My new avisynth with the audio:
Code: Select all
LoadPlugin("DGDecodeNV.dll")
LoadPlugin("NicAudio.dll")
DGSource("Resurrection.dgi",fieldop=0)
AudioDub (Last,NicAC3Source("Resurrection PID 034 3_2ch 48KHz 384Kbps DELAY 31ms.ac3"))
LoadPlugin("TIVTC.dll")
TDecimate(cycleR=3)
#crop
#resize
#denoise
With this avisynth script, the audio and video will both show in the properties window. Many properties in that window will be inaccurate, but what matters is that both audio and video show in the properties window.
In addition, in the Video tab, the source filter has to be set to AviSynth. That will automatically be correctly selected. In the Audio tab, leaving the source filter on Auto Select will not select AviSynth and create static in the audio as a result. The audio source filter has to be manually selected to AviSynth.
The name of the audio file created by DGIndexNV already has the audio delay that needs to be keyed into the Audio Delay in the Sound tab. Copy Audio in the Audio tab has to be unchecked, otherwise will give error 15.