Posts: 420
Joined: May 2004
Reputation:
0
yuvalt
Retired Team-Kodi Member
Posts: 420
My take on this:
1. ffmpeg which is used by dvdplayer is part of mplayer, so in fact one can say that we use portions of mplayer.
2. As spiff noted mplayer is not embeddable. spawning another process and integrating with it might be possible but will require major effort. If someone wants to step and do it -- welcome.
3. Some parts of mplayer, mainly around streaming content, is better than XBMC but we are continuously improving our code and I think most of the functionality is there already.
If there's anything CONCRETE that's missing in dvdplayer/paplayer, I'd love to hear about it.
-Yuval
Posts: 967
Joined: Nov 2006
Reputation:
27
Features aren't an issue; xbmc plays pretty much everything mplayer does. Performance is, though. Mplayer and totem(xine) take up ~12% CPU speed playing a simple 480i xvid, while XBMC consumes 25-50%. Playing a 720p xvid, mplayer uses 15-20% of one CPU at 1.6Ghz. XBMC takes up 40% of one CPU and 60% of the other (still at 1.6Ghz).
I need to get some 1080p for further performance testing, since I can't even generate enough load to get my cpufreq up to the max of 3Ghz, but it's pretty clear that performance is far lower in XBMC. Now I'm not using those CPUs for anything in particular; this is a dedicated XBMC machine. But it does limit the potential users of the software.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
2007-12-26, 02:34
(This post was last modified: 2007-12-26, 02:43 by spiff.)
let me guess
no gl 2.0 -> software csc -> cpu pays.
xine/mplayer runs using xv output - hardware csc -> cpu happier
both mplayer and xine are basically just wrappers for ffmpeg decoding wise.
you shouldn't go around judging things you (obviously) do not understand
Posts: 967
Joined: Nov 2006
Reputation:
27
You are grumpy!
I have a nv 7150 running the binary drivers, it supports opengl 2.1.2. I get rougly 2100fps in glxgears.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
well, then something is wrong with your drivers. / configuration, cause what you say really makes no sense. perhaps there can be slight differences, but they should be SLIGHT (as a reference; dvdplayer is slightly more efficient than mplayer on xbox due to a slightly less stupid architecture) oh, and glxgears performance is of no concern - the screen in fullscreen consist of a whopping two trigons / one quad. shaders are what matters
from what little i can find from google it does seem like the hw should support what's needed (PS3.0)
and as for me being grumpy, thats just the eye of the beholder. as far as i'm concerned i'm just being blunt.
Posts: 967
Joined: Nov 2006
Reputation:
27
Possibly; I'm forced to use the beta 169.x drivers since the released ones don't support the 7150 yet. So you're saying that on most machines XBMC and mplayer/xine have roughly the same performance impact? That's good to know. Hopefully the next driver beta will fix whatever's broken.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
Just to throw in a little bit here but vsync on nvidia drivers takes up a lot of cpu does mplayer use hardware vsync ?
Posts: 499
Joined: May 2007
Reputation:
1
d4rk
Team-XBMC Developer
Posts: 499
2007-12-26, 11:22
(This post was last modified: 2007-12-26, 21:40 by d4rk.)
A good way to compare performance is to make mplayer use OpenGL for rendering instead of XV. Run it with '-vo gl'. Also, the 7150 isn't all that powerful even though it's NVidia. Its fillrate is roughly 1/5th of the 7600.
Posts: 14
Joined: Jan 2008
Reputation:
-20
amode
Junior Member
Posts: 14
Hi,
any hint how to check (or set?) the video player/mplayer postprocessing settings? On a very fast linux box, for example, a "pp=ac" or "pp=ha/va/dr" enables maximum deblocking and deringing filters.
How to check/modify what xbmc is using? Is this possible?
Thanks.
PS: I compiled by myself on SUSE 10.3. So, even hacking source is okay.
Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
our linux port doesn't even use Mplayer, so that would indeed be a glorious hack!
Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
on Xbox, we have mplayer, but not on LINUX
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
thats from the xbox version the linux version only uses our inbuilt dvdplayer really we need to remove the playusing options from context menu because it always uses dvdplayer
Posts: 14
Joined: Jan 2008
Reputation:
-20
amode
Junior Member
Posts: 14
Ah, I see. Was not clear from the docs. Thanks for clarification.
But anyways, if you are not using mplayer, what sort for video enhancement/postprocessing (deblocking/deringing?) is used or can be used?
Perhaps point me to some source file and I can have a look by myself.
Thanks.