[Q] Xoom HD playback capability

mercurycc

Member
Aug 28, 2010
13
1
0
Waterloo, ON
There are a lot of MP4 video clips that I cannot get to play on Xoom smoothly but they play back really well on my HTC Desire.

On Xoom the video is laggy while the audio is audible. This happened to both 720p and 480p videos. I used both the default player and Moboplayer to ensure I am using the hardware acceleration.

Strangely on my Xoom the Moboplayer can soft-decode 480p MP4 with ffmpeg and playback without any problem. 720 is smoother but the decoding was too slow which resulted in A-V async.

Again, all those clips play really well on my HTC Desire. Tegra 2 should be able to handle them.

Anyone knows anything?
 

burden010

Senior Member
Sep 7, 2008
561
35
0
Please search the forum before asking questions. This has been asnswered.

The problem you're having is to do with the clips using high profile encoding.
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
Last edited:

wase4711

Senior Member
May 9, 2010
13,466
6,553
0
Outside of Phoenix, AZ
I dont agree; I have transcoded 2 blue rays, hellboy and start trek 2009 in about an hour each, using my imac and handbreak
Oh, and download Vitalplayer from the market for the best hd video playback..
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
I dont agree; I have transcoded 2 blue rays, hellboy and start trek 2009 in about an hour each, using my imac and handbreak
Oh, and download Vitalplayer from the market for the best hd video playback..
Yeah, well, I don't agree.

I converted 2 720p mkv 90 minute movies and a 40 minute 720p mkv TV show last night and it took 6 hours. This was done on an Intel Core 2 duo P750 2.26GHz

Not everyone has the same hardware. I suppose I could run out and buy an i5 or i7 for the sole purpose of encoding video for the XOOM.

Maybe Motorola can partner with a PC company. How about 20% off a new laptop when you buy a XOOM that way you will be able to take advantage of its HD video capability in 2 hours instead of six.
 
Last edited:

mcnutty

Senior Member
Oct 29, 2006
209
110
0
Yeah, well, I don't agree.

I converted 2 720p mkv 90 minute movies and a 40 minute 720p mkv TV show last night and it took 6 hours. This was done on an Intel Core 2 duo P750 2.26GHz

Not everyone has the same hardware. I suppose I could run out and buy an i5 or i7 for the sole purpose of encoding video for the XOOM.

Maybe Motorola can partner with a PC company. How about 20% off a new laptop when you buy a XOOM that way you will be able to take advantage of its HD video capability in 2 hours instead of six.
It all depends on your settings, and keep in mind that the imac is going to have similar hardware to your machine. The recommendation is to set max width to 1280, set B Frames to 0, turn off CABAC, 8x8 Transform, and Weighted P frames. If you do that, you'll find fairly consistent encoding times even with older hardware. Also, keep in mind that encoding is entirely processor bound and will do better the more cores you can throw at it.
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
It all depends on your settings, and keep in mind that the imac is going to have similar hardware to your machine. The recommendation is to set max width to 1280, set B Frames to 0, turn off CABAC, 8x8 Transform, and Weighted P frames. If you do that, you'll find fairly consistent encoding times even with older hardware. Also, keep in mind that encoding is entirely processor bound and will do better the more cores you can throw at it.
Been there done that. There are no shortcuts. Good quality takes time or more cores. Or harness the GPU ie CUDA but that causes horrendous macroblocking in bright scenes.

No matter how you sugar coat it, re-encoding video is a time consuming pain in the ass for most people.

I also seem to remember there are multiple versions of the imac, with variable hardware specs, from dual core up to quad core 3.6GHz - so your claim of similar hardware seems unlikely.
 
Last edited:

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
>I converted 2 720p mkv 90 minute movies and a 40 minute 720p mkv TV show last night and it took 6 hours.

Suggest using 800 max width for substantially faster encode speed and smaller size. Quality diff is negligible on a 10".

If using 2-pass, switch to 1-pass for both faster encode time AND better quality.

Unfortunately, HB doesn't provide x264's speed presets. You can gain additional speed (at cost of some nominal size increase) with the faster presets. Hmm, I should update my HB script to allow "downloadables" as input.

>The recommendation is to set max width to 1280, set B Frames to 0, turn off CABAC, 8x8 Transform, and Weighted P frames. If you do that, you'll find fairly consistent encoding times even with older hardware.

Encoding to baseline profile (what the above basically means) gains speed by disabling more advanced "compression" features. The trade-off is significant size increase, about +30% vs high profile.

Using a lower res allows more efficient settings. At 800 width, you can use main profile. Speed diff between main & baseline is insignificant. Speed gain for the lower res is substantial.
I appreciate that your trying to help, but those are the settings that I have been using already: 1280, set B Frames to 0, turn off CABAC, turn off 8x8 Transform, and turn off Weighted P frames....

and it is still taking well over 3 hours to re-encode a 1:30 movie.

I understand that lowering the resolution will decrease the encoding time, but I consider that a last resort compromise. In fact I would consider that basically a failure of the XOOM.

I have considered buying an i5 or i7, but I feel stupid buying a new laptop for the sole purpose of encoding for the XOOM, when I could just pick up my Galaxy Tab and just play these videos immediately. No encoding. Just copy them over and play.
 
Last edited:

mercurycc

Member
Aug 28, 2010
13
1
0
Waterloo, ON
I am quite sure those videos are not high profile. Their bitrates were around 2M, way below 20M.

And, as I said, I can even do soft-decode to play the 480ps which does not play well with hard-decoding.

480ps, man. 480ps. Stunning.
 

alias_neo

Senior Member
Jun 9, 2006
2,080
204
0
London
Your sarcasm needs work. It lacks creativity. And removing the original post is just immature.
I don't really care about the encoding stage, I have an i7-950 which encodes a blu-ray in handbreak in well under an hour.

What I'd like to know, is are the codecs really this lacking, and will we see a solution?

I, like the OP have a HTC Desire and I could be devastated to find the XOOM can't handle the videos my Desire can.

Does it natively support mkv? I like to watch TV episodes in mkv like the 86MB Big Bang Theory episodes.

All my non-TV stuff I rip myself so I'm not concerned. Other than the DRM wmv I buy. Which play back fine on my galaxy tab.
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
I don't really care about the encoding stage, I have an i7-950 which encodes a blu-ray in handbreak in well under an hour.

What I'd like to know, is are the codecs really this lacking, and will we see a solution?

I, like the OP have a HTC Desire and I could be devastated to find the XOOM can't handle the videos my Desire can.

Does it natively support mkv? I like to watch TV episodes in mkv like the 86MB Big Bang Theory episodes.

All my non-TV stuff I rip myself so I'm not concerned. Other than the DRM wmv I buy. Which play back fine on my galaxy tab.
Most TV shows that are 720p mkv, and are privately enoded, and downloaded, average about 1.2 GB and will and not play. Support for MKV as a container isn't a problem, its the profile of the h264 video in the container that is the problem.

If the Video that you like to watch is only 86MB, that doesn't sound like high profile 720p. So it might play, only way to know is to try or download mediaInfo and check its properties.

Good to hear that the i7 that you have can do a blu-ray in an hour. That sounds like what I should do eventually. Wonder if an i5 will do as well. I've heard that the i7, though it has 4 physical cores, is seen as 8 due to multithreading, wheras the i5 is limited to 4.

I watched two re-encoded episodes of fringe last night, and the Video on the XOOM is really amazing. It actually is almost worth the wait.
 

alias_neo

Senior Member
Jun 9, 2006
2,080
204
0
London
Most TV shows that are 720p mkv, and are privately enoded, and downloaded, average about 1.2 GB and will and not play. Support for MKV as a container isn't a problem, its the profile of the h264 video in the container that is the problem.

If the Video that you like to watch is only 86MB, that doesn't sound like high profile 720p. So it might play, only way to know is to try or download mediaInfo and check its properties.

Good to hear that the i7 that you have can do a blu-ray in an hour. That sounds like what I should do eventually. Wonder if an i5 will do as well. I've heard that the i7, though it has 4 physical cores, is seen as 8 due to multithreading, wheras the i5 is limited to 4.

I watched two re-encoded episodes of fringe last night, and the Video on the XOOM is really amazing. It actually is almost worth the wait.
That's correct, it's an 8 threaded processor, running on an Asus ROG III Gene.

As for the videos I'm watching:

Video
ID/String : 1
Format : AVC
Format/Info : Advanced Video Codec
Format_Profile : [email protected]
Format_Settings_CABAC/String : Yes
Format_Settings_RefFrames/String : 4 frames
Format_Settings_GOP : M=4, N=48
CodecID : V_MPEG4/ISO/AVC
Duration/String : 20mn 24s
BitRate/String : 465 Kbps
Width/String : 624 pixels
Height/String : 352 pixels
DisplayAspectRatio/String : 16:9
FrameRate/String : 23.976 fps
Standard : NTSC
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 8 bits
ScanType/String : Progressive
Bits-(Pixel*Frame) : 0.088
StreamSize/String : 67.8 MiB (77%)

They're not 720, but they're nice enough on my Galaxy Tab. They are High Profile @ L4.0 though which I'v heard a lot of bad-mouthing about on the forum lately. I'm no expert on media codecs and frankly couldn't care as long as theyre watchable. I'd love to know I could rip my Blu-Rays at 720p and watch them on the XOOM comfortably though.
 
Last edited:

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
What you are posting is interesting. Its high profile, but low bit rate. Some of the early claims for the Tegra 2, which is used in the XOOM, said it actually could play high profile but only at a low bit rate, but I haven't heard it confirmed. I suspect this video will not play, but later on I will try encoding a video in a simliar manner to yours and see what happens.
 

alias_neo

Senior Member
Jun 9, 2006
2,080
204
0
London
What you are posting is interesting. Its high profile, but low bit rate. Some of the early claims for the Tegra 2, which is used in the XOOM, said it actually could play high profile but only at a low bit rate, but I haven't heard it confirmed. I suspect this video will not play, but later on I will try encoding a video in a simliar manner to yours and see what happens.
Great, if you like I can dropbox the file I have and PM you the link for testing. These files playback flawlessly using the Galaxy Tab with every single player software I have tried, whether hardware or software decoding. FOr them not to play on the XOOM would be a killer.
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
Got your file. Sorry, it plays but with no sound. I tried RockPlayer and Moboplayer and the System Player and all play the same - silent.

The Video is actually pretty good. Smooth and very acceptable. So I guess it can technically play high profile, very low bitrate files - just not with sound. Have to Play around some more and see if I can learn anything else that might get this to play correctly or figure out what the problem is.

Edit: Actually, this is a Divx encoded file, not h264, so that is why it plays. So I am a little surprised about the lack of audio. And its only mp3 audio!!! This is really amazing. I can't believe the XOOM isn't playing this correctly. Has to be a way.

Update: Ok, success! It does play correctly in Rockplayer in software decoding mode. With sound. So it looks like you will have no problem.
 
Last edited:

alias_neo

Senior Member
Jun 9, 2006
2,080
204
0
London
Got your file. Sorry, it plays but with no sound. I tried RockPlayer and Moboplayer and the System Player and all play the same - silent.

The Video is actually pretty good. Smooth and very acceptable. So I guess it can technically play high profile, very low bitrate files - just not with sound. Have to Play around some more and see if I can learn anything else that might get this to play correctly or figure out what the problem is.

Edit: Actually, this is a Divx encoded file, not h264, so that is why it plays. So I am a little surprised about the lack of audio. And its only mp3 audio!!! This is really amazing. I can't believe the XOOM isn't playing this correctly. Has to be a way.

Update: Ok, success! It does play correctly in Rockplayer in software decoding mode. With sound. So it looks like you will have no problem.
Interesting, if somewhat concerning that it won't play this in the standard players or with hard-decoding even though it uses mp3 audio.

How about VPlayer Advanced? I find this plays most of my videos nicely on the Tab.
 

Digital Man

Senior Member
Jul 21, 2007
318
63
0
New York
Probably just lack of Divx support in hardware. Thats not a big deal, even a single core CPU of lower power can easily decode low res, low bitrate Divx. I don't consider that a flaw at all. Software decoding video like this with the XOOM's dual core A9's is trivial. Results are fine. Just need an app like RockPlayer that does it. XVID files will probably not work in hardware either.

From Motorolas website:

PLAYABLE FORMATS
AAC, H.263, H.264, MP3, MPEG-4, ACC+ Enhanced, OGG, MIDI, AMR NB, AAC+
 

alias_neo

Senior Member
Jun 9, 2006
2,080
204
0
London
Probably just lack of Divx support in hardware. Thats not a big deal, even a single core CPU of lower power can easily decode low res, low bitrate Divx. I don't consider that a flaw at all. Software decoding video like this with the XOOM's dual core A9's is trivial. Results are fine. Just need an app like RockPlayer that does it. XVID files will probably not work in hardware either.

From Motorolas website:

PLAYABLE FORMATS
AAC, H.263, H.264, MP3, MPEG-4, ACC+ Enhanced, OGG, MIDI, AMR NB, AAC+
Yeh that's pretty fair I guess. How do you think it would manage if converted to MP4? I can do it on my 950 when I get home and send you it if you like? I'd not mind converting the whole lot if it played in the stock player.