omapfbplay performance

I have built the Angstrom x11-image, and installed omapfbplay, which
is working after a fashion, but decodes much more slowly than what I
expected.

Here's some basic information:

Linux version: 2.6.29-omap1

command line:

console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext3
omapfb.mode=dvi:1280x720@60 video=omapfb:vram:2M,vram:4M

I have a couple of SD mp4 clips that play at an average of ~25 fps.
The Big Buck Bunny 720p clip plays at anywhere from 12 fps to 20fps.
I have a couple of other 720p clips that start running at ~20 fps, but
quickly slow to about 4 fps before hanging with a message that no
buffer is available.

The image quality is very good, until just before the decoding stops.

Can someone point me in the right direction?

Thanks,
Jim

Hi,

Can u share me how u built omapfbplay. for me, its crashing after playing first frame.

Thanks and Regards,
HarishKumar.V

I didn't build omapfbplay, I installed it using opkg. Perhaps that's
relevant to my problem.

No, it's not relevant to your problem. DRAM timings probably are relevant to your problem.

Updating U-boot.bin seems to have made a significant difference in the
clock settings. With my original version, cat /proc/cpuinfo showed,
as I recall, ~48x.x BogoMIPS. With the latest build it's 570.33
BogoMIPS. The omapfbplay performance is better, but it still gets
bogged down on the 720p samples.

Which version did you upgrade uboot to?

It's now showing 2009.06-rc2. I don't remember what I had loaded
before.

Currently omapfbplay can play SD quality films (720x576 7000 kpps
MPEG2), with the neon optimized ffmpeg.
Depending on its version there are options with omapfbplay that allow
you to specify buffer list size (where decoded frames are put until
they are displayed), you may try to extend it to see if you have
better results.

Sit the omapfbplay source code : http://git.mansr.com/

And tell us about your result :wink: