sabato 27 agosto 2011

Testing Android video decoding

I have some nice Android gadgets, and I like to read  what happens for them in the community over at XDA forums. A question that pops up relativey often is "what's the best video player?" and usually it ends up in a flurry of replies that might be pretty weird. Sooooo.... I decided to test the ones that got more mentions! Rockplayer, QQ player, Mobo player, MX player and Dice Player. Aside clearly the system player, to have a base line. The test have been ran on two very different devices, a Samsung Galaxy Tab (you know, the original 7" one) running Gingerbread, and an Asus eee pad Transformer running Honeycomb (3.2). The files were varied but meaningful, two simple mp4 at 720p (h264, aac) in the form of videogame trailers downloaded from the PSN, an anime episode 480p in mkv and subtitles (again h264, aac and ssa subs), another anime in mkv with subtitles but this time in 720p (still h264, aac and ssa) and finally the opening for another anime.... in 1080p. This last one had karaoke subtitles and AC3 audio, a real nasty mkv.


Rock Player and QQ player failed HARD. Stuttering, jumping audio and/or loss of audio, video decoding artifacts, loss of sync... a real disaster. Rock Player had some performance issues on the most lightweight trailer, while on the other hand QQ Player decoded subtitles, but with timing and color information shown on screen as text. Ouch.

Mobo Player turned out to be fairly ok, with generic performance issues but nothing too tragic.

MX Player and Dice Player actually won. Who loses is the user, sadly.... see, Dice Player is very fast and it looked like the developer knows what he's doing, since it decodes via hardware everyhing supported by the hardware, and via software whatever's not supported. But no subtitles! On the other hand MX Player didn't perform as well, but it did show subtitles while still outperforming the "other" players. So I say get both of them, and hope that nothing with subtitles requires too much power.

Ah, but I mentioned two devices, I'm sure this leaves an open question, dosen't it? What device worked better, the Transformer with that dual core Tegra 2, or the Galaxy Tab with only one core?


Start the drumroll.... the Galaxy Tab, hands down. Yes, I'm not kidding.
I knew before the purchase that the Transformer would've been bogged down by the Tegra 2, once I decided to try video decoding, but still to see this kind of differences is almost funny! What takes a Tegra 2 to stutter? Roughly all the test files. The only ones that worked properly were the 480p mkv (in some players) and the most lightweight mp4. However! Overclocking to 1.6ghz (160% of the stock frequency, not a joke) made the files playable on some players, with different levels of success. Not the 1080p one, that still worked bad after the massive overclock.

The best part? I recorded every test, and put toghether the most meaningful ones!
Enjoy:
In order the video shows:
1 ) Asus Transformer, clock @ 1ghz, Tegra 2, BAC_E3_Catwoman_Trailer_PEGI_720p (720p, mp4, h264, aac), Dice Player

2 ) Samsung Galaxy Tab, clock @ 1ghz, SGX 540, BAC_E3_Catwoman_Trailer_PEGI_720p (720p, mp4, h264, aac), Dice Player

3 ) Asus Transformer, overclock @ 1.6ghz, Tegra 2, BAC_E3_Catwoman_Trailer_PEGI_720p (720p, mp4, h264, aac), Dice Player

4 ) Asus Transformer, clock @ 1ghz, Tegra 2, BAC_E3_Catwoman_Trailer_PEGI_720p (720p, mp4, h264, aac), MX VideoPlayer

5 ) Asus Transformer, overclock @ 1.6ghz, Tegra 2, BAC_E3_Catwoman_Trailer_PEGI_720p (720p, mp4, h264, aac), MX VideoPlayer

6 ) Asus Transformer, clock @ 1ghz, Tegra 2, [Kira-Fansub]_MM!_01_(BD_1280x720_h264_AAC)_[022457D1] (720p, mkv, h264, aac, ssa subtitles), Dice Player

7 ) Samsung Galaxy Tab, clock @ 1ghz, SGX 540, [Kira-Fansub]_MM!_01_(BD_1280x720_h264_AAC)_[022457D1] (720p, mkv, h264, aac, ssa subtitles), Dice Player

8 ) Asus Transformer, overclock @ 1.6ghz, Tegra 2, [Kira-Fansub]_MM!_01_(BD_1280x720_h264_AAC)_[022457D1] (720p, mkv, h264, aac, ssa subtitles), Dice Player

7 ) Asus Transformer, clock @ 1ghz, Tegra 2, [Kira-Fansub]_MM!_01_(BD_1280x720_h264_AAC)_[022457D1] (720p, mkv, h264, aac, ssa subtitles), MX VideoPlayer

8 ) Asus Transformer, overclock @ 1.6ghz, Tegra 2, [Kira-Fansub]_MM!_01_(BD_1280x720_h264_AAC)_[022457D1] (720p, mkv, h264, aac, ssa subtitles), MX VideoPlayer

9 ) Asus Transformer, clock @ 1ghz, Tegra 2, K-ON!_OP1_[1080p,BluRay,x264]_-_THORA v2 (1080p, mkv, h264, AC3, ssa subtitles), Dice Player

10 ) Samsung Galaxy Tab, clock @ 1ghz, SGX 540, K-ON!_OP1_[1080p,BluRay,x264]_-_THORA v2 (1080p, mkv, h264, AC3, ssa subtitles), Dice Player

11 ) Asus Transformer, clock @ 1ghz, Tegra 2, K-ON!_OP1_[1080p,BluRay,x264]_-_THORA v2 (1080p, mkv, h264, AC3, ssa subtitles), MX VideoPlayer



Yup, Dice Player had no issues with audio or video on the Galaxy Tab even face against the 1080p file.


UPDATE: it actually turns out that Dice Player does support subtitles, and shows them without any visible performance hit. Thing is, the subtitles are shown only if the file is started from inside the Dice Player interface, and that's why it looked like it didn't support them in my test.

lunedì 8 agosto 2011

First post, and it has even some content!

First of all, welcome! I'm just your average guy that loves technology and everything revolving around them... I'm very partial towards Apple products, but I also know my way around Windows, Linux and Android. As of now I'm writing this post comfortably with an Asus Eee pad Transformer and the dock (read: a netbook that turns into a tablet, all powered by Android Honeycomb) and.... wait, I did mention something about this post having content. Let's get to that, then.
You need to know that my main computer is a mid 2008 MacBook, sporting 4gb of DDR2, a Core Duo 2 clocked at 2.4ghz and an Intel GMA X3100 for the video. Ugh. It's not bad, but it does limit a lot my gaming, so after I lost the audio (due to system stress) and watched the slideshow that was Portal's ending, I decided that this wasn't right, I needed a gaming machine. I'm not picky when it comes to Mac models, anyone would be good ideally... but there are space issues, the monitor has to be a tv to allow this and previous gen console gaming and so I'm basically stuck with MacBook (Pro/Air) and Mac Minis. Small Mac Books, to be more precise. And that's bad for gaming, so I needed to take the Windows way! Not exactly my first choice, but the plan was (and still is) to get something cheap and very aimed to my needs, and then when I'll had to buy a new Mac get one with a decent video chip. Right now I'd get the Mac Mini with AMD graphics, but I digress. Anyway I did some research, and figured out my best performance/price set up to play Source games and Minecraft. Aiming for 300€ or less, I got nice results thanks to my ability to assemble a computer, eBay and a local electronic fair.
eBay gave me the bulk of it, a semi-assembled computer with CPU, RAM, Motherboard, case and power unit. A nice AMD Athlon II X2 245 @ 2.9ghz, 2gb of DDR2, an ugly tinfoil (or so it feels) case and a generic 400watt power unit, all kept togheter by an ASRock motherboard. Yes, ASRock. N68-S UCC. Can have up to 8gb of RAM, there is some old integrated Nvidia (something like a GeForce 7025), integrated audio and ethernet, SATA, PCI Express and all that stuff. But like this it wouldn't have been that helpful, right? Right, that's where the electronic fair comes in: I managed to find a GeForce GT 240 for 60€ it's nothing awesome, but actually better than what I was shopping for, a GT 220. It also has 1gb of ram, what more could I hope for? After getting a 500gb Western Digital hard drive, grabbing an old DVD writer and a Windows XP disc that was getting dust at home, the build was complete, an I didn't spend too much. Does it deliver? Ohhh, it does, trust me. Anything  running with the Source Engine can be 1920x1080 with full detail or almost, stuff like AntiAliasng and number of portals still need to be kept low but that's all. Boomer 'splodes and the screen gets filled with zombies? Not an issue in both Left4Dead and Left4Dead 2. Bunch of turrets shooting at Chell while they bounce on blue gel? Kid's game. Mass Effect 2 maxed out? There the line gets drawn, in the Normandy 2 i got FPS jumping from 42 to 29, and that's not good, most likely I would get some stuttering while being shot at, not cool. Solution? 1600x900, and details still maxed out :D
Any game that supports Physx must have it disabled, either that or a slideshow.
What's in this computer future? Well, thanks to the motherboard, that while being cheap and limited, it has interessing features like supporting both AM2 and AM3 socket CPU and DDR2 and DDR3, I'll get a nice AMD Sempron X4 and a GeForce GTX 550 Ti, and the other day I got 4gb of DDR3. Once I'll have it, will this setup fly?
Nope, because the motheroard slows down the bus if it's an AM3 CPU and also because the PCI Express slot is only 1x, but all in all I'll get a nice performance boost anyway. Then later on...... I'll get another motherboard :D