View Full Version : MKVBoxer - MKV to XBOX360
ZeroColl
8th February 2008, 18:15
A while ago I used GOTSent for the MKV to XBOX 360 "conversion", but I switched to vista x64, where it doesn't work. So I made myself a tool that uses other existing tools to do this.
It uses MKVextract to get both streams.
Then it changes the h264level to 4.1 (really fast, just rewrites some bytes)
After that I convert the audio to stereo acc, using a tool that makes a wav and then the nero encoder to encode to ACC.
And at the end it is all merged together in a MP4 container with MP4Box.
if the file is larger than 4GB it is split and two (or more) output files are created.
It is as simple as it gets, choose input file, output folder and click convert.
If someone wants to try it out: http://rapidshare.com/files/93424538/MKVBoxer-0.2b.rar.html
But keep in mind, that is really a early stage build.
Glorioso
8th February 2008, 20:12
A while ago I used GOTSent for the MKV to XBOX 360 "conversion", but I switched to vista x64, where it doesn't work. So I made myself a tool that uses other existing tools to do this.
It uses MKVextract to get both streams.
Then it changes the h264level to 4.1 (really fast, just rewrites some bytes)
After that I convert the audio to stereo acc, using a tool that makes a wav and then the nero encoder to encode to ACC.
And at the end it is all merged together in a MP4 container with MP4Box.
if the file is larger than 4GB it is split and two (or more) output files are created.
It is as simple as it gets, choose input file, output folder and click convert.
If someone wants to try it out: http://rapidshare.com/files/87075009...-0.1b.zip.html
But keep in mind, that is really a early stage build.
File not found:confused:
ZeroColl
8th February 2008, 20:48
Link Fixed.. sorry for that!
Glorioso
8th February 2008, 22:07
Link Fixed.. sorry for that!
I'm using fddshow to harcode subtitles, will it work here?
Atak_Snajpera
8th February 2008, 22:41
I'm using fddshow to harcode subtitles, will it work here?
This app do not transcode.
ZeroColl
9th February 2008, 03:01
I'm using fddshow to harcode subtitles, will it work here?
No, it doesn't transcode video at all.. the purpose is to get an MKV to play on the XBOX as fast as possible. So only audio is reencoded.
To add subtitles you'll have to use something else.
Glorioso
9th February 2008, 10:12
I get this error just when o do convert...
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at MediaInfoLib.MediaInfo.MediaInfo_New()
at MKVBoxer.MianBoxerForm.btnInfo_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MKVBoxer
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///G:/MyWorks/MKVBoxer-0.1b/MKVBoxer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
ZeroColl
9th February 2008, 12:23
As I said, it is an early build and the whole thing was first made only for me, but..
There are two things I see could cause the problem.. you wanted to convert a unsupported media format(it should be a MKV with h264/AC3 inside) or the mediainfo is causing problems, since I think I bundled the x64 version with this.. so please try to replace the mediainfo.dll with the win32 here (http://http://sourceforge.net/project/showfiles.php?group_id=86862&package_id=90614)
Keep me posted on the results.
Ronin-7
11th February 2008, 19:01
Great work ZeroColl, worked perfectly for me under Vista x64 no problems at all. I tested the file on an Xbox 360 and PS3 with no playback issues to report for either.
If I might make one suggestion though it is to include a tick box so it does not rename the MP4 to AVI and keeps the MP4 extension. By the way I have a reg patch (http://a8t8.spaces.live.com/blog/cns!2518DD508BB713E8!156.entry) that makes WMP11 see and stream MP4 files which is what I used to stream to both consoles so no need to rename to AVI to make WMP see the file.
killerhex
15th February 2008, 23:44
does this support dual audio mkvs
Glorioso
16th February 2008, 11:56
I get always this error, "The audio or video stream has the wrong codec", any ideas?
ZeroColl
16th February 2008, 12:23
killerhex: Hmm.. for now it does not suport dual audio, since it is intended to make a MP$ that is playable on the XBOX.. but if it is of any interest to you, i could ad the option where you could choose which audio stream you would like to have in the output?
Glorioso: In most cases that is because the MKV file is not compatible.. is it a fil ewith h264 video and AC3 audio?
Glorioso
16th February 2008, 12:46
Glorioso: In most cases that is because the MKV file is not compatible.. is it a fil ewith h264 video and AC3 audio?
Yes, all the MKV i have are 264 and AC3, it's because of the AC3?
killerhex
16th February 2008, 13:52
killerhex: Hmm.. for now it does not suport dual audio, since it is intended to make a MP$ that is playable on the XBOX.. but if it is of any interest to you, i could ad the option where you could choose which audio stream you would like to have in the output?
yes could you add that option
ZeroColl
18th February 2008, 16:02
Yes, all the MKV i have are 264 and AC3, it's because of the AC3?
This should work.. I also convert MKVs with h264 and AC3, but as I said.. testing on my part is done only on the Vista x64 platform.
if you don't have x64 vista than try to replace the mediainfo.dll with a 32-bit one.
yes could you add that option
I'll do this some time this week.. be patient:)
Glorioso
18th February 2008, 19:34
This should work.. I also convert MKVs with h264 and AC3, but as I said.. testing on my part is done only on the Vista x64 platform.
if you don't have x64 vista than try to replace the mediainfo.dll with a 32-bit one.
Zero, i've done that, i replaced de mediainfo and that solved the first problem, but now i get this one, im working on XP, i'll try it on my Vista x32
ZeroColl
20th February 2008, 15:55
does this support dual audio mkvs
I added the option that when there is more then one audio track present the user can choose which to extract and later use in the MP4 that is being generated..
I had no multi audio MKVs on my computer, so this is not tested, and will be appreciated if someone (killerhex?) posts the result when converting a dual audio MKV.
here is the new link:
http://rapidshare.com/files/93424538/MKVBoxer-0.2b.rar.html
I changed it also in the first post.
dale978
24th February 2008, 17:41
hi,ive put 2 films through mkvboxer the first part plays fine on both but get black screen on both part 2's ?
is there a way of not splitting the file into 2 parts ? i understand why it does-i use macdrive so dont matter wot size file
ZeroColl
24th February 2008, 18:10
hi,ive put 2 films through mkvboxer the first part plays fine on both but get black screen on both part 2's ?
is there a way of not splitting the file into 2 parts ? i understand why it does-i use macdrive so dont matter wot size file
I'll look into the problem. The movie is spilt if the original is larger than 4GB since according to my info the XBOX 360 has problems playing non wmv files larger than that, it has nothing to do with the drive stored on.
ZeroColl
24th February 2008, 22:48
I just converted a 720p MKV movie and both parts play OK on my xbox.. I will need more info about what is happening to you.
You could paste the text from the "log window" for the start..
Fugdefino
1st March 2008, 02:08
Tried converting mkv file with the following info. Resultant file doesn't play on PC or Xbox:
General #0
Format : Matroska
File size : 67.1 MiB
PlayTime : 1mn 1s
Bit rate : 9132 Kbps
Encoded date : UTC 2008-02-26 16:51:12
Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video #0
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec profile : High@L4.1
Codec settings, CABAC : Yes
PlayTime : 1mn 1s
Bit rate : 8122 Kbps
Width : 1920 pixels
Height : 816 pixels
Display Aspect ratio : 2.35
Frame rate : 23.976 fps
Chroma : 4:2:0
Interlacement : Progressive
Audio #0
Codec : AC3
Bit rate mode : CBR
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48 KHz
Language : English
miklg21
2nd March 2008, 19:53
I'm running Vista and got a error with you new build.
http://i29.tinypic.com/2dvlvz7.jpg
this is the file I'm trying to convert.
General #0
Complete name : C:\Users\mike\Desktop\test\75 percent.mkv
Format : Matroska
File size : 1.52 GiB
PlayTime : 1h 56mn
Bit rate : 1863 Kbps
Movie name : Done with AutoMKV 0.95 http://forum.doom9.org/showthread.php?p=854221
Encoded date : UTC 2008-02-28 12:54:40
Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video #0
Codec : AVC
Codec/Family : AVC
Codec/Info : Advanced Video Codec
Codec profile : High@L4.1
Codec settings, CABAC : Yes
PlayTime : 1h 56mn
Bit rate : 1332 Kbps
Width : 720 pixels
Height : 480 pixels
Display Aspect ratio : 1.500
Frame rate : 23.976 fps
Standard : NTSC
Chroma : 4:2:0
Interlacement : Progressive
Title : VTS_01_1
Writing library : x264 - core 58 svn-736M
Encoding settings : cabac=1 / ref=6 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=5 / me-prepass=0 / brdo=0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=crf / crf=21.3 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.5:13.0
Audio #0
Codec : AC3
Bit rate mode : CBR
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, Subwoofer
Sampling rate : 48 KHz
ZeroColl
2nd March 2008, 20:21
Click details and send me that screen!
ZeroColl
2nd March 2008, 20:36
Oh, and in most cases you should run this app as Admin.. didn't care to check why this is the case, but for me it works.
And for now the app almost always worked for me, the only problems were with some prison break episodes, no clue why.
miklg21
3rd March 2008, 06:49
From the details
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at MediaInfoLib.MediaInfo.MediaInfo_New()
at MKVBoxer.MianBoxerForm.btnInfo_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MKVBoxer
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/mike/Desktop/MKVboxer/MKVBoxer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
ZeroColl
4th March 2008, 13:20
Jep.. its the same problem someone else had.. you probably use the 32bit vista version?
In the buntle there is a 64bit MediaInfo.dll.. please download the 32bit mediainfo.dll and replace th eone provided in my package.
The link is somewhere in this topic.
MachThree
5th March 2008, 03:44
It tells me I'm using the wrong audio or video codec, even though I'm using a Matroska file with x264 and AC3 streams. What's going on?
Amir
5th March 2008, 09:20
I'll look into the problem. The movie is spilt if the original is larger than 4GB since according to my info the XBOX 360 has problems playing non wmv files larger than that, it has nothing to do with the drive stored on.
An option to not split would be most welcome!... I've played 8GB files without issue myself, played via twonkymedia server btw.
ZeroColl
5th March 2008, 09:38
It tells me I'm using the wrong audio or video codec, even though I'm using a Matroska file with x264 and AC3 streams. What's going on?
My problem is that I don't have your file to test it and determine what the problem is. Until now I never encountered such a problem if the file was in correct format. (You could tell me on PM what file so I can test it)
An option to not split would be most welcome!... I've played 8GB files without issue myself, played via twonkymedia server btw.
OK, I will ad that in the next release, after I sort out some other problems that people occasionally have.
andyd2k
14th March 2008, 03:21
Thanks for this! I do have issues that hopefully can be addressed...
I was able to convert a file but it won't actually stream to my 360. I can see the file in the folder but all I get is a black screen when trying to play the file.
Now the problem here is that I know this was a issue when I was messing with mkv to mp4 a couple of months back - the level needs to be changed from 5.1 to 4.1.
I see that this is supposedly addressed but is this a definite? I can't actually run the file through h264 since the output file is avi
ZeroColl
24th March 2008, 02:13
the actual output file is an MP4 file, but for some (stupid) reason my system was set up so that WM didn't recognize the .mp4 files, but worked correctly with an avi extension.. so you can change this to .mp4 if you want to.
the 5.1 to 4.1 conversion is done (no actual conversion there only a change in the h264 file header) but i had also experienced some files (prison break) that wouldn't play.. try some other file, if the problem is still there I will try to find a solution.
But remember this is by no means a perfect solution, but for some weird reason it almost always works for me:)
bradtn
12th May 2008, 06:02
Cant even click convert as soon as i do i get error
ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at MediaInfoLib.MediaInfo.MediaInfo_New()
at MKVBoxer.MianBoxerForm.btnInfo_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MKVBoxer
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Brad/Desktop/MKVboxer/MKVBoxer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
any idea why? im on vista 32 bit
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.