[LINUX/MAC/WINDOWS] MPlayer porting to XBMC for Linux/Mac/Windows?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rrambo Offline
Senior Member
Posts: 138
Joined: Jul 2007
Reputation: 0
Question  [LINUX/MAC/WINDOWS] MPlayer porting to XBMC for Linux/Mac/Windows? Post: #1
The wiki states that mplayer porting is medium priority... Correct me if I'm wrong, but I feel like video playback is the most used aspect of xbmc for most users... mplayer video playback is MUCH better than dvdplayer so I'm wondering if any progress has been made with mplayer?

With close to 500 movies on my smb server, I can throw any of them at mplayer on my current hardware and they all play without a hitch.... but using the same hardware and xbmc I would say only about 3/4 of them play without any problems and cpu usage is always higher with xbmc/linux..

I swear I'm not complaining and I know that it's still very early.. I'm just asking and wondering if the mplayer porting has made any progress...
find quote
runstop Offline
Junior Member
Posts: 5
Joined: Oct 2007
Reputation: 0
Post: #2
I totally agree with rrambo. I'd like to see mplayer integration as a high priority.. or at least a workaround to be able to play videos through the mplayer executable. mplayer always plays my videos perfectly (and with much less CPU).

I'm not complaining either.. just so excited to be able to be able to use xbmc full time on my shuttle box!

cheers,
runstop
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,180
Joined: Nov 2003
Reputation: 82
Post: #3
porting mplayer is low priority because mplayer cannot be used in a proper way on linux due to ld limitations / mplayer requiring all 8 registers - no -fPIC support

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
rrambo Offline
Senior Member
Posts: 138
Joined: Jul 2007
Reputation: 0
Post: #4
Spiff, do you mind explaining further? I guess I don't understand something fully.. Sincy mythtv and geexbox on linux uses mplayer due to it's superior video playback I'm not understanding the limitations of linux mplayer with regards to xbmc...

Thanks...
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,180
Joined: Nov 2003
Reputation: 82
Post: #5
those use mplayer in slave mode, i.e. they send a window id to mplayer and mplayer handles everything.

that's not xbmc works, nor how we want it to work. we want complete control over our players, cause without it the ui integration would be sucky, and we are left at the mercy of external code not arsing up.

this means that we want to load the player as a .so (a dynamic library). linux handles relocations (i.e. where our base in memory is) by having the base memory adress stored in a register (-fPIC). mplayer has tons of assembly code which uses all registers, hence it cannot be compiled with -fPIC

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2007-10-24 15:34 by spiff.)
find quote
rrambo Offline
Senior Member
Posts: 138
Joined: Jul 2007
Reputation: 0
Post: #6
Now I understand... I see what you're saying and I appreciate the explanation.... I wasn't thinking about how the other programs just call up mplayer and use its controls... integrating mplayer, but not really.... it just appears so...

Thanks again...
find quote
stickman Offline
Junior Member
Posts: 34
Joined: Mar 2004
Reputation: 0
Post: #7
First of all, I'm not a developer, so maybe I'm wrong, but... couldn't libvlc do the job?
find quote
ashlar Offline
Donor
Posts: 2,048
Joined: Mar 2006
Reputation: 26
Post: #8
spiff Wrote:porting mplayer is low priority because mplayer cannot be used in a proper way on linux due to ld limitations / mplayer requiring all 8 registers - no -fPIC support
I don't understand where this is leading to. Does it mean that XBMC Linux will only use DVDplayer to play all videos? Or that, when ported, your version of mplayer will behave the way you want it?
find quote
pike Offline
Project Manager
Posts: 4,820
Joined: Sep 2003
Reputation: 28
Location: Sweden
Post: #9
It means we won't put much effort into trying to make mplayer into what we want (for above listed reasons), instead we will extend and improve our "dvdplayer core".

Despite what some people believe, it's still Early Days with the linux port and development is quite slow because it seems like new developers are "shy" (was the kindest word I could think of) to join the effort.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
ashlar Offline
Donor
Posts: 2,048
Joined: Mar 2006
Reputation: 26
Post: #10
pike Wrote:It means we won't put much effort into trying to make mplayer into what we want (for above listed reasons), instead we will extend and improve our "dvdplayer core".
Ok, I understand. Thanks for clarifying.
Quote:Despite what some people believe, it's still Early Days with the linux port and development is quite slow because it seems like new developers are "shy" (was the kindest word I could think of) to join the effort.
This really saddens me Frown. Unfortunately i don't know any good coder and I'm definitely not one myself.
find quote
Post Reply