Log in

View Full Version : Vdub is not importing AC3 with DGindex ...


sunchaser
18th January 2007, 05:12
acording to the dgmpgdec quickstart guide the following script saved as an .avs should bring the ac3 audio into virtualdub for processing (i want to save as huffyuv .avi with .wav sound for import into premier pro)

LoadPlugin("...\DGDecode.dll")
video=MPEG2Source("myvob.d2v")
audio=WAVSource("myvob.wav")
AudioDub(video,audio)

when i try to load this avisynth script into vdub, i get the error "don't understand video" i tried changing this to the name of the video, the name of the video.avi, .avi and nothing and i would still get this error.

there is only a brief mention in the quickstart guide about how to get ac3 audio in and process it with virtual dub and i'm wondering if any of you can help me with this process.

currently i am converting the ac3 with besweet and the video with vdub and importing them sepparatly into premier. i'm worried about synch issues with this though over lengthy media. i've only tried with small test clips.

converting to wav with vdub mod does not seem to work.

thanks for any assistance.
s

sunchaser
18th January 2007, 05:56
i have discovered the solution...

first of all - after walking in circles for 3 hours i discovered that DGindex will convert ac3 audio to wav. so that problem was solved.

but then, after trying the .avs script in the quick guide to import the video into vdub (of course making changes in the script for WAVsource) it still didn't work.

i got the same error "i don't know what video is"


so, i tried erasing video (oh and i had read in a post that the line should be "return audiodub (video, audio)" )

so, i errased video from that line and it worked perfectly!
i'm on my way...


final script.avs is:

loadplugin(",,,\dgmpgdec\dgdecode.dll")
mpeg2source(",,,.d2v")
audio=wavsource(",,,.wav")
return audiodub (audio)


fill in the ,,, with the proper paths.

have fun.
s

Guest
18th January 2007, 06:52
It's not making sense. Obviously, the first script you posted is not the actual script you used (because you have "myvob.d2v" and not your actual file path). Why don't you post the actual script that caused the failure and tell us what line of the script that the error message pointed to? My guess is that your first script had a bad path for your D2V file.

You can import AC3 directly using NicAudio.dll, which contains NicAC3Source().

sunchaser
18th January 2007, 06:56
why doesn't it make sense?

the script i posted in first message is the one i used. i used it 40 times trying to make it work. i had correct paths to my media. the error message would specifically state "i don't know what video is" or whatever word i had in place of video. and, if i didn't have a word, the error message would report the 5th line and such and such a colum as the problem and that would always correspond to the place of "video" in that last line.

i have recently reinstalled windows and am running a fairly clean system, but could that be the problem?

thanks for your reply,
s

Guest
18th January 2007, 07:02
It doesn't make sense because thousands of people have used that exact script template without any such problems.

You're telling me your D2V file was called "myvob.d2v" and your audio "myvob.wav"?

the error message would report the 5th line and such and such a colum as the problem The script you posted only has four lines, so you are obviously confused.