Xbox 360 DivX, XviD Playback Guide

Original Page URL: http://www.digital-digest.com/articles/Xbox_360_DivX_XviD_Playback_Guide_page1.html
Author/Publisher: DVDGuy
Date Added: Mar 12, 2007
Date Updated: Dec 4, 2007


The original version of this guide showed a method where you can use TVersity to play DivX and XviD file on the Xbox 360, even though the Xbox 360 did not natively support DivX and XviD playback. TVersity allows for realtime transcoding (conversion) of the DivX/XviD file to WMV, a format that the Xbox 360 does support. But with the 2007 Fall Update for the Xbox 360, DivX and XviD playback was added to the list of natively supported video formats on the 360, and hence, the old guide was no longer necessary. This revised guide, now shows you how to set up a media server, by using either TVersity or Windows Media Player 11. There is no transcoding involved with either method, and you can easily apply the instructions to setting up other UPnP compatible media servers.

The Xbox 360 is a great games console, with HD output. It is now also a good alternative to buying a HD DVD player, if you purchase the HD-DVD add-on drive. With it's Windows MCE extender and UPnP functions, it can also serve as a media hub for your home entertainment system, streaming video, audio and pictures from your central media server (Windows MCE or UPnP server). With the 2007 Fall Update, both DivX and XviD is now supported through the AVI and .divx containers. This guide will teach you how to setup your own UPnP server using the free software TVersity or Windows Media Player 11, so you can stream DivX/XviD files to your Xbox 360 without having to burn any media or to copy the files over.

Before we get started, DivX and XviD support has the following restrictions:

  • Maximum Resolution: 1280x720 (720p) @ 30 FPS
  • Maximum Bitrate: 5 Mbps (files with higher bitrates will play, but playback quality is not guaranteed)
  • Audio Support: MP3, AC3 (2.0 and 5.1)
  • MPEG-4 ASP Features: B-Frames, Interlaced Frames, Q-Pel, GMC and MPEG Quantization

As you can see above, the "restrictions" are pretty lax, meaning you will be able to play almost every kind of DivX/XviD AVI out there (and being able most of the DivX encoding profiles without worrying about incompatibility). The inclusion of AC3 5.1 support is much welcomed.

For the old version of this guide, an alternative method was available. This method converts your DivX/XviD files to WMV first, and then play back the WMV file on your Xbox 360. Before native DivX/XviD support as added, this method was great if your computer was not fast enough for realtime transcoding, or if you want higher quality WMV files that do not suffer from buffering or skipping problems during playback. You can find out about this alternative method by reading our AVI to (Xbox 360 compatible) WMV Conversion Guide. Obviously, with native DivX/XviD support, the convert to WMV method is less attractive.

The Spring Update for the Xbox 360 (May 2007) now also allows H.264 playback, and you can read our Xbox 360 H.264 Conversion Guide to find out more.

Software you'll need (all freeware):

Hardware you'll need:

  • Home network (wired or wireless)
  • Xbox 360

Before we proceed and as mentioned before, there are two software you can use to get your media server up and running to stream DivX/XviD files to your Xbox 360. One method is to use TVersity, a free UPnP media server. The other is to use Windows Media Player 11's built in "Media Sharing" capabilities. If you already have Windows Media Player installed (and you should have, even if you are planning on using TVersity, since it is an requirement as well), then my recommendation is to try the media sharing in WMP 11 before deciding to use TVersity or not. TVersity is a nice and simple tool to manage your media sharing, but it is not without its problems.

If you choose to use Windows Media Player 11, then please continue on to the next page. If you choose to use TVersity, please skip the next page and continue to page 3 ("Setting Up Media Sharing using TVersity - Part 1").



Setting Up Media Sharing in Windows Media Player

Install Windows Media Player 11.

Start up your Xbox 360.

If you are using Windows Firewall, you can skip this step. Otherwise, you will need to open up a few ports on your firewall to allow media sharing to occur on your home network. If you are using Windows Firewall, the ports will open automatically for you. If you need to find a list of ports that need to be opened, please refer to the "What are the firewall requirements?" question on this page: http://www.microsoft.com/windows/windowsmedia/player/faq/sharing.mspx. If you are using Windows XP Professional, there are several services that need to be enabled in order for media sharing to occur (and you might have disabled them previously). These services are "SSDP Discovery Service", "Universal Plug and Play Device Host" and "Windows Media Player Network Sharing Device".

Start Windows Media Player 11. Click on the "Library" button at the top and the library menu should show up, select "Media Sharing". A window should now open with the option to enable media sharing, click the checkbox to enable it. Press "OK" to continue.

Windows Media Player: Library Menu


Windows Media Player: Media Sharing


A new window should show up, with a list of compatible sharing devices. Your Xbox 360 should be one of them. Select the 360 icon and press the "Allow" button to allow sharing to this device. You can also click on the "Customize" button to customize what can be shared. Press "OK" to close all the open windows to return to WMP when you are finished.

Windows Media Player: Media Sharing


Windows Media Player: Media Sharing - Customize



Adding media to the Library

Now we will add your DivX and XviD files to the library. It's probably a good idea to first organize your DivX and XviD files into folders on your hard-drive. Click on the "Library" button at the top of WMP again and this time, select "Add to Library".

Windows Media Player: Media Sharing - Add to Library


In the window that opens, you can specify which folders on your hard-drive the media sharing program will monitor for new files to automatically add to the library (whether they are audio, video or picture files). Add in the folder that contains your DivX and XviD files. In the screenshot above, I have chosen to add my "C:\Media Files\Movie Files\" folder to the list of monitored folders. You can also choose to skip files that are smaller than a certain size if you wish. Press "OK" and WMP will now scan these folders to find files to add to the library.

Windows Media Player: Media Sharing - Add to Library


Once all the files are added, you can browse which video files are in your library by clicking on the category select button near the top left and selecting "Video".

Windows Media Player: Browse Category



Connecting to your media library from the Xbox 360

Go to the "Media" blade and select "Video". Press the blue "X" button to go to the select source screen. Here, the name of your computer/Windows User Account should be listed. Select the computer that you wish to connect to and after a while, the shared folders on the computer will show up. Now all you have to do is to browse through the folders/files to select a video, and then play it. Couldn't be any simpler.

Xbox 360: Media - Video


Xbox 360: Media - Video Source Select


Xbox 360: Media - Video Play


We're done :)

The next few pages are for an alternative method of doing the above using TVersity, so if you've already followed the instructions on this page, you do not need to continue on.

If things didn't go well, then try these troubleshooting tips:

  • If you are unable to connect to the computer running WMP, double check your firewall settings again.

  • Make sure that the Xbox 360 is not already connected to another media server or media center. Disconnect from any connected devices.

  • Disable any other media sharing software, such as TVersity, that may already be running on the same computer. Technically, you are able to run multiple media servers on the same computer as long as they use different ports.

  • Make sure the "SSDP Discovery Service", "Universal Plug and Play Device Host" and "Windows Media Player Network Sharing Device" services are started. If you are running Windows XP Professional, you can adjust services by going to: Start -> Control Panel -> Administrative Tools -> Services

Need additional help? Why not post your questions in our Xbox 360 Forum!



Setting Up Media Sharing using TVersity - Part 1

Step 1: Installation

Install Windows Media Player. Only version 9 or better is required, but version 11 is required for transcoding (not needed anymore for this guide).

Download and install TVersity. When you get to the last step of the installation, there is an option to "Install Codecs", which will install some video and audio codecs that are needed by TVersity. However, if you already have a codec pack like K-Lite Codec Pack (highly recommended) installed, then you probably don't need to enable this option at all (and enabling it might cause further problems - installing codecs over your existing setup might cause everything to fail). If you do run into codec related problems, then you can re-install with the "Install Codecs" option enabled, or install the K-Lite Codec Pack which is my preferred method.

TVersity: Install Codecs


Otherwise, installation is pretty straight forward, but if at the end you get an error message about TVersity not being able to start, ignore it. Reboot your system when the installation is completed. Also be sure to check the TVersity system requirements page to ensure you have met all the requirements (Flash 7 especially).


Step 2: TVersity Setup

TVersity by default uses the port 41952 (this can be changed later on), and you will need to open up your personal firewall to allow this port to be used by TVersity. The exact procedure on how to do this depends on the brand of firewall you use, but if you use Windows Firewall, here are the instructions:

  1. Click on the "Start" button -> Control Panel -> Windows Firewall
  2. Go to the "Exceptions" section of the Windows Firewall configuration tool to see the exception list
  3. Click on "Add Program" and use the "Browse" button to locate the TVersity executable file (default location is: C:\Program Files\TVersity\Media Server\TVersity.exe) - you can also use the "Change Scope" button to limit the scope of the exception (eg. to block out access from outside your own network). Click OK until you're back to the exception list.
  4. Click on "Add Port" and add 41952 (TCP) to be opened, again you can use the "Change Scope" function to limit access. Press "OK" to save the exception and close Windows Firewall.

If the TVersity tray icon is not shown, go to your Start Menu and start TVersity. Go to the "Settings" section and ignore any warnings you might get about TVersity not being started.

In the "General" settings section, you can set the following options:

TVersity: General Settings


  • Media Playback Device: Set this to "Xbox 360".

  • Media Sharing Service: This is where you start, stop or restart the sharing service - if it is not started yet, you can click on the "Start Sharing" button to start it. The "Automatically start sharing ..." option when checked will automatically start the service whenever you start the computer.

  • Temporary Media Files: This specify the amount of disk space to use for caching/buffering purposes - the default 8192 MB (8 GB) setting should be more than enough.

  • Home Network: You can specify the port that TVersity will use (if you change the port settings, don't forget to change your firewall settings to match it), and also specify the IP address you wish to share content with (or leave it blank to allow sharing from all devices on the network).

  • HTTP Proxy and Maximum Timeshift are not important, so leave the default settings there.

Press the "Save" button to save the settings.

Go to the "Transcoder" settings section, you can set the following options (most of these options are not relevant since we are not going to use transcoding to DivX and XviD files):

TVersity: Transcoder Settings


  • When to transcode? Set this to "Only when needed". The most recent version of TVersity will no longer transcode DivX/XviD files to the Xbox 360, since it is now natively transcoded. If you are using an older version for whatever reason, to prevent transcoding, you can temporarily set this option to "Never". You don't need to worry about the "Decrease the bitrate ..." option since this only matters when transcoding is needed, but this option will decrease the bitrate of the trancoded video so that it is below the maximum bandwidth of your network (useful if you are using a wireless network).

  • Maximum Video and Image Resolution: Again, this option is not needed for DivX/XviD playback since transcoding is not needed. These settings allow you to specify the maximum resolution video that TVersity will transcode to (if your video has a higher resolution, it will be converted to this maximum resolution - if your video has a lower resolution, the lower resolution will be used). Setting these settings to the resolution of your TV/display panel is recommended, unless you run into performance problems, in which case you can use half the resolution of your TV/panel (eg. 640x480) for lower quality video. Note that this only affects transcoded video - natively supported video (eg. WMV by the Xbox 360) won't be affected.

  • Windows Media Encoder: Again, this option is not needed for DivX/XviD playback. Check the box to use DirectShow for encoding to WMV (which is the format that is accepted by the Xbox 360), and probably leave the default selection of WMV 8 as the version of WMV to use.
TVersity: Transcoder Settings


  • Optimization: Set this to "Quality", unless you have a slow computer.

  • Connection Speed and Quality: Change this to match the speed of your network. Increasing this above the speed of your actual network won't help, and will only make playback buffer all the time.

  • Compression: Set this to "Minimum" for maximum quality and better performance (but might overwhelm your network connection if it is not fast enough - a wired connection should be fast enough for most video, even HD video).

  • Decoding Speed: Leave this option checked.

Press the "Save" button to save the settings.



Setting Up Media Sharing using TVersity - Part 2

Step 3: Adding media to the Library

We will now add our media files (images, audio, video files) to the TVersity library, so that these can be accessed from your Xbox 360. Click on the "Sharing" tab to go to the sharing section.

Click on the green "+" button and select one of the options to load in your media. My preference is to store all the media that I want to share in the same folder, as opposed to having them spread out across the hard-disk. This way, you won't unnecessarily load in a bunch of media files that you don't plan on sharing.

TVersity: Add Media Folder


Once you have added in all your media, the sharing section should list them. The "grey" refresh icon as opposed to the "black" one simply means that TVersity is still sorting through the media files.

TVersity: Added Media


We are now ready to test the connection and transcoding on the same PC.


Step 4: Testing the connection on the PC

Before we connect with the Xbox 360, let's first test the connection on the PC. To do this, open up Internet explorer or your favourite browser, and access this URL: http://localhost:41952

(41952 is the port that TVersity uses - change this to match the port setting you use if you changed the default setting)

If everything went well, you should now be able to access the TVersity interface in your browser, which is almost exactly the same as the standalone TVersity program. Go to the "Library" tab, and you can now browse your media library. Photos and audio files should open up, but the main thing we want to test is DivX/XviD transcoding, so go to the "Video" section and select a DivX/XviD file. Once clicked on, it should launch Windows Media Player (if is does not, refer to the troubleshooting section further down this section). Your system should be working in the background, but nothing will load for what seems like quite a long time. After a few minutes (sometimes only a few seconds, depending on the type and length of the video you have), playback should start in WMP. If this happens, it means that the test has been successful and you can skip to the next step.


If things didn't go well, then try these troubleshooting tips:

  • If the TVersity interface does not launch in your browser, this probably means that you have not started the TVersity sharing service. Look for the TVersity tray icon, right click on it and select "Start Sharing". Also check your firewall settings again to make sure TVersity is allowed to run on the specified port. Also be sure to check the TVersity system requirements page to ensure you have met all the requirements (Flash 7 especially).

  • If WMP is not launched when you click on the video link, then this suggests that WMV files may not be associated with WMP. To change the association, start WMP, right click on the title bar (next to the "Windows Media Player" text and select "Tools" -> "Options". Go to the "File Types" section and make sure the "Windows Media Video file (wmv)" is checked, if not, select it and press "OK". If you have any WMV files, you can open them and see if they do indeed open up in WMP - if not, you can right click on the WMV file, select "Open With" -> "Choose Program" and choose WMP (check the "Always use the selected program ..." option as well).

    WMP: Options


  • If WMP opens, but after a while or immediately gives you an error, then go back to step 2: installation, and repeat the step (uninstall everything, and install everything again, making sure to select the exact settings as recommended in the step).

  • If all else fails, then you might want to post your problem in the official TVersity support forum - remember that TVersity is still in beta, so problems are bound to be present (it's also free).


Step 5: Connecting to TVersity from the Xbox 360

We finally move to the Xbox 360. This tutorial assumes you've already setup the Xbox 360 for network and Internet connections.

Go to the "Media" blade and select "Video". Press the blue "X" button to go to the select source screen. Here, the name of your computer/Windows User Account should be listed. Select the computer that you wish to connect to and after a while, the shared folders on the computer will show up. Now all you have to do is to browse through the folders/files to select a video, and then play it. Couldn't be any simpler.

Xbox 360: Media - Video


Xbox 360: Media - Video Source Select


Xbox 360: Media - Video Play


TVersity also shared pictures and audio files, and you can browse for those as well if you added them into the TVersity sharing section. Audio and image playback should be much more compatible than video playback, so you shouldn't run into any problems there.

We're done :)


If things didn't go well, then try these troubleshooting tips:

  • If you are unable to connect to the computer running TVersity, double check your firewall settings again. Also make sure the TVersity media sharing is actually enabled on the computer.

  • Make sure that the Xbox 360 is not already connected to another media server or media center. Disconnect from any connected devices.

  • If all else fails, then you might want to post your problem in the official TVersity support forum - remember that TVersity is still in beta, so problems are bound to be present (it's also free).

Need additional help? Why not post your questions in our Xbox 360 Forum!



About Digital Digest | Help | Links | Link to us | Newsletter | Privacy | Submissions | Sitemap

© Copyright 1999-2006 Digital Digest. Duplication of links or content is strictly prohibited.