View Full Version : Process audio with trims
chipzoller
8th July 2007, 13:57
I created a d2v project file and extracted the audio (mpa) stream, then did some trimming of the video. What function can I use to have avisynth process the extracted audio stream WITH trims from the video? With AviSource() and DirectShowSource() I can add audio=true to set avisynth to process the audio from trims, but in this case I'm working off a d2v file with audio demuxed. I'm sure this is something simple, but the manual gives me no help. Can anyone give me a pointer here?
squid_80
8th July 2007, 16:15
Are you going to be recompressing the audio?
trolltuning
8th July 2007, 16:41
You can take the demuxed audio and add it back in with the material from the d2v file then trim
vid=mpeg2source("youfile.d2v")
audio=mpasource("yourfile.mpa")
audiodub(vid,audio)
trim(0.200)
you need to have a copy of mpasource.dll in your plugin folder
chipzoller
8th July 2007, 19:32
Yes, I will be recompressing the audio to AAC.
@trolltuning: I'll try this. Thank you.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.