omapfbplay doesn't perform as well in h264 as in mpeg4 for 720p video

I have tested big_buck_bunny and some HD DVD movie trailors
I found omapfbplay plays mpeg4 video very well (24fps), but it doesn't
h264 (sometimes as low as 5fps). I think the h264 codec needs some
improvement. Here are test video info.

root@beagleboard:~# omapfbplay-cmem -F /medi/sda1/trailer_720p.mov
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/sda1/
trailer_720p.mov':
  Metadata:
    major_brand : qt
    minor_version : 537199360
    compatible_brands: qt
  Duration: 00:00:33.00, start: 0.000000, bitrate: 4317 kb/s
    Stream #0.0(eng): Video: h264, yuv420p, 1280x720, 3945 kb/s, 600
fps, 25 tbr, 600 tbn, 1200 tc
    Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16, 428 kb/s
Using 45 frame buffers, frame_size=1479936
12 fps, buffer 1
root@beagleboard:~# omapfbplay-cmem -F /media/sda1/
big_buck_bunny_720p_surround.avi
Input #0, avi, from '/media/sda1/big_buck_bunny_720p_surround.avi':
  Duration: 00:09:56.48, start: 0.000000, bitrate: 4456 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
24 tbr, 24 tbn, 24 tbc
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Using 45 frame buffers, frame_size=1479936
23 fps buffer 42

Kai <kaijun61@yahoo.com> writes:

I have tested big_buck_bunny and some HD DVD movie trailors
I found omapfbplay plays mpeg4 video very well (24fps), but it doesn't
h264 (sometimes as low as 5fps). I think the h264 codec needs some
improvement. Here are test video info.

H.264 is a vastly more complex codec than MPEG4. No amount of tuning
can change that.

I have looked at Ittiam and saskens' codecs' description. Their h264
codecs are able to decode High profile h264 upto 30 fps. Ittiam claims
they take full use of processing resources of OMAP3 including NEON and
Cortex A8, i.e. they use multicore implementation
http://www.ittiam.com/pages/products/video-arm-cortex.htm. Maybe
omapfbplay just uses TI's DVSDK, TI codecs are not optimized
fully. If I am wrong, please correct it.

Kai <kaijun61@yahoo.com> writes:

Hi,

where to get omapfbplay-cmem source and binary…

2010/3/10 Måns Rullgård <mans@mansr.com>