Log in

View Full Version : When saving avi file there's no audio


mydarkpassenger
16th April 2012, 06:20
I'm using avspmod as a frontend to avisynth and I'm trying to use avisynth for some basic cropping, touchups, etc. I'm pretty new to it and when I save a file it doesn't seem to include the audio. Here's a very basic script. Can someone tell me how I can include audio with my script:

AVISource("D:\videos\movies\temp.avi")
Trim(0, 5258)

All I did was save it as an avi and I use XVID-MPEG4 codec for the compressor.

kypec
16th April 2012, 11:42
Xvid is only the video codec, it has nothing to do with audio at all. You can get sound from AVS script by using SoundOut plugin or by opening such AVS in foobar2000 with appropriate component (AVS input) installed.