PDA

View Full Version : Audio splitting in avisynth


TelemachusMH
19th December 2001, 00:39
does anyone know how you can put and audio and video stream into and avisynth and trim both of them so virtualdub will get audio and video with a/v sync?

If not does anyone know where to find a command line wav, mp3, or mpa splitter?

Thanks a lot.

TactX
20th December 2001, 19:35
Video=AviSource("video-file")
Audio=WavSource("audio-file")
AudioDub(video,audio)
Trim(0,666)

...for example...

TelemachusMH
22nd December 2001, 08:33
I tried doing that, but it errored and said that what was returned did not have a video stream. I don't know what else I can do? Any help would be great.

TelemachusMH
1st January 2002, 09:43
Well ... I am sorry about my previous post. I did try it before and it didn't work, but know it seems to work just fine. So ... thanks for the help.

Milkman Dan
1st January 2002, 10:12
You have to append
return video
at the end of the script.

Well, not at the end. But it needs to be in there somewhere.