Working Solution: 720p/HD movies on your XBOX (using DiVX) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Archive (https://forum.kodi.tv/forumdisplay.php?fid=92) +--- Forum: First-generation XBOX support (https://forum.kodi.tv/forumdisplay.php?fid=158) +--- Thread: Working Solution: 720p/HD movies on your XBOX (using DiVX) (/showthread.php?tid=53741) |
Working Solution: 720p/HD movies on your XBOX (using DiVX) - funkytown - 2009-06-29 *New DiVX Profiles / Staxrip updated* As promised in this thread on encoding 720p movies using XViD (which was limited in terms of bitrate and resolution), here is my HowTo for making your xbox true-hd capable. In short, the trick is to use the DiVX codec and take advantage of its unique ability to limit the maximum-bitrate and not just set the average bitrate (as XViD is limited to). This method allows you to encode XBOX-Compatible HD-Movies (from Blu-Ray, HD TS or H264 Rips) at very high bitrates without the need to downsize the source-movie. You can [b]watch full 1280x720 resolution movies on your xbox without visual frame dropping or stuttering! By having the opportunity to use high-bitrates (as opposed to the 4.500 kbit limit with XViD) we can finally reach the quality of h.264 encodings![/b] Let's start:
That should be all to get you started encoding your first XBOX-compliant HD-Movie. Any comments, suggestions or corrections are welcome. Have fun with your HD-Ready XBOX ! MEDIAINFO OF ENCODED MOVIE (NOTICE THE AVERAGE BITRATE) DISCLAIMER: Cause of probable high cpu usage,you might want to verify your fan-speed settings in XBMC (put it on auto-temperature). - Geeba - 2009-06-29 TOP WORK FELLA!! Much appreciated! - Geeba - 2009-06-29 Hmmm how much of the DivX package do you install? I just installed the codec and the convertor.... I cant find anything that looks like the Pro settings Also cant seem to find Crogram Files/StaxRip/Settings/Templates after StaxRip is installed - its justa folder with the app in along with a readme and an uninstall app..... - funkytown - 2009-06-30 Geeba Wrote:Hmmm how much of the DivX package do you install? I just installed the codec and the convertor.... I cant find anything that looks like the Pro settings Mhh, it seems as the page i was referring to is outdated. To import the template into staxrip do this: Run staxrip, go to menu "Tools" -> Directories -> Templates. The right folder will open up, then just paste my template in there and reopen staxrip. I'll fix that in my tut. As to your first question: its enough to just install the DiVX codec. All the divx settings are made from within staxrip! Look for a line that says "Codec configuration" after opening my template via menu "File" -> "Template Projects". - Oldie - 2009-06-30 Any other tool that can do this besides Staxrip? The site is down and none of the tool updates seem to work for me MeGUI and AutoGK don't seem to be able to encode Divx. I tried the Divx converter free trial that comes with the codec, but that creates a .divx file (whatever that is), and seems to change the audio from 5.1 ac3 to stereo, even though it should just copy it over I wouldn't mind using Staxrip if it actually worked. - funkytown - 2009-06-30 Oldie Wrote:Any other tool that can do this besides Staxrip? The site is down and none of the tool updates seem to work for meHere is another download link: http://www.digital-digest.com/software/download.php?sid=1090&ssid=0&did=1 Oldie Wrote:MeGUI and AutoGK don't seem to be able to encode Divx. I tried the Divx converter free trial that comes with the codec, but that creates a .divx file (whatever that is), and seems to change the audio from 5.1 ac3 to stereo, even though it should just copy it over AutoGK should support DiVX, at least thats what they say on their site. Definitly DONT use the DiVX converter! Use Staxrip instead, it works! Check out my video how i do it: http://www.screencast-o-matic.com/watch/cQ1UomfiE and read the tutorials i linked to. - Oldie - 2009-06-30 I can download the exe and install it, none of the rest of the app plugins can't be downloaded though. I've been trying to download them and install them manually, but just can't seem to get them all there. Someone could probably post an upload with them all included until the author gets his site back. AutoGK does indeed support DivX, but it won't read .mkv's - Wimma - 2009-06-30 Just for completeness, any chance of a basic DVD (480p/576p) profile? Would be nice to use the same process & format for all media encoding for the old xbox. I assume this would still produce a nice picture. - funkytown - 2009-06-30 Oldie Wrote:I can download the exe and install it, none of the rest of the app plugins can't be downloaded though. I've been trying to download them and install them manually, but just can't seem to get them all there. Someone could probably post an upload with them all included until the author gets his site back. Yeah, oldie, i get u know. The site has probably some temporarly DNS problem. Expect it to be up again within a day. In the meantime download the required staxrip-tools for h.264-mkv to divx-mkv conversion here. 1. Unpack and install avisynth and mkvtools in the file named "1.Unpack-And-Install.rar" 2. Extract the two .dll files from "3.Extract-to-Avisynth-Plugin-Directory.rar" and put into the installation directory of avisynth in the plugin subdirectory 3. Extract the file "2.Extract-to-Staxrip-Applications-Directory.rar" and put all the directories in the staxrip application directory. You can find it in staxrip via menu "Tools" -> Directories -> Applications Hope that helps you! - Oldie - 2009-06-30 That did the trick, thanks for the help - MBT1 - 2009-06-30 Oldie Wrote:I tried the Divx converter free trial that comes with the codec, but that creates a .divx file (whatever that is) A .divx file is...well, a .divx file! Xbox plays 'em fine. - PrimusZa1 - 2009-06-30 Great guide..very easy to follow. I downloaded you settings and installed them via your link (didn't want to input them wrong). But I am still getting the same results with my test clip I linked to in the sister thread to this thread. I will also link it below as well. I followed your settings guide to the letter (double checking it at that) and as you can see by the screenshot below from the Xbox I had already dropped 166 frames within a minute and half. (note: Yes the video looks like that on the blu ray too. I guess that is why it is so rough on the decoder) The final count was 216 dropped frames with DVDplayer and 601 with Mplayer. The following testbeds were utilized with the little change in results: 2-Xbox 1.4's,2-Xbox 1.6's,1-Xbox 1.1 all with the Babylon final installed File was tested both from a local 100mb network and then FTP to Xbox's hard drive to test from there. The only change I found was a decrease of approx. 40 frame drops (in DVDplayer) from the local Xbox hard drive test to the network storage test. Now mind you, maybe I just happen to find a 1920 X 1080/1280 X 720 16/9 1:78 video that has to be downsized to 960 X 540 (which by the way does encoded rather nice at the higher bitrates you provided!) but that leads to the point I made in the other thread that allot more testing needs to be done to zero in on that sweet spot in your settings. I for one am encoding 2 other different 16/9 1:78 videos to see how they pan out and will post my findings to help in this endeavor. I would love to see this work so that I would not have to encode a video twice (one at 1280 X 720 and one at 960 X 540) just to be sure I had a copy that won't drop frames. I have linked the test clip below so you and anyone else can test it to see if your results compare or differ from mine. Great stuff keep it up! Test Clip http://www.megaupload.com/?d=QS8PXWGF - funkytown - 2009-07-01 I have updated the bitrate matrix, because i found out that with 1280x720 there were still some scenes with dropped frames (though not visible). I have also uploaded the complete staxrip package, while the authors site is down! - funkytown - 2009-07-01 PrimusZa1 Wrote:Great guide..very easy to follow. Hey, thanks for trying out my settings. While looking at your picture, it shows a bitrate of 9.82 mbit which is way higher than the max.bitrate i suggested for 1280x720 (7400 kbit originally / now 6300 kbit). Are you sure, that you set it all right when encoding? Could you please try it out with the new version of the bitrate-matrix? (Redownload the .reg file) Also, try to use the "h.263" quantization (under DiVX configuration -> Video) and not the "mpeg-2". I think the later does not strictly honor the bitrate maximum. You are right, there has to be some more testing to find the optimal max. bitrate. The problem is, that we have to try out each resolution seperatly as the relation between resolution and max. supported bitrate seems not to be linear but logarithmic (so we can not easily calculate the max. bitrate for resolution X if we already know the max. bitrate for resolution Y). I have just updated my bitrate values for 1280x720 and 1280x688 though. And i think they are fine now (i would like test them with your sample clip though). This clip you linked to, is that the original source or already the divx encoded clip? Are you sure that you have your audio decoded by an external decoder and not the xbox when having those frame-drops? Downsizing 1280x720 to 960x544 is always an option. I think when taking into account the much higher possible bitrates and the good job the xbox does when upscaling its recomended at least for complex movies (action, etc...). And even when downsizing i think DiVX is superior to XViD because you cannot reach the same high bitrates with the later. Thanks for your feedback! - PrimusZa1 - 2009-07-01 funkytown Wrote:Hey, thanks for trying out my settings. You are right, there has to be some more testing to find the optimal max. bitrate. The problem is, that we have to try out each resolution seperatly as the relation between resolution and max. supported bitrate seems not to be linear but logarithmic (so we can not easily calculate the max. bitrate for resolution X if we already know the max. bitrate for resolution Y). I have just updated my bitrate values for 1280x720 and 1280x688 though. And i think they are fine now (i would like test them with your sample clip though). The test clip is a direct clip (non renecoded) from the source H264 MKV with 5.1 so it makes a good test subject so far. I also pass thru to an external audio decoder for the audio. I did a complete encode of the Full movie downsizing it to 960 X 544 using your 960 cli and so far it looks great compared to the Xvid copy I just did before you posted about the Xvid problems with CBR. I will be doing a complete play thru to see if I drop frames though I think from what I saw it should be ok. (max cpu with test clip was 97%) I will do a run through with your 1280 CLI and let you know how it goes on the other 1280 16/9 videos I have. Hopefully we are getting close to the "sweet spot" Keep up the great work! |