-
Stream DivX movies to your Xbox 360 using MediaCenter-- Posted by XanTium on January 15 11:30 EST
Well not really, the Xbox 360 will still not accept an DivX/XviD stream, but using this method you can convert your DivX/XviD videos to WMV on-the-fly while it's streaming to your Xbox360. You will of course still need a Windows MediaCenter PC, the real-time converting will put some load on your host PC and there might be some quality loss ... but overall it's easier than (re-)converting all your videos manually. Best choice would still be to use your old modded Xbox and XboxMediaCenter(info) of course :-)
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. This 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.
Check out the full guide on mperfect.net (via 360insider.net)
-
sounds like a right pain
-
*Waits for X360XBMC*
-
wooo!!!! xbox1 pwns!!!
-
I just fixed my xbox today and the first thing i did after fixing it, was get the latest version of xbmc
xbmc rapes the shit out of the 360 media center
-
Still not good enough to make me disconnect my original xbox (IMG:style_emoticons/default/wink.gif)
-
er, um ... i'm the author of that program. it is a bit of a pain to get setup, but it's been working great.
never had an XBox1, so don't know anything about XBMC.
i do know about the next generation SDK we get with Vista's Media Center ... and it'll get alot better then.
Cheers,
casey
-
QUOTE(kcchesnut @ Jan 15 2006, 09:44 PM)

er, um ... i'm the author of that program. it is a bit of a pain to get setup, but it's been working great.
not tried it don't have MediaCentre, but good work 
QUOTE(kcchesnut @ Jan 15 2006, 09:44 PM)

never had an XBox1, so don't know anything about XBMC.
its worst to buy one right now JUST for XBMC
-
The only thing i hate about XBMC is that i'm not longer connected to the Live Community. Obviously this wasn't a problem before the 360 came out, but now i'm absolutley in love with the idea of always being connected, and being able to see who is online at any given time. Anyone know if there is a python script for xbmc that checks your friends list and alerts you when people come online? I know it obviously can't connect to the live servers and let others know i'm online, but If i could use xbmc and be able to tell if one of my friends signs on that would be killer.
This post has been edited by Mekapo: Jan 15 2006, 09:53 PM
-
QUOTE(Mekapo @ Jan 15 2006, 01:23 PM)

The only thing i hate about XBMC is that i'm not longer connected to the Live Community. Obviously this wasn't a problem before the 360 came out, but now i'm absolutley in love with the idea of always being connected, and being able to see who is online at any given time. Anyone know if there is a python script for xbmc that checks your friends list and alerts you when people come online? I know it obviously can't connect to the live servers and let others know i'm online, but If i could use xbmc and be able to tell if one of my friends signs on that would be killer.
something could probably be made using the msn alerts in MSN messenger, or the listing showing who is online at xbox.com (or bungie.net). Unfortunately I wouldn't know how to make a script for it, but just an idea as to how to get it to work
-
QUOTE(cyberg4 @ Jan 15 2006, 01:18 PM)

something could probably be made using the msn alerts in MSN messenger, or the listing showing who is online at xbox.com (or bungie.net). Unfortunately I wouldn't know how to make a script for it, but just an idea as to how to get it to work
That's what I was thinking as well. You could possibly also use whatever my gamertag.net uses to get a personalized buddy list type thing going. I'd love to do it myself but unfortunatley i don't have there werewithall to do such a thing.
-
yep, it really is easier to setup than it sounds, and it works as advertised. Now if only we could integrate it a little better in to the MCE experience, maybe even a My Divx tab on the home screen?
thanks for the app/method. it'll tide me over until we can get something a little cleaner, hopefully without the need to re-encode.
It pains me so the way it is currently. It's impossible to beat XBMC for its compatability with various media, but the MCE extender has the TV stuff thats just as important to me. I'm one format away from console nirvana.
Anyway, does anyone know of an app that will do clean batch divx to wmv conversion? The windows media encoder works fine for me for streaming like this setup, but always screws up or crashes during conversion, and it really isn't the nicest interface for doing a bunch of conversions. I would use videora and go with mpeg2 but it is messing up the aspect ratio of my videos, which is inexcusable.
i guess what I would love is a mce based "Convert these videos to WMV" in Other Programs.
anwyay, keep up the good work!
-
the 'My DivX' will be super simple to do in Vista MCE. the problem right now is they give us one programming method for UI (Hosted HTML), and another with power (AddIns) but limited UI. Vista will give us both in the same programming model. you can do it now, but it becomes a real pain in the butt.
as far as conversion programs within MCE, that is possible to. my app could easily be modified to convert to a file format instead of streaming (still using Media Encoder and handling lists). and i based my program off another one that converted dvr-ms files to wmv (originally written by Stephen Toub).
Cheers,
casey
-
that live buddy script for xbmc is an awesome idea... too bad i dont use live anymore...
-
kcchesnut-
I really appreciate all your hard work on this one. I installed it in about 5 minutes yesterday and it works great. I don't think the point here is to argue whether XBMC is better or not but to possibly improve on this method. I know I have thought of converting my collection of Divx/Xvid over to WMV or another compatible 360 format, would it be possible to modify this to keep the conversion and specifiy a dump location so I can do this one movie at a time as I feel like watching them?
-
Top work fella
Works like a charm - just need to dabble with a few settings to stop it being slightly jerky on some scenes.
Could be that I'm decoding on a celeron 2.4
-
QUOTE(kcchesnut @ Jan 15 2006, 08:44 PM)

er, um ... i'm the author of that program. it is a bit of a pain to get setup, but it's been working great.
never had an XBox1, so don't know anything about XBMC.
i do know about the next generation SDK we get with Vista's Media Center ... and it'll get alot better then.
Cheers,
casey
just wanted to thank-you, you are the man bro, thx for setting this up!
keep up the good work
-
I installed everything a per the instruction and nothing happens. When I check the log file its says The input media format is invalid. Yet I use the same files when doing this the manual way. Any ideas what could be wrong?
-
this reply will be to 3 posts above :
for saving to file while streaming :
add this code after the line with 8080
IWMEncFile wmeFile = Encoder.File;
string wmvFilePath = filePath + ".wmv";
if(File.Exists(wmvFilePath) == false)
{
wmeFile.LocalFileName = wmvFilePath;
}
//NOTE i have not tested this with large files
if its getting slightly jerky on some themes :
i'm still testing, but i did get some jerkiness too.
the problem seems to be from the default .prx file, it reencodes to the same file size.
so it can get jerky with high resolution videos.
you might try editing the profile to encode to a specific lower resolution.
but then the problem becomes having to manually touch the .prx file for diff movies.
one guy has created different .prx files and uses .mcl and .bat files to swap them out.
else i'm going to look into doing this in code.
the current idea is to add the Media Player SDK into the mix to get resolution.
that might fix the problems i currently have with duration too?
for 'input media format is invalid' :
... i don't know. i've never seen that in my error log.
it sounds like a codec problem, but it looks like you can encode manually?
maybe its possible that the Extender session is using a different codec than when you're logged in?
Thanks,
casey
-
anywhere else to download the mceDivX360 Source.zip the site its on is ultra slow
-
sorry, my server is just getting slammed right now, thats why its slow.
it's usually just a low traffic site for developers.
it should settle down in the next day or so as everybody forgets.
-
Hello,
Anybody knows where to get the media encoder sdk not from the MS site?
Thanks
-
i keep getting nothing but a blackscreen
"EncodeItem : blue_dragon_01_15.avi
System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception.
at WMEncoderLib.WMEncoderClass.PrepareToEncode(Boolean bPrepare)
at mceDivX360.MediaEncoderListMaker.EncodeItem(Int32 depth, ListMakerItem lmi)"
In the logs.
Is this due to my using a router?
-
hmm, that exception message isn't that useful.
i would first try to stream that same file using Windows Media Encoder manually from MCE.
that will tell you if you've got the correct codecs installed, and if something else is using port 8080.
Thanks,
casey
-
It gives me this error:
Disk Error
A temporary problem ocurred when media center atempted to play TV. Please restart Media Center and/or the pc. and then try again ..
Any sugestion?
-
Forgot to mention that manualy it works ok.
Thx
-
Disk Error has usually been a permission problem for me. When you run MCE manually your user account has permission to read those files. The problem is when the user account for the XBox 360 Extender session tries to access those files, it doesn't have permission. You might have 'access is denied' errors in the log file too. Try the 'permissions' section of the article and see if that helps.
Thanks,
casey
-
good work on the divx front,
would it be possible to run a similar script that strings together vob files into a single mpeg2 or even a mpeg2 playlist? hence no transcoding on the fly. just a thought
-
hmm ... i don't know much about VOBs. think i've seen that they can be played without any encoding (as you said)? as far as a playlist, the app would be similar, but it would generate a .asx file that points to files on the file system, instead of doing any streaming. then when you run that .asx file it would play each file in turn.
the .asx file spec is in the Windows Media Player 10 SDK, under metafile section.
<ASX version = "3.0">
<ENTRY>
<REF HREF = "C:\Documents and Settings\KC\My Documents\My Videos\mpg\powerpuff girls justice league comm.mpeg" />
</ENTRY>
<ENTRY>
<REF HREF = "C:\Documents and Settings\KC\My Documents\My Videos\mpg\Episode 216 - Broodwich.mpg" />
</ENTRY>
</ASX>
so it would play the first file, and then move on to the 2nd. tested it on my 360 and it worked
-
Hi, thanks for this brilliant solution. I have Media Center running in VMWare encoding HD xvid files on the fly. 960x526 seems to be the maximum resolution and 4mpb before it starts skipping for me.
Thanks again,
-
I had a problem to connect to the video. The anwser for me was to go to the user directory and add administrator rights to mcx1. This way i did solve my problem
-
scooby_dooby, i had to uninstall ffdshow because it was not working with my Media Encoder setup.
no, i don't know of anyway to specify which codec for Media Encoder to use.
so when you run the .asx file, it stays at a black screen for how long?
it usually buffers for 10 seconds or so before starting.
else you can get a Video Error if you click the .asx before Media Encoder gets started,
then you just click the .asx file again and it should work.
have you tried it with a short video to see if it stays at a black screen for the duration of the video?
also, have you tried different video files ... i have a high resolution one that will not work.
it either black screens or freezes on a frame.
also, try running the .asx file on your MCE machine with Media Player (outside of MCE),
and that'll let you know if the .asx file is setup correct.
-
QUOTE
for saving to file while streaming :
add this code after the line with 8080
IWMEncFile wmeFile = Encoder.File;
string wmvFilePath = filePath + ".wmv";
if(File.Exists(wmvFilePath) == false)
{
wmeFile.LocalFileName = wmvFilePath;
}
//NOTE i have not tested this with large files
I'm coding challenged and do not have the ability to recompile the source, or are you saying I can just add that to the .asx file. my other question is, if I select multiple videos in list mode, and save to disk, will it create one giant .wmv file or several, one for each movie?
anyway, keep up the good work.
If you need another mirror for your site due to the increase in traffic, let me know and I can mirror it at anotheruselesswebsite.com
-
QUOTE
oswald, i'll have a new release this weekend that adds that code in.
if you select a list of files, then it will encode them all to one file.
my current thinking is to keep this targeted towards streaming,
and people can use Videora if they want to do alot of encoding.
Sounds great to me, I look forward to it.
I personally think Videora is a pile of garbage. It only converts to MPEG2, not WMV, so it increases file size without any benefit and with the testing I've done, the "Use the resolution of the input file" feature does not work in Videora and messes up the aspect ratio on many of my videos.
If your app can convert and stream, then I'm a very happy happy person. Its actually very efficient that way, as it will convert only videos that you watch.
thanks once again!
-
I've been working on this for a while, and I just want to say thanks for hooking everybody up with a way to play divx. I don't have it working 100% so I may have questions in the future, but for now, thanks.
-
I'm having a problem with streaming. I've followed all the steps and have everything working locally (run media center, start the stream in More Programs, and watching the stream through the My Videos asx file). However when I run it on my 360 nothing happens. When I finish selecting the file to stream the progress bar pops up and stays at 0%. I've also tried starting the stream manually and then just watching the stream through the .asx file on the 360, but it just pulls up the turning waiting signal and hangs there.. I thought it was a permissions issue so I just gave mcx1 Administrative privaledges, but it still doesn't work. Anyone have any suggestions?
-
LexCorp, since its working locally, then it shouldn't be a codec issue.
That pretty much leaves a permission problem.
On the 360, I would try to play a supported .wmv file through 'My Videos' first.
If it plays, then you know that the file can be accessed by the Extender profile.
Then i would try to stream that same file (even though its not necessary), to test the Media Encoder setup.
If it plays, then i would compare the .wmv permissions to the DivX file permissions.
oh yeah, the progress bar will stay at 0% for DivX/XviD files.
there will be a new release this weekend to fix that
-
QUOTE(LexCorp @ Jan 19 2006, 01:53 AM)

I'm having a problem with streaming. I've followed all the steps and have everything working locally (run media center, start the stream in More Programs, and watching the stream through the My Videos asx file). However when I run it on my 360 nothing happens. When I finish selecting the file to stream the progress bar pops up and stays at 0%. I've also tried starting the stream manually and then just watching the stream through the .asx file on the 360, but it just pulls up the turning waiting signal and hangs there.. I thought it was a permissions issue so I just gave mcx1 Administrative privaledges, but it still doesn't work. Anyone have any suggestions?
make sure to wait a bit, it can take a good 10-15 seconds to pick up the stream, also maybe check your logs for the permission error?
-
QUOTE(kcchesnut @ Jan 18 2006, 10:28 PM)

LexCorp, since its working locally, then it shouldn't be a codec issue.
That pretty much leaves a permission problem.
On the 360, I would try to play a supported .wmv file through 'My Videos' first.
If it plays, then you know that the file can be accessed by the Extender profile.
Then i would try to stream that same file (even though its not necessary), to test the Media Encoder setup.
If it plays, then i would compare the .wmv permissions to the DivX file permissions.
oh yeah, the progress bar will stay at 0% for DivX/XviD files.
there will be a new release this weekend to fix that
Thanks for the replies. I've tried playing a mpg file converted with videora and it works fine. But i tried a wmv file and the 360 just hangs trying to play it.. The permissions are identical. I've also checked the event viewer and the mcedivx360.txt and there is no mention of permissions.
-
QUOTE(kcchesnut @ Jan 17 2006, 05:05 PM)

hmm ... i don't know much about VOBs. think i've seen that they can be played without any encoding (as you said)? as far as a playlist, the app would be similar, but it would generate a .asx file that points to files on the file system, instead of doing any streaming. then when you run that .asx file it would play each file in turn.
the .asx file spec is in the Windows Media Player 10 SDK, under metafile section.
<ASX version = "3.0">
<ENTRY>
<REF HREF = "C:\Documents and Settings\KC\My Documents\My Videos\mpg\powerpuff girls justice league comm.mpeg" />
</ENTRY>
<ENTRY>
<REF HREF = "C:\Documents and Settings\KC\My Documents\My Videos\mpg\Episode 216 - Broodwich.mpg" />
</ENTRY>
</ASX>
so it would play the first file, and then move on to the 2nd. tested it on my 360 and it worked
So I tried this last night but it didn't work. I got an error that it cannot play back the video. One thing that I did notice is that the VOB files do not show up when exploring folders through the extender. Does that mean they are not supported? I thought kc said that it worked. Any ideas?
-
Thanks for clearing that up, I'll read around and do mroe testing tonight. I'm just looking for the easiest way to do this with the least amount of converting. I've yet to perfect your streaming process.
I think we should make a sticky on this subject. list common file types and what steps may be necessary to get them to play on the 360... I would do it but I don't think I know enough about it.
-
I wanted to report back on what I tried with my VOB files. I ripped a movie and it put it in to 6 VOB files, which I renamed to .mpg. Then I went to play them on my 360 mc extender and the first one, and 6th one played, but 2-5 DID NOT PLAY. It gave me the error about video format. Not real sure why since they were all ripped at the same time, but renaming is not going to work with VOB files.
-
I will have to check tonight and get back to you.
-
kcchesnut
just installed it, and from all indications, it's working great. tested the stream and archive and just archive modes and they work as expected. progress bar works, can't tell if it's absolutely accurate, but it gets to 100% and then its done, so it works for me. took me a second to find the conifg tool, maybe install a shortcut for the end user in the installer... on some configs the folder will be labelled Shared Documents and not Documents as indicated in the readme.
stellar work.
incidentally, I'm using ffdshow on my box without issue. maybe a different build.
-
ok, further information on the VOB file issue. I rip a dvd I have and it created somethign like 6 vob files. I play them and they all play on the pc. Then I rename them to mpg, and some of them do not play. I get audio but not video.
Just wanted to make sure I got back to you guys on that. I'll keep playing with it.
-
Thanks for the info, I must have missed it. A lot of people have said a lot of things on here.
Anyway, I will try the DVD shrink thing soon. but if you have the movie in a playable (streamable to 360) format why do you need to go to wmv? (smaller file size?)
-
you could use this app to covert mpg to wmv as well... thats how i'm using it.
-
Hi,
First off I wanted to say thanks for making this setup work I love streaming my anime on the 360, I did have a question through that myself nor a friend can slove. It's concerning subtitles on the anime's. If the anime that am watching has two lines of sentence the second one is cut off while streaming on the TV. Is it at all possible to change something so I can see that second line of text thanks
-
I can't seem to get this to work.(steaming divx/xvid to 360). I've installed everything(from links on instruction page), i can play the video in media encoder with no problem. when I try to play from 360 it reads video error. My log file say One or more codecs required to open this content could not be found. Here is my log file :
EncodeItems
had to kick out of waiting for video duration
1/23/2006 11:11:45 PM
EncodeItems
had to kick out of waiting for file resolution
1/23/2006 11:11:46 PM
INFO GetProfile
ProfileUsed = DVD_Quality_Video
1/23/2006 11:11:46 PM
INFO EncodeItems
OutputMode = StreamOnly
1/23/2006 11:11:55 PM
EncodeItems : catch
System.Runtime.InteropServices.COMException (0xC00D1B83): One or more codecs
required to open this content could not be found.
at WMEncoderLib.WMEncoderClass.PrepareToEncode(Boolean bPrepare)
at mceDivX360.MediaEncoderListMaker.EncodeItems(Int32 depth, ArrayList
alListMakerItems)
-
Hey folks,
Hopefully someone can answer me a question
I finally got this working to a point.
I can begin the conversion process and watch the streaming output on the 360.
But I am not getting any audio. What could be causing this?
I can hear the audio when I run the file on the host PC via MediPlayer.
Any info would be appreciated.
Thanks
PS Nevermind....amazing what happens when you disconnect the audio output from the 360
-
has anybody figured out the codecs that will work with MediaEncoder for MP4 files (x264 video and AAC audio).
that's been a common request i've been getting emailed for.
-
Help!!!! I was able to get this hack working on my setup, however it only seems to work with Divx encoded files. Whenever I try to stream an XVID file, I a window pops up 10 seconds later saying that the stream proccessing has been completed. I thought it might be my codec, so I reinstalled with no luck. I found some info releated to permissions that I thought might help, but that didn't seem to help either. Any thoughts on why this might be happening?
-
check the debug file. if it says 'access is denied', then its permissions. but chances are that since DivX works and XviD doesn't then its a codec. use GSpot to see if which codec is being used
check the debug file. if it says 'access is denied', then its permissions. but chances are that since DivX works and XviD doesn't then its a codec. use GSpot to see if which codec is being used
-
Ive had a problem streaming movies through brainsNBraun fantastic program. I have had it working but have installed something (not sure what) and now I cant get it to work again.
Ive PM brainsNbraun and hes been fantastic but after his advice we found the problem being that port 8080 is being used by something else:
INFO EncodeItems
OutputMode = StreamOnly
31/01/2006 17:20:06
EncodeItems : catch
System.Runtime.InteropServices.COMException (0xC00D0028): An attempt to acquire a network resource failed.
at WMEncoderLib.WMEncoderClass.PrepareToEncode(Boolean bPrepare)
at mceDivX360.MediaEncoderListMaker.EncodeItems(Int32 depth, ArrayList alListMakerItems)
Ive used the old method of opening WME and streaming directly from there using a different availible free port (4623) and that works perfectly.
So my question is this, how can i either make brainsNbrauns app brodcast through a different port, or how can i find whats using the 8080 port and disable it or change that apps port usage??
Any help would be fantastic as im totally stumped, and gutted that the xbox doesnt play divx out the box
if you care, my thoughts on why MS have limited the divx play back is purely financial... Either, when the ps3 comes out, they want to make a big deal out of it, in the hope it will take some steam out of the hype from playstation, or when vista comes out, you can only stream using vista meda center, forcing you to shell out and purchace it.