MKV to Mp4 for XOOM WITHOUT Converting Video

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
Under Honeycomb 3.1, playback of some high profile h264 files is now possible. This means it is now possible to convert many high profile MKV files to a format the XOOM will play WITHOUT the time consuming process of re-encoding the video. So for those who hate re-encoding, here is how:


Download and install the freeware app XenonMKV. It will allow one click conversion of a high profile 720p MKV file to an mp4 that the XOOM can play WITHOUT the time consuming process of re-encoding the video. Also it leaves original video quality intact and untouched. Special credit to parrotheadmjb for pointing us to this app.

Advantages of this method:

1. Converts only audio with no loss of video quality - video is untouched only audio and container are changed. No artifacts or distortion added by a video re-encode.
2. Much faster then re-encoding the whole video in something like Handbrake or DVD cat. 40 min TV show converts in about 5-6 min. Two hour movie in 15 to 17 minutes or faster depending on your system.

Disadvantages:

1. Will not work for main and high profile 1080p MKV - use DVDcat or Handbrake for these
2. One click version can be quriky with some videos. Manual tools may work better on these.

Some tips for XenonMKV


Setting aspect ratio manually may be necessary for some videos. Do this if your converted video appears stretched or aspect doesn't match original. I have found that using 16x10 rather than 16x9 works for XOOM even when original is 16x9. Setting 16x9 sometimes gave wrong aspect even when original was 16x9.

There is an option to manually select the audio track for multi-language MKV. Use this if its giving you the wrong audio track.


Alternate method using separate tools is shown below. Usefull for stuff that doesn't convert with Xenon. Harder to setup - not that hard really. Just got to download a lot of pieces and put them in the proper folders. After that you just make shorcuts to the desktops for the 3 tools and you are ready.

Very easy to convert videos once tools with Graphical user interfaces are installed -Just requires three separate manual steps.


1. Demux your video: This can be done using MKVtoolnix + MKVextract GUI

Once this tool is installed, you just load your video and click extract.

You should have a video file with h264 extension and an ac3 audio file.

2. Convert just the ac3 audio file to AAC. This can be done with eac3, but I have a paid copy of Ojosoft Audio converter, and I have been using that to convert the
AC3 audio file to an AAC audio file

With Ojo you just load the AC3 file extracted in step 1, select AAC and go.

3. Using MP4boxGUI, mux the original Video file back together with the new AAC audio file and you are done.

Again super easy. Just load the original video extracted in step one and the new AAC audio file made in step 2 and click mux. That's it.

I have specified GUI versions of all the tools for simplicity, however if you love the command line, have fun.

The whole process takes less about 10 minutes, and produces an MP4 video file with audio that plays back on the XOOM.

Disclaimer: I have just started experimenting with this process. Don't blame me if a particular video doesn't convert. Don't go buing Ojosoft and blaming me if you can't use it for your video. There are free ac3 to AAC converters out there.

Important note: You may need to manually set the fps in MP4boxGUI, don't trust the program to keep the original fps. If you don't know the fps of the original, try 23.976 or download mediainfo. If you don't set it manually, and leave it at default you may get audio sync issues.

Edit: So far have only tested with 720p high profile MKV's but its working very well - finally feel like I can watch videos on my XOOM the way they were intended. Going to convert a large number now and see how many work without problems.

Edit: Can't believe how well this is working. Finally an easy way to convert MKV for XOOM without re-encoding for hours. Even worked on a 720p [email protected] file. Perfect video and audio. Damn! I might stop considering the galaxy tab 10.1.
 
Last edited:

frigorific

Member
Jan 3, 2011
26
5
0
Nice to hear about this kind of progress and testing =)

now all we need is encoder software that'll copy original video but encode the audio with a simple click... batch processing and maybe copy to device in one go.

doesn't handbrake have a "keep video" setting? =)

looking forward to more tests.
i'm still hoping that when coreplayer for android gets released all our playback woes will be over...

@corecodec: "Subtitles completed for CorePlayer on Android and Windows."

Fred

Sent from my HTC Desire using XDA App
 
  • Like
Reactions: marctronixx

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
I was thinking that too. Would be nice to do it all with one click. But I haven't gotten that far ahead just yet. Now just trying all sorts of videos to see how many work.

But its still not hard once the tools are set up with GUI interfaces. If you just want to download a video and watch it right away without waiting to re-encode the whole thing it's great. I just put the links to the three tools on my desktop and go throught the steps and you can be up watching a movie or TV show in about 10 min after its downloaded.
 

parrotheadmjb

Senior Member
Feb 21, 2009
140
13
0
Theres already a bunch of 1-click tools that will remux it for you.

XenonMKV works great, theres a number of other tools that were made for the xbox 360 that do this since the 360 will play mp4 but not mkv. Try out xenonmkv and see how well that works on the xoom, I haven't tried yet.. I did think about it a few months ago but never got around to it.

edit: also, if you want it to, it'll split the file for you if its >4gb since the file system kinda limits us to 4gb files
 
Last edited:

Techsniffer

Member
Mar 6, 2011
12
1
0
Not really a conversion tool but I use Plex (app and server on my PC) and I can stream anything over 3g and WiFi without having to do all this conversion mess. The app costs $5 but its well worth it, there was literally zero setup and my Xoom found my plex server instantly and I was streaming video/music anywhere I was. Obviously for 720 and 1080p videos 3g likely wouldnt be the best but I stream Blu-Ray rips (1080p) over WiFi and it looks and sounds great. I no longer have to convert anything (even plays .mkv's)
 

vidriera

Senior Member
Jul 22, 2010
90
11
0
Theres already a bunch of 1-click tools that will remux it for you.

XenonMKV works great, theres a number of other tools that were made for the xbox 360 that do this since the 360 will play mp4 but not mkv. Try out xenonmkv and see how well that works on the xoom, I haven't tried yet.. I did think about it a few months ago but never got around to it.

edit: also, if you want it to, it'll split the file for you if its >4gb since the file system kinda limits us to 4gb files

Awesome. I was looking for something just like this with no luck, but I downloaded this and tried it with a 720p scene release I had been meaning to watch with great results! Video plays great on the xoom, and it was larger than 4GB (4.1), so I'm unsure about that limit. Thanks, I recommend this for sure!
 
Last edited:

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
Theres already a bunch of 1-click tools that will remux it for you.

XenonMKV works great, theres a number of other tools that were made for the xbox 360 that do this since the 360 will play mp4 but not mkv. Try out xenonmkv and see how well that works on the xoom, I haven't tried yet.. I did think about it a few months ago but never got around to it.

edit: also, if you want it to, it'll split the file for you if its >4gb since the file system kinda limits us to 4gb files
Great suggestion - I'm trying XenonMKV right now. Its basically an automated 1click way of performing the steps I outlined above and it seems to be working very well. It looks like we finally have a way of converting and playing MKV files on the XOOM fast and easy without waiting hours to re-encode!! Wow this really changes my opinion of the XOOM.
 

thor17

Senior Member
Jan 30, 2006
93
6
0
Tried Xenonmkv out on a 1.2 GB 720p high profile h264 mkv file with ac3 audio. It was able to change the container to mp4 keeping the video quality the same and reencoding the ac3 to aac and remuxing all in less than 5 minutes.
 

keitht

Senior Member
Dec 21, 2005
1,937
315
0
Delray Beach, FL
Tried Xenonmkv out on a 1.2 GB 720p high profile h264 mkv file with ac3 audio. It was able to change the container to mp4 keeping the video quality the same and reencoding the ac3 to aac and remuxing all in less than 5 minutes.
What settings are you using? I am trying it now and it has been running for 40 minutes. Forgive my ignorance with this video stuff. It seems to be taking just as long as using DVD Catalyst or Handbrake.
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
What settings are you using? I am trying it now and it has been running for 40 minutes. Forgive my ignorance with this video stuff. It seems to be taking just as long as using DVD Catalyst or Handbrake.
Somethings definitely wrong there. Try re-installing - downloading required libraries Nero- visual basic runtimes etc - also watch all the messages it displays as the MKV is being processed and observe what step it gets stuck on - that should give you a clue as to which tool or library is missing. Of course, its also possible you fed it a video it can't handle, for example I wonder whether it can process a file with DTS audio - something like that might make it hang or give an error message.
 
Last edited:

keitht

Senior Member
Dec 21, 2005
1,937
315
0
Delray Beach, FL
Somethings definitely wrong there. Try re-installing - downloading required libraries Nero- visual basic runtimes etc - also watch all the messages it displays as the MKV is being processed and observe what step it gets stuck on - that should give you a clue as to which tool or library is missing. Of course, its also possible you fed it a video it can't handle, for example I wonder whether it can process a file with DTS audio - something like that might make it hang or give an error message.
I tried a different video file and it worked much faster, 17 minutes. The one that took a long time did say "Detected video or audio codec: A_DTS". Not seeing any error though. If most are around 17 minutes, that is good enough for me.
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
I tried a different video file and it worked much faster, 17 minutes. The one that took a long time did say "Detected video or audio codec: A_DTS". Not seeing any error though. If most are around 17 minutes, that is good enough for me.
That seems about right - a 40 minute 720p MKV takes about 5 or 6 minutes on my computer.

A two hour 720p video takes about 15 minutes. It still takes time to re-encode that much audio, but still far less than something like DVD catalyst or Handbrake. And on a faster computer, I would imagine it would take hardly any time at all.

I assume from your results that the DTS file worked eventually, just took a long time. I was able to convert a two hour DTS file using the manual tools I listed above in conjunction with OjoSoft Audio converter and it took more than 20 minutes, so I gues DTS takes a bit longer than AC3.
 
Last edited:

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
Dvdcatalyst 4 seems to be working the best for me. Only 9 buks right now.

Sent from my Xoom using XDA Premium App
DVDcatalyst is an excellent program. And until now, was one of the best solutions for converting MKV videos for the XOOM. Only problem is, with DVDcatalyst and Handbrake and similar programs you are re-encoding your entire video - and in the case of DVDcatalyst, to a lower profile, with a potentional loss of quality. Using DVDcatalyst, I have noticed macroblocking and distortion on its fast, and HQ1 settings. And its HQ2 setting takes a very long time.

By re-encoding only the audio, with something like XenonMKV you are leaving the video un-touched with zero loss or change in quality.

Put more simply, DVDcatalyst and Handbrake are doing a tremendous ammount of unnecessary work to convert a video. Work which is no longer necessary under HC 3.1, because it is capable of handling many high profile 720p h264 files now natively, without conversion.
 
Last edited:
Apr 28, 2011
22
1
0
After viewing this posts, i think this is a good idea. but i still don't know how to operate. i usually use Fox Real Xoom video converter to convert mkv to mp4 for playing. i know it is sample, but i don't know if the way Digital Man provides is also simple?
 
Last edited:

alias_neo

Senior Member
Jun 9, 2006
2,080
204
0
London
Unless there is a freeware one click solution for this, there is no point for me, I can handbrake Tron bluray in under 20 minutes. Ripping from the disc takes about 10 more.

Sent from my HTC Desire using Tapatalk
 

thor17

Senior Member
Jan 30, 2006
93
6
0
Unless there is a freeware one click solution for this, there is no point for me, I can handbrake Tron bluray in under 20 minutes. Ripping from the disc takes about 10 more.

Sent from my HTC Desire using Tapatalk
Xenonmkv is a freeware one click solution.
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
Xenonmkv is a freeware one click solution.
Ummm what he said.

I think thats the whole point. We now have a one click solution that doesn't require re-encoding. (have to read the whole thread people - its really not that long!) I am not using my original steps anymore either. I am using the batch/folder convert in XenonMKV.

I think I will edit the first post in this thread and add XenonMKV as a better solution. Special thanks to parrotheadmjb for sugesting a one click solution in XenonMKV!
 
Last edited:

DroidHam

Senior Member
Aug 8, 2010
2,285
154
0
Akron, OH
Good work, i kinda gave up on movies on my xoom as dvdcat took so long. Does this support 1080p rips? Is the file size cut down alot?

Sent from my ADR6400L using XDA Premium App