News Articles
Movies Software
DivX, XviD, DVD Subtitles Forum
DigiWiki Codecs

Username:
Password:  
Remember Login?
Sign Up
 

Articles - > AVI to (Xbox 360 compatible) WMV Conversion Guide

Printer Friendly Version Printer Friendly Version

User Rating:

Details / Vote Now

User Comments:
evolved77: i have followed the process, although...
More / Post Your Comments

Page Select:

  1   2   3   4   Next Page

Page 2 of 4: Installation

Related Articles:
  1. Xbox 360 H.264 Conversion Guide
  2. PS3 H.264 Conversion Guide
  3. Xbox 360 DivX, XviD Playback Guide
  4. ASF/WMV to AVI/MPG Conversion Guide
  5. FLV to AVI Conversion Guide

Step 1: Installation

Like TVersity, Windows Media Encoder (WME) is a bit fussy when it comes to loading DivX/XviD files. The steps below involving removing all your existing codecs and installing K-Lite Mega Codec Pack is one that I have tested and found to allow WME to load in DivX/XviD files, however your system may already allow this to happen without installing/uninstalling any codecs. So the general advice is to install WME, load a DivX/XviD file, try to encode it to WMV and if you get the "invalid or corrupt data was encountered" error, try the following steps involving K-Lite Mega Codec Pack.

If you haven't done so already, install Windows Media Player.

As mentioned above, to allow WME to load DivX/XviD files, you may need to uninstall all your existing codec packs and codecs and use K-Lite Mega Codecs Pack. This includes, but is not limited to, DivX, XviD, any codec pack, ffdshow ... everything. Don't worry about messing up playback, because the next step is to download and install the K-Lite Mega Codec Pack.

Start the installation process, and K-Lite will detect more codecs and filters on your system that it recommends you remove - do so and uninstall all the software it asks you (it will replace them with a set of codecs and filters that will be more compatible with WME).

K-Lite Codec Pack: Recommended Uninstall


When you get to the "Select Components" screen of the installation, select the "Default" profile.

K-Lite Mega Codec Pack: Default profile


Scroll down a bit to the "DirectShow video filter" section, and for both the "XviD" and "DivX options , select "ffdshow" to use it as the default decoder. Sometimes the DivX/XviD codec can get in the way of WME. You should probably check the "H.264" checkbox and also select "ffdshow" as the coder (see screenshot below), as this will allow you to convert H.264 files to WMV (although the Xbox 360 does have native support for H.264).

K-Lite Mega Codec Pack: XviD/DivX ffdshow


Scroll down to the "VFW video codecs" section and uncheck "XviD and "DivX" codec options.

K-Lite Mega Codec Pack: Deselect DivX/XviD


You can leave the other options alone if you wish, since the default profile will cover most types of playback (mainly using ffdshow and Media Player Classic). Press "Next" on in the installer until you get to the "Select Additional Tasks" section, I would recommend not selecting the AVI or WMV formats under the "Make Media Player Classic the default player for" section - letting Windows Media Player handle these formats is better for testing purposes (to test if the source and output is at the very least playable in WMP).

K-Lite Codec Pack: Additional Tasks


As for the other options on this screen, if you don't know or don't care, then leave the other options as it is and continue with the installation process. Once it is done, you can test the playback of your DivX/XviD files, and they should play (in WMP or MPC).

For some extra checks, or if your DivX/XviD files no longer plays, do the following: From the start menu folder that the K-Lite installer created, select the "Configuration" -> "ffdshow" -> "video decoder configuration" program. Make sure your screen looks something like the screenshot below, specifically the "XviD" and "DivX 4/5/6" settings (set to "libavcodec"). Press the "Apply" button, close the configuration window and try playback again of your DivX/XviD file - it should play now.

ffdshow: video decoder configuration


Finally, download and install Windows Media Encoder version 9. The "Windows Media Video 9 Advanced Profile Update Beta" is also available, which adds VC-1 encoding support (VC-1 is used in HD DVD), but that's optional for this guide.

 

 

 


  1   2   3   4   Next Page

Article Navigation:

Page 1: Introduction
Page 2: Installation <--
Page 3: Windows Media Encoder - New Session Wizard
Page 4: Windows Media Encoder - Encoder Setup

User Rating:

  Average Rating: Your Rating:
Registered Users:
Non-Registered Users: (50 votes)

User Comments:

i have followed the process, although on my klite mega codec pack, i dont have the "Decode the following video formats with ffdshow" option? continued with the process and once the file has been encoded, the new .wmv file is only 2 seconds long? have i missed something? and has anyone else had this problem? thanks
Posted by: evolved77, 00:29:52, Aug 3, 2007


I was using Blaze Media Pro to convert avi files to wmv so I could stream them to my Xbox 360 but found that on most output files there was a two second audio/video sync problem. Very frustrating!.. This has solved the issue completely so I am delighted! Many thanks indeed!
Posted by: timb0land, 21:48:14, Aug 15, 2007


This is Great, I knew nothing about decoding and haven't had any recent experience with video files. However, with this document, that I find my self refering to alot now, is a great, quick tourial for doing just that. Thank you to whom took the time to put this up. - Burnt Network Engineer kaorking
Posted by: kaorking, 10:38:37, Sep 28, 2007


Great post, I have recently bought XBOX 360 and in the middle of giving it a try. I also played a little with the windows media encoder and found out that they have a command line tool, so if you have the entire season of let's say friends or 24, and you would like to convert it to wmv, you can do it in a batch mode. After you have exported your profile you should do something like: 1. open cmd.exe 2. Go to %programfiles%\Windows Media Components\Encoder 3. type 'cscript.exe wmcmd.vbs –input c:\friends_season1folderAVI -output c:\friends_season1folderWMV -loadprofile myprofile
Posted by: serialdownloader, 00:52:39, Sep 30, 2007


I have followed this to the bone. However I keep getting an AUDIO CODEC error. what may I do to precent this?
Posted by: faibs, 19:46:24, Oct 22, 2007


faibs: You need to use gspot or mediainfo on your input file to see what kind of audio codec it uses, and then search google to download/install the audio codec
Posted by: DVDGuy, 21:41:55, Oct 22, 2007


i have a movie in 2 parts ie 2 avi files, there are also 2 .srt files with the english subtitles. can i still use this method?
Posted by: kebabman, 03:30:22, Oct 24, 2007


i was able to get this to work about 3 weeks ago. i reinstalled windows xp though and now there is a syncing problem with the audio and video after the second pass. with the final wmv file, the audio will start playing from the beginning, but the first 8 minutes of the video doesn't show up. my wmv file ends up 8 minutes shorter than what it should be. does anyone know how i might be able to fix this?
Posted by: aceml1530, 03:20:48, Nov 12, 2007



Comments: