2009-12-02, 03:00
Hi ho.
First off, thanks to davilla for all his hard work and responding to issues here in the forum. Overall, I'm overjoyed with how XBMC works on my old PPC mac mini (1.42 GHz).
However any h.264 video is.. borderline. Regular mpeg-4 (ffmpeg/DivX/Xvid) works fairly well, but anything with h.264 throws the CPU usage upwards of 95% CPU usage. The seems to result in low framerates (16-24fps on an NTSC film video), jerky framerates, etc, etc..
I've poked and prodded a bit, and here are the things that I've noticed:
The Mini only supports OpenGL 1.3 with the ARB extensions. Not sure if this is a factor.
Browsing through the menus, CPU usage is around 60-70%, at about 65fps, which seems a bit excessive.
When pausing an h.264 video, system CPU usage remains above 95%, which also seems odd.
While playing: dcpu=1%, acpu=4%, vcpu=~40%, CPU=95%
I can put up my debug xbmc.log file if necessary, but I don't see anything TOO interesting in there, beyond all the swscaler complaints about nonaccellerated colorspaces.
The other main players on the system (VLC, mplayer, and Quicktime) play at the same resolutions and fullscreen, at about 65-80% cpu, still a bit tight, but with enough headroom to avoid dropped frames.
So I guess I have two questions. The the rest of XBMC add much cpu overhead to the dvdplayer app while it is active, and could it be dragging it down a bit? And second, is there any optimizations in the ffmpeg compilation options in XBMC that could help this out? I've downloaded the recent trunk, but haven't attempted to compile it yet to poke at it harder. I thought it might be easier to ask first.
thanks,
jf
First off, thanks to davilla for all his hard work and responding to issues here in the forum. Overall, I'm overjoyed with how XBMC works on my old PPC mac mini (1.42 GHz).
However any h.264 video is.. borderline. Regular mpeg-4 (ffmpeg/DivX/Xvid) works fairly well, but anything with h.264 throws the CPU usage upwards of 95% CPU usage. The seems to result in low framerates (16-24fps on an NTSC film video), jerky framerates, etc, etc..
I've poked and prodded a bit, and here are the things that I've noticed:
The Mini only supports OpenGL 1.3 with the ARB extensions. Not sure if this is a factor.
Browsing through the menus, CPU usage is around 60-70%, at about 65fps, which seems a bit excessive.
When pausing an h.264 video, system CPU usage remains above 95%, which also seems odd.
While playing: dcpu=1%, acpu=4%, vcpu=~40%, CPU=95%
I can put up my debug xbmc.log file if necessary, but I don't see anything TOO interesting in there, beyond all the swscaler complaints about nonaccellerated colorspaces.
The other main players on the system (VLC, mplayer, and Quicktime) play at the same resolutions and fullscreen, at about 65-80% cpu, still a bit tight, but with enough headroom to avoid dropped frames.
So I guess I have two questions. The the rest of XBMC add much cpu overhead to the dvdplayer app while it is active, and could it be dragging it down a bit? And second, is there any optimizations in the ffmpeg compilation options in XBMC that could help this out? I've downloaded the recent trunk, but haven't attempted to compile it yet to poke at it harder. I thought it might be easier to ask first.
thanks,
jf