Handbrake Preset for Xoom - Xoom General

Here's a Handbrake preset for the Xoom. Enjoy.

Works great so far
Thanks for the preset! I've only tried one AVI conversion, but it worked perfect and plays smoothly, with no sound sync problems. It did make the file slightly bigger, but not much.
Thanks for putting this out here!

thanks OP...

didn't want to open yet another thread...
Does anyone here know what causes the lag between audio and video? I ripped Avatar from Bluray using 2kbit video MP4 iso v.2 @1280x800 with 160kbit sound (AVS video converter) . When I play the file on my PC everything is fine but on the Xoom the sound is a few seconds ahead of the picture. Trying to convert using Handbrake and the posted settings. Will post if it works later!
@OP: would you mind providing a list of the settings that the preset uses?
Thanks!
UPDATE: The conversion worked fine! However, I think I have to enable hardware decoding in Rockplayer now. This is all very confusing *sigh*

the xoom and any tegra 2 deive will not play high profile .mp4
if anyone knows a HD format that the xoom will play well please let me know

Anyone tried WebM on the Xoom yet? I doubt there's hardware-acceleration for it, but the CPUs ought to be good enough for any codec without special hardware support.

spitfirerx said:
the xoom and any tegra 2 deive will not play high profile .mp4
if anyone knows a HD format that the xoom will play well please let me know
Click to expand...
Click to collapse
Just use baseline profile h.264 for your HD needs. High profile pretty much just means better compression than baseline.
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/63258/kw/video/p/7901,7906

silly quesiton, but how do you use/install this preset? specifically ubuntu.

To use this file you must import it into handbrake which is available here: http://handbrake.fr/downloads.php

thanks, i figured it out... i imported and didnt realize it until i just tried to convert a video and it worked.
but it does still seem choppy to me after converting.

Thanks very much for this. Will help when I get my Xoom

What resolution should it be set at?

I got this strange error when importing the .plist file:
** (ghb:13592): WARNING **: Plist parse error: Error on line 1 char 1: Document must begin with an element (e.g. <book>)
(ghb:13592): GLib-CRITICAL **: g_markup_parse_context_end_parse: assertion `context->state != STATE_ERROR' failed
Click to expand...
Click to collapse
Any ideas?
--Q
UPDATE: I edited the .plist file and removed these first two lines:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Click to expand...
Click to collapse
Then handbrake was able to recognize it for what it is.

What's a typical file size for the conversion anyhow? I am around 1.8GB average on a DVD extract to use on my NAS DLNA stream right now.

can't wait to test it out!

>What's a typical file size for the conversion
My DVD encodes vary from 600MB to 1GB-ish, normally under the 1GB mark. My settings are full-res anamorphic, high-profile, with stereo MP3/AAC, using one-pass CRF 21. If you use AC3/DTS, it will be larger. If using main profile, size is +5-10%; for baseline, about +30%.
My 720p encodes range 2-3GB using 5.1 AAC. Avatar is a notable standout at 5.6GB, for its 3hrs length and many hi-bitrate scenes.

Thank you!! I was looking for this earlier, but then just stumbled upon it here.

Actually, this preset did not appear to load on the linux Handbrake:
Code:
** (ghb:1859): WARNING **: Plist parse error: Error on line 1 char 1: Document must begin with an element (e.g. <book>)
(ghb:1959): GLib-CRITICAL **: g_markup_parse_context_end_parse: assection `context->state != STATE_ERROR' failed

The OP posted preset isn't proper as it simply uses MPEG-4 (FFmpeg) which creates H.263 videos rather than H.264.
iceytea's link says how to properly make a H.264 Baseline video. The main thing to follow from the link is
Baseline Profile means:
- No CABAC entropy coding.
- No B frames
- No 8x8 transforms (DCT)
- No Weighted Prediction
Click to expand...
Click to collapse
So, on the Video tab choose Video Codec: H.264 (x264).
On the Advanced tab set
Maximum B-Frames: 0
CABAC Entropy Coding: unchecked
8x8 Transform: unchecked
Weighted P-Frames: unchecked

Xoom handbrake preset still not the best?
I used this preset for a 90 minute blu-ray movie and it compressed it to a file size of 1.6 GB, but the picture was grainy and blocky. I've had DVD files encoded with less size but with better picture quality.

Related

Converting DVD's into MP4 (playable on HD2)

Well I searched high and low for programs to do this all in one step but I've only been able to find a way which uses two programs.(free)
First off I use Free DVD Ripper 2.25 which converts the dvd files into a sing .avi file (from my experience which is very little it takes about 2 hours to convert one of these)
http://www.brothersoft.com/free-dvd-ripper-57233.html
I have tested this and it work with windows 7. And it has also the feature to convert to .mp4 but when i choose that setting it still converts to .avi
Settings I used:
Input Settings:
Select Force 24hz under output frame rate (only thing I changed)
Output Settings:
MPEG4
Resolution 800 X 480
Zoom: Full
Resize: Bilinear MMX
Max Frame: 195855
Once I had that file I used Xmedia Recode to convert the .AVI to .MP4 which takes another hour or two. But after all this work I have a complete movie ready to go on my HD2 and its only around the 1GB area.
Xmedia Settings:
Select HTC HD2 under profile and make sure you know where the output file is being put.
I have not found out a way to utilize the whole screen like the transformer movies does.
If anybody knows a better way to do this which is faster please let me know even if it cost a little money for the program. I'd like to give it a shot and see how it turns out.
Thanks
rlacsamana1989 said:
Well I searched high and low for programs to do this all in one step but I've only been able to find a way which uses two programs.(free)
First off I use Free DVD Ripper 2.25 which converts the dvd files into a sing .avi file (from my experience which is very little it takes about 2 hours to convert one of these)
http://www.brothersoft.com/free-dvd-ripper-57233.html
I have tested this and it work with windows 7. And it has also the feature to convert to .mp4 but when i choose that setting it still converts to .avi
Settings I used:
Input Settings:
Select Force 24hz under output frame rate (only thing I changed)
Output Settings:
MPEG4
Resolution 800 X 480
Zoom: Full
Resize: Bilinear MMX
Max Frame: 195855
Once I had that file I used Xmedia Recode to convert the .AVI to .MP4 which takes another hour or two. But after all this work I have a complete movie ready to go on my HD2 and its only around the 1GB area.
Xmedia Settings:
Select HTC HD2 under profile and make sure you know where the output file is being put.
I have not found out a way to utilize the whole screen like the transformer movies does.
If anybody knows a better way to do this which is faster please let me know even if it cost a little money for the program. I'd like to give it a shot and see how it turns out.
Thanks
Click to expand...
Click to collapse
Thanks for posting your experience! Have you checked out the encoding thread that's stickied up at the top of this section? It has several suggestions for different ways to accomplish that:
http://forum.xda-developers.com/showthread.php?t=666971
sirphunkee said:
Thanks for posting your experience! Have you checked out the encoding thread that's stickied up at the top of this section? It has several suggestions for different ways to accomplish that:
http://forum.xda-developers.com/showthread.php?t=666971
Click to expand...
Click to collapse
Thats where I got most of my information on this, although they did not really explain how to convert the DVD over just how to convert a single file over to .MP4 and did not find any information on how to get rid of the black bars
rlacsamana1989 said:
Thats where I got most of my information on this, although they did not really explain how to convert the DVD over just how to convert a single file over to .MP4 and did not find any information on how to get rid of the black bars
Click to expand...
Click to collapse
Gotcha, just wanted to make sure you'd seen it.
As far as the initial steps of getting a DVD ripped to a video file to work with, that's pretty much outside the bounds of what's allowed to be discussed here (due to the legal elements involved)...there's a dozen and one ways to do that available, a quick google search will turn up several apps/utilities for you to try
CloneDVD Mobile from Slysoft can rip straight from a DVD into an MP4, no intermediate AVI step necessary:
http://www.slysoft.com/en/clonedvd-mobile.html
Note that the software will not do copy protected DVDs on its own, but AnyDVD from the same company will remove protection on the fly and let you do commercial DVDs.
I am not an employee of Slysoft, just a very satisfied customer
tried dvdfab yet?
i still prefer using dvdfab tho... faster for me.
the setting that i use:
generic.mp4.h264.acc
800x480
same as source for the bit rate
128kbps for the audio
stereo
100 to 125% for the volume.
2pass process.
the results: AWESOME! check my sig to see them.
thanks for the dvd rippers. will check them out once I get home.
I also recommend DVDFab. Bit pricey on the license fee, but worth it!
danxtian said:
i still prefer using dvdfab tho... faster for me.
the setting that i use:
generic.mp4.h264.acc
800x480
same as source for the bit rate
128kbps for the audio
stereo
100 to 125% for the volume.
2pass process.
the results: AWESOME! check my sig to see them.
Click to expand...
Click to collapse
I'm kind of noob when it comes to things like this. I just got DVDfab 7 on trial. While ripping from dvd i dont see a "same as source" box, so what's the best FPS and biterate to choose? I want it to run smooth and look great, size doesn't really matter.

Video Playback

So has anyone been able to get a re-encoded video to playback on their atrix? I've been trying every setting I know of, but mvideoplayer says that my phone doesn't support any of them. I've been mostly trying variations of weightb=0:bframes=0:cabac=0:weightp=0:8x8dct=0, which should be baseline H264, but my phone refuses to play it. All my files are being reencoded at 720p, which should be supported, in an mkv container, which according to motorola, should be supported.
I'm going to do some tests and get back to you on this.
If you encode in FFmpeg the videos work fine. Even encoding 1080p videos in FFmpeg works perfectly at 100% frame rate and sound in the videoplayer.
Download VitalPlayer and you can play even stuff the Atrix doesn't support. The framerate and video looks great but the sound will stutter occasionally because it's all software-decoding. Video even worked up to 1080p with software decoding...so that's a pretty big testament to the power of Tegra 2.
My ultimate goal is to be able to play MKVs with high profile H264 and an embedded ASS subtitle file so that I can just drag and drop without having to deal with reencoding all my shows.
edgeicator said:
My ultimate goal is to be able to play MKVs with high profile H264 and an embedded ASS subtitle file so that I can just drag and drop without having to deal with reencoding all my shows.
Click to expand...
Click to collapse
Unfortunately, I think you're going to have to wait until the next generation of phones for that. iirc, Tegra 3 supports that, but I (and Wikipedia) might be wrong on that.
Right now, this is what I'm using (using MediaCoder because I'm a slacker and CUDA is fast and good enough for my needs):
x264/Baseline
Bitrate: Average/2048 Kbps
Level: Auto
B-Frames: 4
Dynamic GOP: on
CABAC: on
Deblocking: on
Resize: 800x480
I'd rather not do the resize (my source material in this case is 1280x720), but I haven't gotten video at 720p to keep up with the audio, even after dropping the bitrate to 1024 Kbps, B-frames to 2, and turning off dynamic GOP.
Anybody else have better luck?
Sogarth said:
Unfortunately, I think you're going to have to wait until the next generation of phones for that. iirc, Tegra 3 supports that, but I (and Wikipedia) might be wrong on that.
Right now, this is what I'm using (using MediaCoder because I'm a slacker and CUDA is fast and good enough for my needs):
x264/Baseline
Bitrate: Average/2048 Kbps
Level: Auto
B-Frames: 4
Dynamic GOP: on
CABAC: on
Deblocking: on
Resize: 800x480
I'd rather not do the resize (my source material in this case is 1280x720), but I haven't gotten video at 720p to keep up with the audio, even after dropping the bitrate to 1024 Kbps, B-frames to 2, and turning off dynamic GOP.
Anybody else have better luck?
Click to expand...
Click to collapse
... The problem being that MediaCoder doesn't respect the "average bitrate" option very much, and it'll often generate files that have twice the "average bitrate" specified.
I've now started poking at Badaboom, which is able to generate 960x540 files (at which MediaCoder couldn't generate working files, for whatever reason). And, for that matter, it can generate 1280x720 files that the Atrix can play just fine (hey, closed source is good for something after all!). The settings I'm using at the moment:
Video Encoder:
Profile: Baseline
Key Frame Mode: Auto
Level: Auto
Rate Control Select: VBR
Bitrate is 2460kbit
Picture Settings:
Display Res: 1280x720
Sogarth said:
... The problem being that MediaCoder doesn't respect the "average bitrate" option very much, and it'll often generate files that have twice the "average bitrate" specified.
I've now started poking at Badaboom, which is able to generate 960x540 files (at which MediaCoder couldn't generate working files, for whatever reason). And, for that matter, it can generate 1280x720 files that the Atrix can play just fine (hey, closed source is good for something after all!). The settings I'm using at the moment:
Video Encoder:
Profile: Baseline
Key Frame Mode: Auto
Level: Auto
Rate Control Select: VBR
Bitrate is 2460kbit
Picture Settings:
Display Res: 1280x720
Click to expand...
Click to collapse
Only problems with Badaboom is that it only works with NVidia cards (fine with me...I own the program and use it frequently) and NVidia updates the program about once a year. The support for Badaboom is horrendous.
hotleadsingerguy said:
Only problems with Badaboom is that it only works with NVidia cards (fine with me...I own the program and use it frequently) and NVidia updates the program about once a year. The support for Badaboom is horrendous.
Click to expand...
Click to collapse
True, there are the restrictions on it, but I was really just pointing out that it's possible to get h.264 videos working on it.
And minor quibble: NVIDIA's not responsible for updates to it. Elemental is.
Video convert atrix 720p
Okay I got this to work on my Mac now given This is a mac... I took a 720p wmv hd movie and opened in quicktime x with flip 4 mac plugin installed. and went to save as... 720p movie... once done it did not play and did not show up with hdmi out I then renamed the file to .mp4 and it played fine on the device with video player and thru hdmi. I am currently converting a 1080p .mov the same way but this time from a 1080p to a 1080p then I will rename .mp4 and see will post results soon.
1080p worked exactly the same!
Got my atrix yesterday, and I'm having some media issues too. Gonna spend the entirety of tomorrow tweaking Megui profiles to make this thing play back content.
So far i have found using rockplayer lite:
720x480 anamorphic (848x480) w/ x264 (q19/unrestricted) and dolby plII aac @ q0.5 plays flawlessly
1024x576 (same settings as above) not so much.
Gonna play with the profiles and such to find what works well...
Sogarth said:
... The problem being that MediaCoder doesn't respect the "average bitrate" option very much, and it'll often generate files that have twice the "average bitrate" specified.
I've now started poking at Badaboom, which is able to generate 960x540 files (at which MediaCoder couldn't generate working files, for whatever reason). And, for that matter, it can generate 1280x720 files that the Atrix can play just fine (hey, closed source is good for something after all!). The settings I'm using at the moment:
Video Encoder:
Profile: Baseline
Key Frame Mode: Auto
Level: Auto
Rate Control Select: VBR
Bitrate is 2460kbit
Picture Settings:
Display Res: 1280x720
Click to expand...
Click to collapse
Is this on badaboom?
I chose a mere 1000kbps, with 960x540 (apple TV profile)
and i get an error playing (rock player plays it fine tho)
that was the settings recomended by bababoom site
but i think they screwed up cause apple tv uses main profile
i think tegra 2 is baseline (what i understood from xoom)
and yup just tried with galaxy S preset (baseline), change size to 1280x720
bitrate 3500kbps, sweet sweet 720p on my atrix
1920x1080p
10mbps also worked
tegra is a beast
Test file:
http://hotfile.com/dl/108279465/e51a41a/goal2.mp4.html
Ah. That was my issue. Changed the encoder profile to Baseline and [email protected] works great. Too bad the baseline profile almost doubles the filesizes from the high profile...

Baseline 720p h.264 still not smooth

I know that Tegra 2 cannot handle high profile h.264 video playback, so I re encoded some of my videos using baseline settings and video is still slightly choppy whenever the camera is moving.
Anybody have any idea what the deal is?
The link below is a screenshot of mediainfo with one of the video files in question.
http://imgur.com/cdbYa
You might try dropping your video bit rate down to 2200. Been encoding using HandBrake with that and they've been coming out pretty smooth.
I have been using HandBrake with the bitrate at 4000 and the videos are smooth
I use constant quality.
But that doesn't seem to be the issue, I just encoded a sample at the bitrate you suggested and it still had slight playback problems.
Here are the h.264 encoding settings I'm using in handbrake.
This is what I got in mine
And here are the samples I made. One is at 2200 kbps the other is at a constant quality setting of 20. If someone could try them on their Xooms that would be awesome. Maybe I have a defective device.
Sorry to make you use Rapidshare, I couldn't get the attachment uploader to work. It would just hang after uploading the files.
http://rapidshare.com/files/451985226/Toy_Story_samples.zip
Hmmm. I started off with the iPod Legacy preset, then modified the picture size. Looking at my advanced settings, I see it has "Reference Frames" set to 1, "Partition Type" set to "All", and the "Psychovisual Rate Distortion" all the way to the left.
Not sure what any of that really does, but you might give it a try.
I might try encoding something with a higher bitrate just to see how it turns out.
I'm gonna try it, I'll let you know.
Dr.Preston said:
And here are the samples I made. One is at 2200 kbps the other is at a constant quality setting of 20. If someone could try them on their Xooms that would be awesome. Maybe I have a defective device.
Sorry to make you use Rapidshare, I couldn't get the attachment uploader to work. It would just hang after uploading the files.
http://rapidshare.com/files/451985226/Toy_Story_samples.zip
Click to expand...
Click to collapse
It is slightly choppy in the beginning. Here is the .plist file I'm using. I got it from someone but I don't remember. All the videos that I have encode look great.
Grrr, even using the settings in that plist I'm still getting the slightly choppy playback. It's only noticeable when the camera is moving.
If you still have to convert, why not just convert it to mpeg4 (.mp4) with 3,000 kbits rate? It looks blu-ray quality for me. I used either the program Ultra MKV Converter or Xilisoft Video Converter Ultimate.
I can playback main profile vids just fine.. level 3.1 mp4, aac audio. I can post up a batch file that I made.. it just requires dgnvindex.. I drop a mkv file and it re-encodes in about 14 minutes.. granted, I do have a 3.9 GHz amd hexacore.
The important thing is the cmd line for the 64-bit x264 enc binary I use.. I can post a short test video for those that would like to try it out... robot chicken ep anyone?
If you could post the script as well as an example video that would be fantastic.
I'm beginning to think maybe my Xoom is defective as the settings I'm using should play smooth on just about anything.
Here is a video I encoded this morning: http://www.megaupload.com/?d=MIX4IUTB
I used these settings in handbrake:
--quality 21 --encoder x264 --x264opts no-8x8dct:bframes=0:no-cabac:cqm=flat:weightp=0 --drc 2.0 --markers --format mp4 --maxWidth 1280
media player classic reports this as having a bitrate of 4000. It runs great on my xoom. There is no lag at all or frame drops using the stock movie player.
I have a few videos that have hit 8000kbps, and they run great too. I'm thinking about trying to get it up to 10k to see if the xoom can handle it or not.
I played back your video on my xoom. It looks like it's playing smooth, but there aren't very many pans or high motion camera movements in it, which is where I have been seeing most of the choppiness.
I remoted to my machine at home and got handbrake transcoding another video using your settings. Should be done by the time I get home.
I recently encoded a handfull of movies for my Xoom, one being the new Tron Legacy movie.
I re-encoded a 1080p mkv file
these are the settings I used
Picture Settings:
Anamorphic: strict
Filters:
Decomb - default
Detelecine - default
Target size: 3900 (since the xoom can't handle files larger than 4gb)
Audio tab: remove all but one channel since you don't need multiple streams
Advanced:
Referenced Frames - Default (3)
Maximum B-Frames - 0
CABAC Entropy Coding: unchecked
8x8 transform: unchecked
weighted p-frames: unchecked
option string should be: 8x8dct=0:bframes=0:cabac=0:weightp=0
screenshots are...
http://img.exstatica.net/images/screenutu.png
http://img.exstatica.net/images/screenlsl.png
exported preset
http://www.exstatica.net/HB_Export.plist
If you use the exported hb settings make sure you still modify the picture settings as its not stored in the preset.
So I've been messing with this same issue since launch day and I had a revelation two days ago. I got out my iPad and played the same file but using the iPad preset in Handbrake for the encode, just like I have for the last year. The iPad had the same exact, imperfect, slight hitching in the playback of slow camera pans! I realized that because the picture on the XOOM is bigger, and I'm scrutinizing it like crazy with my face up against the screen, I'm noticing it more than I ever had before.
Conclusion: the iPad has almost the same exact video playback characteristics as the XOOM and it's probably not getting any better. I think a lot of it simply has to do with encoders compression capabilities and deficiencies, but I could be wrong.
Still no better with those exact encoding settings.
My device must be defective.
Shhhhhhhhhhhhhhhh you will awake the trolls
CJNYC said:
So I've been messing with this same issue since launch day and I had a revelation two days ago. I got out my iPad and played the same file but using the iPad preset in Handbrake for the encode, just like I have for the last year. The iPad had the same exact, imperfect, slight hitching in the playback of slow camera pans! I realized that because the picture on the XOOM is bigger, and I'm scrutinizing it like crazy with my face up against the screen, I'm noticing it more than I ever had before.
Conclusion: the iPad has almost the same exact video playback characteristics as the XOOM and it's probably not getting any better. I think a lot of it simply has to do with encoders compression capabilities and deficiencies, but I could be wrong.
Click to expand...
Click to collapse
Handbrake preset export
Here is my current handbrake setup for encoding any HD movies for my Xoom.
I have encoded 10 full length movies and they all play fine... including ones with lots of light changes and fast action scenes. I notice no tearing or glitches.
Attached is the .plist preset. just rename it from xoom.plist.txt to xoom.plist and go to handbrake preset menu and import it.

MKV to Mp4 for XOOM WITHOUT Converting Video

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.
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
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.
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
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)
parrotheadmjb said:
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
Click to expand...
Click to collapse
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!
parrotheadmjb said:
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
Click to expand...
Click to collapse
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.
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.
thor17 said:
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.
Click to expand...
Click to collapse
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.
keitht said:
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.
Click to expand...
Click to collapse
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.
Digital Man said:
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.
Click to expand...
Click to collapse
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.
keitht said:
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.
Click to expand...
Click to collapse
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.
Dvdcatalyst 4 seems to be working the best for me. Only 9 buks right now.
Sent from my Xoom using XDA Premium App
nubsors said:
Dvdcatalyst 4 seems to be working the best for me. Only 9 buks right now.
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
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.
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?
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
oh...your post seems really amazing, but i had took money to buy a xoom video converter. maybe i should watch your post earlier.
alias_neo said:
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
Click to expand...
Click to collapse
Xenonmkv is a freeware one click solution.
thor17 said:
Xenonmkv is a freeware one click solution.
Click to expand...
Click to collapse
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!
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

Video playback (vegacomb)

I'm wanting to put a few videos on for my sons, I cannot get the audio codec right, so far I've tried ac3 and aac in mp4 container with avc video, the video plays back fine but never plays audio. Tried a couple of different players (dice player just force closes) but they part without audio too. Any one know what audio codec the default video player accepts?
I can stream from my pc using plex and it works fine but would rather play from local sd card
Sent from my LG-P920 using XDA App
Have you tried Mobo Player? Works fine for me and i play all types, mkv, avi, mp4
Plus they have lots of codec packages to add if havng any trouble,
Worth a try.
foxguard said:
Have you tried Mobo Player? Works fine for me and i play all types, mkv, avi, mp4
Plus they have lots of codec packages to add if havng any trouble,
Worth a try.
Click to expand...
Click to collapse
Thank you for the suggestion! I have been wondering the same.
I wish there was a simple way to side-load codecs onto Android so the default video player supports more
Sent from my VegaComb using Tapatalk
No probs.
Let me know how you get on.
Try this from modaco.
Afternoon all
As mentioned in a few threads, I've been tinkering with encoding settings in Handbrake in order to get the optimal settings for converting video. After spending a few hours with this last night and this morning - what a fun Friday night, huh? - I think I have nailed it. This profile will allow you to watch files using the native video player - you don't need anything like RockPlayer, or VPlayer. This means that they should be hardware accelerated. You can use something like RockPlayer, but framerates will suffer if you're using HD videos. I tested this using the 1080p MP4 version of Big Buck Bunny as the input file and it works very well - I'm going to give this a shot on some of my other videos today.
I have attached the profile in question.
EDIT: Rename the file to "Vega.plist" before importing (take off the .txt extension) - I've only just realised that modaco will not let me upload PLIST files...
Don't try to double click this, as it might try to open in Quicktime - no idea what it will do on a Mac! To import it open Handbrake, go to "Presets" and click "Import". The profile export feature is experimental, so I'll list the detailed settings that I used in case it does not work.
Firstly though, if you're not sure what you're doing in the "Picture" tab, have a read of this quick primer on Anamorphic video. If you want to scale down a 720p or 1080p video to match the Vega's resolution, set Anamorphic to loose, modulus to 16, and set the video width to 1024. For any videos that are not HD, or if you're not sure, just set this to "Strict": this will make sure that the video always displays in the correct aspect ratio, but you won't be able to scale the video down. Don't mess with the "Cropping" settings unless you know what you're doing.
I'd highly recommend scaling 720p or 1080p HD videos down to match the Vega's resolution - it drastically reduces the output size:
The original version of Big Buck Bunny (1920*1080): 885MB
Strict anamorphic - no scaling (1920*1080): 388MB
Scaled down to 1024*576 with loose anamorphic: 128MB
The Vega will play 720 or 1080 files, but you won't see that extra detail so there's no point in wasting the extra space on your SD card, IMO.
Detailed settings - in case the attachment fails. If anyone finds any optimisations for this, please let me know!
Output Settings:
Container: MP4 File
Large file size: Unchecked
Web optimised: Unchecked
iPod 5G support: Checked
Video Filters Tab:
Detelecine: Default
Decomb: Default
Deinterlace: Off
Denoise: Off
Deblock: Off
Grayscale Encoding: Off (Unchecked)
Video Tab:
Video Codec: H.264 (x264)
Framerate: Same as source
Quality: Constant Quality, set slider to RF:20
Audio Tab:
This is going to vary, depending on the audio tracks in the source video (for example, a DVD may have multiple languages and each of these will be a different audio track) - I have not yet tested multiple audio channels on the Vega, so I highly recommend only adding one audio track to your output file. The following drop-downs must be set:
Audio Codec: AAC (faac)
Mixdown: Stereo (no point having multi-channel audio if you can't play it on the Vega)
Samplerate: Auto
Bitrate: 160
Subtitles:
This will depend entirely on whether you want to include the subtitles from the source video. This can get a bit more complicated, so I'm not going to cover it here; if your source has subtitles as a separate track (i.e., soft subs not hard subs), you may need to take some extra steps - do some research on this over at afterdawn.com or doom9.org.
Chapters:
If your source video has chapters - like a DVD - you can replicate those chapters in the output video; if there are no chapter markers in the source, the checkbox is greyed out.
Advanced:
There's quite a lot in here, so bear with me...
Reference Frames: Default (3)
Maximum B-Frames: Default (3)
CABAC Entropy Encoding: Checked
8x8 Transform: Checked
Weighted P-Frames: Unchecked
Pyramidal B-Frames: Default (Normal)
No DCT-Decimate: Unchecked
Adaptive B-Frames: Optimal
Adaptive Direct Mode: Default (Spatial)
Motion Estimation Method: Default (Hexagon)
Subpixel ME & Mode Decision: Default (7)
Adaptive Quantisation Strength: slider set to middle
Psychovisual Rate Distortion: slider set to middle
Psychovisual Trellis: slider set fully to the left
Partition Type: Default
Trellis: Default
Deblocking: Both drop-downs set to Default (0)
For those that are interested in the more nerdy side, I started off by copying Handbrake's built in "High Profile" x264 settings. I found this page, which mentions that the Xoom only supports the baseline x264 profile, so I turned off the advanced x264 stuff. However I realised that even though the hardware is the same, the Xoom is not the Vega. So started re-enabling the advanced options one by one to see if any caused a problem. The only one I found that caused any issue was weighted P-Frames, which seemed to make videos judder slightly.
Attached File(s)
Vega.plist.txt (3.52K)
Number of downloads: 521
This post has been edited by blcollier: 26 March 2011 - 01:44 PM
Cheers but I shouldn't have to convert for my Optimus 3D as well as the Vega, one video should be able to work on both
kenfisher said:
Afternoon all
As mentioned in a few threads, I've been tinkering with encoding settings in Handbrake in order to get the optimal settings for converting video. After spending a few hours with this last night and this morning - what a fun Friday night, huh? - I think I have nailed it. This profile will allow you to watch files using the native video player - you don't need anything like RockPlayer, or VPlayer. This means that they should be hardware accelerated. You can use something like RockPlayer, but framerates will suffer if you're using HD videos. I tested this using the 1080p MP4 version of Big Buck Bunny as the input file and it works very well - I'm going to give this a shot on some of my other videos today.
I have attached the profile in question.
EDIT: Rename the file to "Vega.plist" before importing (take off the .txt extension) - I've only just realised that modaco will not let me upload PLIST files...
Don't try to double click this, as it might try to open in Quicktime - no idea what it will do on a Mac! To import it open Handbrake, go to "Presets" and click "Import". The profile export feature is experimental, so I'll list the detailed settings that I used in case it does not work.
Firstly though, if you're not sure what you're doing in the "Picture" tab, have a read of this quick primer on Anamorphic video. If you want to scale down a 720p or 1080p video to match the Vega's resolution, set Anamorphic to loose, modulus to 16, and set the video width to 1024. For any videos that are not HD, or if you're not sure, just set this to "Strict": this will make sure that the video always displays in the correct aspect ratio, but you won't be able to scale the video down. Don't mess with the "Cropping" settings unless you know what you're doing.
I'd highly recommend scaling 720p or 1080p HD videos down to match the Vega's resolution - it drastically reduces the output size:
The original version of Big Buck Bunny (1920*1080): 885MB
Strict anamorphic - no scaling (1920*1080): 388MB
Scaled down to 1024*576 with loose anamorphic: 128MB
The Vega will play 720 or 1080 files, but you won't see that extra detail so there's no point in wasting the extra space on your SD card, IMO.
Detailed settings - in case the attachment fails. If anyone finds any optimisations for this, please let me know!
Output Settings:
Container: MP4 File
Large file size: Unchecked
Web optimised: Unchecked
iPod 5G support: Checked
Video Filters Tab:
Detelecine: Default
Decomb: Default
Deinterlace: Off
Denoise: Off
Deblock: Off
Grayscale Encoding: Off (Unchecked)
Video Tab:
Video Codec: H.264 (x264)
Framerate: Same as source
Quality: Constant Quality, set slider to RF:20
Audio Tab:
This is going to vary, depending on the audio tracks in the source video (for example, a DVD may have multiple languages and each of these will be a different audio track) - I have not yet tested multiple audio channels on the Vega, so I highly recommend only adding one audio track to your output file. The following drop-downs must be set:
Audio Codec: AAC (faac)
Mixdown: Stereo (no point having multi-channel audio if you can't play it on the Vega)
Samplerate: Auto
Bitrate: 160
Subtitles:
This will depend entirely on whether you want to include the subtitles from the source video. This can get a bit more complicated, so I'm not going to cover it here; if your source has subtitles as a separate track (i.e., soft subs not hard subs), you may need to take some extra steps - do some research on this over at afterdawn.com or doom9.org.
Chapters:
If your source video has chapters - like a DVD - you can replicate those chapters in the output video; if there are no chapter markers in the source, the checkbox is greyed out.
Advanced:
There's quite a lot in here, so bear with me...
Reference Frames: Default (3)
Maximum B-Frames: Default (3)
CABAC Entropy Encoding: Checked
8x8 Transform: Checked
Weighted P-Frames: Unchecked
Pyramidal B-Frames: Default (Normal)
No DCT-Decimate: Unchecked
Adaptive B-Frames: Optimal
Adaptive Direct Mode: Default (Spatial)
Motion Estimation Method: Default (Hexagon)
Subpixel ME & Mode Decision: Default (7)
Adaptive Quantisation Strength: slider set to middle
Psychovisual Rate Distortion: slider set to middle
Psychovisual Trellis: slider set fully to the left
Partition Type: Default
Trellis: Default
Deblocking: Both drop-downs set to Default (0)
For those that are interested in the more nerdy side, I started off by copying Handbrake's built in "High Profile" x264 settings. I found this page, which mentions that the Xoom only supports the baseline x264 profile, so I turned off the advanced x264 stuff. However I realised that even though the hardware is the same, the Xoom is not the Vega. So started re-enabling the advanced options one by one to see if any caused a problem. The only one I found that caused any issue was weighted P-Frames, which seemed to make videos judder slightly.
Attached File(s)
Vega.plist.txt (3.52K)
Number of downloads: 521
This post has been edited by blcollier: 26 March 2011 - 01:44 PM
Click to expand...
Click to collapse

Categories

Resources