Microsoft KB Archive/235945

= Vidtoasf.exe Increases File Size When Converting AVI Files =

Article ID: 235945

Article Last Modified on 11/3/2003

-

APPLIES TO


 * Microsoft Windows Media Services 4.0
 * Microsoft NetShow Theater Server 3.0 Standard Edition

-



This article was previously published under Q235945



SYMPTOMS
When you convert a low frame rate .avi file into a .asf file with the command line utility Vidtoasf.exe, the file size of the .asf file increases dramatically.



CAUSE
With low frame rate files, the first frame of the file is usually very large. This large frame must be sent within one second (the default) to the client. In order for this to be accomplished, the bit rate of the file is raised and filler is added to the file. The filler is what raises the bit rate and increases the file size.



RESOLUTION
When you use Vidtoasf.exe with low frame rate files, increase the lead time parameter from 1000 milliseconds (default) to a larger number. (Note: You probably won't see any benefit above 4000 milliseconds.) By increasing the lead time for the file, there is more time available to stream the first frame of the video when the file is streamed to a client. An example of this would be as follows:

vidtoasf.exe -in myfile.avi -out myfile.asf -leadtime 3000

Additional query words: netshow wms

Keywords: kbprb kbpending KB235945

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.