Planet Xbox360
       
 
 
   
   

The Planet Xbox 360 Forums are dedicated to the discussion of anything Xbox 360 related. In order to start posting all you need to do is register. It's fast, simple, free, and will enable you to make forum posts, upload attachments, vote in polls, play the arcade games and a whole lot more. So please, join our community today!

If you have any problems with the registration process or your account login, please contact support.

Go Back   Planet Xbox 360 Community Forums > Discussions > General Xbox 360 Discussions
User Name
Password

Post New Thread Reply
 
Thread Tools Display Modes
Old 18-01-2006, 03:55 PM   #1 (permalink)
Aquanox
Xbox 360 Pro
 
Aquanox's Avatar
 
Join Date: Sep 2005
Posts: 287
Aquanox is on a distinguished road
Cool How to Stream Xvid & Divx Movies with your Xbox 360.

Quote:
Introduction

This article shows how to stream DivX (and XviD) movies to an XBox 360 using a Media Center. for the picky people, it doesn't actually stream DivX ... it converts to WMV on the fly to stream. the core process for accomplishing this is taken from a thread found on the XBox forums : Playing DivX movies without having to Re-encode, through media centre. and this might be the original post (in German) : Divx mit Mediaencoder auf die Xbox360 streamen!, so they get credit for pioneering this approach. it works fine, but has the disadvantage that you have to manually set up the encoding process on your Media Center and then move over to the XBox 360 to watch it. so all this article really does is provide an MCE interface so you can control everything from your XBox 360 being used as an MCE Extender. i.e. its for lazy people. it was also an excuse for me to write a ListMaker AddIn for MCE ... which i hadn't done yet. not to mention my MCE setup doesnt have a TV Tuner and only has 32 megs of video RAM, so i cannot play video on it at all

NOTE: this is not a mod solution or an xbox 360 hack. this works purely using the extensibility points of Media Center and freely available tools from MS. i.e. no warranties will be voided. and when Vista MCE comes out, we'll be able to radically improve this. aren't APIs wonderful?


have to say that the limited edition remote absolutely sucks. bought the Universal Remote and its pretty crappy too, but with backlit keys and more buttons. my old MCE remote can work with the X360 too, and it seems to work slightly better. the wireless controllers are much more reliable. i'm thinking that MS should make a remote that uses the same tech as the wireless controllers.



ASX

First, i created the MediaEncoder.asx text file with the line mms://COMPUTER-NAME:8080. NOTE you can use an IP Address to the Media Center Computer too. this file goes in your 'My Videos' file and it is what you use to view whatever is being streamed using Media Encoder.

You can also tweak the ASX file a bit to include a thumbnail image (just add both to your 'My Videos' folder) :
_MediaEncoder2.asx and _MediaEncoder.jpg

Second, i downloaded and installed Windows Media Encoder 9 and the Windows Media Encoder 9 SDK. with the ASX file and the WM9 Encoder installed, you can manually test to see that it works with the files that you are interested, and to judge quality etc... NOTE the code below streams to port 8080, so no other program can be using that port. if you change it do a different port, then you need to change the .asx file as well. this will create an error in the log file that looks like : An attempt to acquire a network resource failed.



Codecs

Originally, i had the ffdshow codecs installed, but it was not working with Media Encoder. from the thread above, i switched to DivX 6.1 and AC3 1.01a RC5. if you've got a file that won't play, first make sure you can play it with Media Player. then try to stream it manually with Windows Media Encoder. this makes it easier to experiment with different codecs. the GSpot Coded Information Appliance also comes in handy. also, see the 'Extended Windows' and 'Permissions' sections below.


NOTE I did not try any HD DivX movies because it requires a 64 meg video card which i don't currently have. it will stream DivX with Advanced Features too (e.g. Revelations : Star Wars), but it just plays the menu sequence and you cannot interact with it
Encoder Profile

third step was to create a higher quality encoding profile that the end user can tweak and can be referenced from code. created this with the 'Windows Media Profile Editor' which is either installed with Windows Media Encoder or the SDK. named the file DVD_Quality_Video.prx which needs to be placed in the folder : C:\Program Files\Windows Media Components\Encoder\Profiles\. if the profile is not placed in that location, then the code will fail over to a lower quality profile. you can modify the profile to improve or reduce the streaming quality. e.g. you might switch from Constant Bit Rates to Variable Bit Rates.



NOTE i changed the Video size to 'Same as video input' and let the XBox do the scaling to fit the TV. this works for me, but if you have files with a really high resolution, then you'll need to reduce the quality to avoid skipping (e.g. anything over 720x480 might be too big to encode on the fly)



ListMaker

the fourth step was to automate the process through MCE in a manner that works over an XBox Extender. the main part of the UI involves a type of MCE AddIn called a ListMaker. the ListMaker provides the UI to select the video(s) that you want to view, and then it kicks off some process. for this app, the processing just uses the Windows Media Encoder SDK to automate streaming of a video file (or a series of video files). to install, run the deploy.bat file that is included in the source code zip below. started to create an installer, but never finished it.

Extended Windows

DivX 6.1 did give me some other problems though, because it was trying to open a window ... which a Media Center Extender session does not allow. to get past this i ran the 'DivX Toolbar Toggle Tool' to turn it off. you can tell if you have this problem by checking the Event Log for Applications. it will look say something like 'Unauthorized window was detect while running the Media Center Experience, '', with file name 'C:\WINDOWS\system32\DivXsm.exe'.

the MS AntiSpyware Beta had this same problem. ended up uninstalling it because it seemed to be randomly ending some of my extender sessions. looks like some other people have had this problem too. not entirely sure it needed to be uninstalled; i'll have to reinstall it and see if this still works. but hopefully this will be fixed when MS AntiSpyware is released

Usage

after everything is installed (detailed above), go to your XBox 360 and start a Media Center Session. then go into 'More Programs' and select the /mceDivX360 icon. NOTE the adultdvdempire icon next to it ... that's called research er, um ... i have to see how other people are developing MCE Add-Ins. going to have to try and write off a dirty movie this year



this will bring up a display asking for a list name, currently 'Untitled'. the list does not get saved, and the list name does not matter, so just click 'OK'. i wish there was a way that i could bypass that screen altogether, but it doesn't look like i can



then it will display the 'My Videos' folder which you can drill into to select which videos you want to be streamed. NOTE you can select multiple videos to play back to back. after selecting the videos, click 'View List'. NOTE wish i could remove the 'Select All' button or add an 'Unselect All' button



the next screen will show the list of videos to stream. you can change the order and remove videos from the list here. finally, click 'Stream List' to start Media Encoder in the background. NOTE when selecting multiple files, make sure they are all of the same aspect ratio, else they will be distorted. NOTE wish i could remove the 'Change Name' button



this will bring up a dialog with a progress bar. NOTE that the progress bar will be incorrect for DivX files. alot of times it will just stay at 0% even though it really is streaming. i think it has problems with the codec? regardless, dismiss the dialog by pressing 'OK'. Media Encoder will still be streaming in the background. NOTE wish that i could change the text of that dialog to show that it was streaming, and not copying

NOTE if the progress dialog opens up real quicks and immediately goes away, then you've got a problem and streaming has stopped. first, check the permissions on the file(s) you are trying to play (see below). second, check that you've got the proper codecs installed by trying to stream it manually using the Media Encoder UI from your MCE PC.



now use your remote to exit 'My Programs' and go to 'My Videos'. select the _MediaEncoder.asx file to start watching the stream. NOTE it will take a couple seconds to display as the stream is buffered. NOTE if you do this real quick, sometimes the Media Encoder hasn't fully started yet, and you'll get a 'Video Error'. just select the _MediaEncoder.asx again and it should work the 2nd time.

wish that i could automatically redirect you to the 'My Videos' screen, but the ListMaker Add-In does not provide access to the Host in the same manner that other MCE AddIns do. tried to send the corresponding keystrokes for that remote event too, but the Media Center Extender user account can only be controlled by remote control commands. having a reference to Host would have been nice to let me popup my own dialog for exceptions too.




when the stream is complete, it will display a dialog asking if you want to process the list again. if you click 'Create' then it will start the video streaming again. else you can just click 'Done'. NOTE wish that i could change the text of that dialog



if you want to exit the stream, then just back out of 'My Videos' and go to 'My Programs' and select the /mceDivX360 icon again. this will bring up the progress dialog again, allowing you to stop the stream. NOTE if the video is still playing in the preview window (bottom left), then it will take a couple seconds for it to stop, because of the buffer. after stopping the stream, you can reselect the /mceDivX360 icon to choose a different video to stream. NOTE wish that i could change the text of that dialog.



Permissions

one other problem i had was with file permissions for some files in 'My Videos'. this is for any file type, not just DivX and XviD. even without streaming, i could not play some .wmv files and they were giving me a 'Disk Error' screen. and when trying to stream a DivX or XviD file using the AddIn above, it just opens the progress dialog for a second, and then immediately closes it. the problem was that the media center extender user account was not getting permission to view these files. what i had to do was manually select these files as a group and then view their properties - security tab. this would pop up the dialog below



say 'Yes' to that dialog, and the file permissions should end up looking like the following. because this was getting annoying to debug, the AddIn now writes a log file to : C:\Documents and Settings\All Users\Documents\mceDivX360.txt. look for the name of the file that did not play and this exception text : System.UnauthorizedAccessException: Access is denied.



Video

this shows a video of the /mceDivX360 AddIn being used. the DivX format Aeon Flux trailer being played was downloaded from divx.com


(4 megs zipped) (mirror)

Conclusion

that shows how to install and use the /mceDivX360 plugin to stream DivX (and XviD) videos from your Media Center PC to your XBox 360. so now you can watch all sorts of porn (not hot coffee) and bootlegged movies on your XBox 360. this is a little trickier then i wanted it to be. the user has to be particular about what codecs they have installed, apps that might interfere with a Media Center Extender session by opening a window, and they have to make sure that file permissions are correct for the videos they want to view. the good news is that the quality is great and i haven't experienced any skipping. the network usage isn't that bad either, because i've been testing it on an 802.11g network. both the MCE box and XBox 360 are wireless with 'Very Good' to 'Excellent' connections. nor does my PC seem to run that much slower when encoding is taking place.

Source

here are the the installation steps and the source code.

* install Windows Media Encoder and the Windows Media Encoder SDK
* check your codecs. i'm using DivX 6.1 (plays XviD too) and AC3 1.01a RC5
* asxFiles.zip - unzip both files 'My Videos' and edit the .asx to include your ComputerName or IpAddress
* DVD_Quality_Video.prx - copy to C:\Program Files\Windows Media Components\Encoder\Profiles\ (change settings if you want)
* mceDivX360Install.msi - run the installer (you still need to do the steps above) make sure you install it for 'Everyone'
* (instead of installer) /mceDivX360 Source.zip - unzip and run deploy .bat. NOTE that the code is for VS.NET 2003, .NET 2.0 is not currently supported by MCE.



Updates

might do an update after i get some more time to play around with it. otherwise feel free to take the code and run with it. maybe somebody can figure out a way to extend this to support fast forward and rewind. when Vista MCE comes out, we'll definitely be able to do this better ... because the SDK gets much richer!

NOTE that this probably could be modified to save the reencoded files to disk (with or without streaming at the same time).

Alternate Solutions

if you don't like streaming, then you can convert your files using software like the Videora XBox 360 Converter. it takes some time to convert and the files will be larger, but it works great from the couple videos i tried out.

and after you convert the vids, you can use bits from the kiosk disk to burn them to a DVD which can be played on the X360.

advantage to the streaming approach is you don't have to wait for the entire video to be encoded before watching it, nor do you create a 2nd (larger) video file to manage. disadvantage to the streaming approach is that you don't get to fast forward or rewind. you can pause by pressing down on the right button ... but just not for that long. haven't been able to use it that long, but i paused a movie for about 30 minutes and when i came back it played for about 5 minutes, skipped 3 times back to back, and then it skipped about 8 minutes forward in the stream to start playing again.

also, if you like petitions, then there is a Divx Petition for the Xbox 360. generally, i don't sign petitions, too close to begging, and i only beg if pussy is involved

Future

no clue what's next? later
I've recreated this article I've found. The server where it was hosted is slow as hell (when I say slowww, I mean it: 0.3kbs).

So, I hosted all the pics to another server and recreated the whole guide including hotlinks and the mentioned pictures.

This should let you play your Xvid & Divx files by converting them to .WMV on the fly... no hacks, no cracks, only using the WMC tools.

I hope you find it useful until a "Real" Xvid solution for the 360 appears.

Cheers

Source: Here! (Warning! too godamn slow!)
Aquanox is offline   Reply With Quote
Old 19-01-2006, 05:48 AM   #2 (permalink)
sheriffdk
PX360 Newcomer
 
Join Date: Jan 2006
Posts: 1
sheriffdk is on a distinguished road
Default streaming divx from my mac

hey man..

pretty good overview on how to stream movies trough a pc to the xbox36. "unfortunately" im the owner of a mac. do you have any idea how i can make it work.

anybody??? please help me!!
sheriffdk is offline   Reply With Quote
Old 20-01-2006, 05:43 PM   #3 (permalink)
yao
Xbox 360 Pro
 
yao's Avatar
 
Join Date: Nov 2005
Posts: 181
yao is on a distinguished road
Default

Quote:
Originally Posted by sheriffdk
hey man..

pretty good overview on how to stream movies trough a pc to the xbox36. "unfortunately" im the owner of a mac. do you have any idea how i can make it work.

anybody??? please help me!!
i know.......just go out and buy a windows media edition computer
yao is offline   Reply With Quote
Old 20-01-2006, 07:01 PM   #4 (permalink)
360rulz
Xbox 360 Freak
 
360rulz's Avatar
 
GamerCard: cubbieman
Read my Xbox 360 Blog
 
Join Date: Dec 2005
Posts: 1,770
360rulz is on a distinguished road
Send a message via AIM to 360rulz
Default

and you'll even be able to right click right out of the box!!!
360rulz is offline   Reply With Quote
Old 20-01-2006, 08:31 PM   #5 (permalink)
Xtrm Liability
Xbox 360 Pro
 
Xtrm Liability's Avatar
 
GamerCard: Xtrm Liability
Read my Xbox 360 Blog
 
Join Date: Jan 2006
Posts: 152
Xtrm Liability is on a distinguished road
Default

I thought you could just download MCE right on MS website (trial version) and if you like it just buy it. I don't think you'll loose your original XP so basically you should be able to have two OSes on you HDD. or if you have two HDD's just install MCE on the other HDD & boot from whichever HDD you want. No need to buy a whole new PC.
__________________
Thanks for the sig Dragonuk!
My Pictures / My Space
Xtrm Liability is offline   Reply With Quote
Old 20-01-2006, 08:33 PM   #6 (permalink)
Xtrm Liability
Xbox 360 Pro
 
Xtrm Liability's Avatar
 
GamerCard: Xtrm Liability
Read my Xbox 360 Blog
 
Join Date: Jan 2006
Posts: 152
Xtrm Liability is on a distinguished road
Default

Edit!
__________________
Thanks for the sig Dragonuk!
My Pictures / My Space

Last edited by Xtrm Liability : 21-01-2006 at 06:13 PM.
Xtrm Liability is offline   Reply With Quote
Old 29-01-2006, 03:43 AM   #7 (permalink)
Don_Rico
Special offer!
 
Don_Rico's Avatar
 
Join Date: Sep 2005
Posts: 3,173
Don_Rico is on a distinguished road
Default

Meh, I'm too lazy to do all this.
Don_Rico is offline   Reply With Quote
Old 29-01-2006, 02:31 PM   #8 (permalink)
michaelT1888
Xbox 360 Member
 
michaelT1888's Avatar
 
GamerCard: michaelT1888
Read my Xbox 360 Blog
 
Join Date: Jan 2006
Posts: 89
michaelT1888 is on a distinguished road
Default

I have done everything and my pc still cannot contact xbox 360 when i install the extender thing!!!
michaelT1888 is offline   Reply With Quote
Old 14-03-2006, 09:42 PM   #9 (permalink)
taylor410
♣ŦåŸŁ&#33
 
taylor410's Avatar
 
GamerCard: Bradshawz
Read my Xbox 360 Blog
 
Join Date: Jan 2006
Posts: 990
taylor410 is an unknown quantity at this point
Default

Firewall perhaps??
__________________
One death is a tragedy, a million deaths is a statistic: Joseph Stalin
taylor410 is offline   Reply With Quote
Old 15-03-2006, 01:39 PM   #10 (permalink)
Wingman1977
Xbox 360 Freak
 
Join Date: Feb 2006
Posts: 2,000
Wingman1977 is on a distinguished road
Default

I do agree that the limited edition remote is not all that but hey, u got it for free. Basically you get what you paid for.
PS That's a lot of stuff to do. I know I won't bother to do any of that.

Last edited by Wingman1977 : 15-03-2006 at 01:42 PM.
Wingman1977 is offline   Reply With Quote
Post New Thread Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Controler? Kishin General Xbox 360 Discussions 73 23-10-2006 04:27 AM
Xbox 360 Official Worldwide Release Dates!! Aquanox General Xbox 360 Discussions 31 01-03-2006 11:37 AM
Origen Answers... Beats General Xbox 360 Discussions 4 30-10-2005 02:44 PM
Intec Announces Accessories for Xbox 360 pApA SmerF01 General Xbox 360 Discussions 6 19-09-2005 11:37 AM



All times are GMT -6. The time now is 07:32 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0 RC5
© Copyright 2008 All Rights Reserved