Audiofile Option


The -audiofile option looks like this:

vidtoasf -in file.avi -audiofile file.wav -out file.asf

The -audiofile flag tells VidToAsf to use the given audio file (file.wav), in place of the audio currently in the .avi or .mov file. With this option, you can use the codecs that come with the NetShow tools to compress the audio file. Many video editing tools do not contain as many codecs nor do they support the codecs that are included with the NetShow tools.

To prep and use the -audiofile option

  1. Use a video or audio editing tool (such as VidEdit, Sound Forge, or AVIEdit) to extract the audio from the video file.

  2. Open the extracted audio file in Sound Recorder (or any audio editing tool on your computer) and compress the audio with one of the available codecs.

    When compressing the audio, be sure to use one of the standard codecs that comes with the Windows 95 or Windows NT operating system or with NetShow Player. If you use a codec that isn't resident on the viewer's machine, the viewer will not hear audio when trying to play the .asf file.

  3. When you convert the video file to .asf format, use the newly compressed audio file in the -audiofile option.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.