View Single Post
Old 2nd January 2003, 06:09   #11  |  Link
jcsston
Matroska Dev
 
jcsston's Avatar
 
Join Date: Sep 2002
Location: Texas, USA
Posts: 230
You use a script like this
Code:
video = mpeg2source("masterpiece_part3_vd.d2v")
audio = MPASource("MASTERPIECE_PART3_VD MPA T01 DELAY -123ms.mpa", normalize=false)
DelayAudio(audio,-0.123)
AudioDub(video, audio)
This is actually exactly what my small program I made MPEG-2 to VirtualDub does.
Select an MPEG-2 file
Create a d2v project with DVD2AVI commandline
Decode the mpa to wav with MADPlay, use DirectShow Decoder, or Use the MPASource AviSynth plugin
Write a AviSynth script
Open the script in VirtualDub
Download
Put the mpasource.dll in your AviSynth Plugin dir.

@WarpEnterprises: Is it ok for me to distribute the .dll with my program?
jcsston is offline   Reply With Quote