How can I encode an AVI to 开发者_运维问答the 'correct' format for XNA? Is there any way to encode video with Windows Live Movie Maker?
Windows Live Movie Maker can output video in the format desired by the video content importer in XNA. That is to say, WLMM saves video as Windows Media Video 9 "Main", using the VC-1 video codec and Windows Media Audio 9.2 audio codec. You still need to ensure that you don't go beyond the bounds of bit rate as specified here, but if you use the "Burn a DVD" settings when saving your movie, you should be just fine if you're doing 480p.
NB: I'm not sure if video without audio will save with an audio track. However, XNA's video importer requires that an audio track is included, or the import will fail. If I'm not mistaken, you should be able to create a second or two of silence as a WAV and include that in your video project, if so required.
精彩评论