lbecque
2nd June 2005, 19:38
I have taken an mpeg2 file and processed it with dgindex and demuxed the audio into a .mpa file. I'm then using an avisynth script to process the video but I can't figure out how to dub the audio back in. Help!
My script looks like:
loadplugin("...DGDecode.dll")
# following upconv=true To convert to YUY2 for virtualdub
mpeg2source("D:\movies\resize battlestar.d2v", upConv=true)
# if interlaced use folowing group of lines
SeparateFields()
Lanczos4Resize(720,240,0,29,720,180).Weave()
I tried adding the following lines but can't get any of it to work:
# can't get following lines to work
video = Lanczos4Resize(720,240,0,29,720,180).Weave()
audio = WavSource("D:\movies\resize battlestar MPA T01 DELAY 17ms.mpa")
AudioDub(video, audio)
My script looks like:
loadplugin("...DGDecode.dll")
# following upconv=true To convert to YUY2 for virtualdub
mpeg2source("D:\movies\resize battlestar.d2v", upConv=true)
# if interlaced use folowing group of lines
SeparateFields()
Lanczos4Resize(720,240,0,29,720,180).Weave()
I tried adding the following lines but can't get any of it to work:
# can't get following lines to work
video = Lanczos4Resize(720,240,0,29,720,180).Weave()
audio = WavSource("D:\movies\resize battlestar MPA T01 DELAY 17ms.mpa")
AudioDub(video, audio)