Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: hankgong on May 29, 2014, 12:40:00 AM

Title: Use mplayer to play video in the new SD image with hardware accelerated drive
Post by: hankgong on May 29, 2014, 12:40:00 AM
I flashed the new image onto a SD card, which claimed to be able to decode video with hardware acceleration.

If I click the video under the Xwindow desktop, I can see that the cpu usage if very low when playing video (around 10%). However, if I try to play video in console, whatever command I have tried, it either won't work or still be not hardware accelerated.

Have anybody succeeded with this? Thanks...
Title: Re: Use mplayer to play video in the new SD image with hardware accelerated drive
Post by: MBR on May 29, 2014, 05:53:46 PM
Most types of video acceleration works in X Windows only, the console is (for most programs) seen just as a dumb framebuffer. The only program, AFAIK, which does some kind of video acceleration without X Windows, is MPlayer's cvidix output, but it's PC-specific thing, it needs root privileges and does roughly the same things as XVideo.
Title: Re: Use mplayer to play video in the new SD image with hardware accelerated drive
Post by: progmetalbg on May 29, 2014, 08:51:29 PM
http://linux-sunxi.org/Cedrus (http://linux-sunxi.org/Cedrus)