![]() |
Fast XV video output in MPlayer
Many of you probably know that mplayer uses '-vo omapfb' video output code with direct framebuffer access in order to improve performance. But XV can be almost as fast with the help of some configuration magic :)
Using '-vo xv:ck-method=auto -dr -nomenu' options provides the fastest video output using XV. Because Canola and other GUI frontends use MPayer with XV video output in order to embed it into a window, getting the fastest XV performance is quite important. But everything comes with a price. The use of '-dr -nomenu' options disables OSD menu in MPlayer and also subtitles are buggy in version 1.0rc1. On the other hand, interoperability with X server is much better and visual glitches on switching from/to mplayer window are gone. The following test script can be used for benchmarking: Code:
#!/bin/sh Code:
$ sh bench.sh testvideo.avi |
Re: Fast XV video output in MPlayer
Thanks for sharing this information with us. :)
Since which version does mplayer support these settings? |
Re: Fast XV video output in MPlayer
Quote:
The point is that XV got ARMv6 optimizations for the color format conversion (https://bugs.maemo.org/show_bug.cgi?id=1278), but also now supports colorkey with the latest diablo update. And XV is fast not in all cases on N8x0 devices. There are quite a number of cases when it can fallback to a slow implementation. For the example of unfavourable placement one can see https://bugs.maemo.org/show_bug.cgi?id=1281 Using a colorkey (and mplayer tries to mess with colorkey by default) also slows everything down. Having something displayed over the video overlay (poweroff menu or audio volume settings dialog, or whatever) also hurts performance. |
Re: Fast XV video output in MPlayer
With Canola, you can specify the ck-method by editing $HOME/.atabake/config and changing the video output on the Mplayer section from xv to xv:ck-method=auto.
I'm going to try out the -dr option as well, and possibly include an option on atabake's config to allow the user to give specific commands for mplayer. Thanks alot for the tip :) |
All times are GMT. The time now is 21:32. |
vBulletin® Version 3.8.8