Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compile my own mplayer-bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Sat Apr 22, 2006 10:36 am    Post subject: compile my own mplayer-bin Reply with quote

I want to compile my own mplayer-bin, because the "official" one it's not working for me. I've set up a 32bit chroot in /var/chroot and I'm now downloading xorg. So how do I create my own mplayer-bin so I can use it under the normal 64bit system? Are there going to be any problems if there is xorg 7 (modular) in the chroot and xorg 6.9 in my normal system?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54391
Location: 56N 3W

PostPosted: Sat Apr 22, 2006 11:15 am    Post subject: Reply with quote

jure1873,

mplayer-bin is 32 bit as you say. It will work in your chroot setup, no need to compile it.
You may want to look into extending your 64 bit kernel to support 32 bit binary programs natively.
Its a kernel option in newer kernels.

The advantage of this is that you don't need a 32 bit installation to use mplayer and the win32codecs, it runs on your 64 bit install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Sat Apr 22, 2006 11:42 am    Post subject: Reply with quote

I know that mplayer-bin is 32bit, I've had it working, but now it crashes. The 64bit mplayer (without bin) works fine, it's just that it doesn't play wmv files. So now I'm going to compile mplayer in the 32bit chroot and I want to transfer that to the 64bit, I just don't know how to do it. Maybe I could just run it in the chroot but everytime I need to go to chroot I have to type linux32, env-update && source /etc/profile, only then I can use this chroot and I don't know how to automate this, so I thought that there must be a way to just copy the files here from the chroot and make it use the emul libraries.
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Sat Apr 22, 2006 3:11 pm    Post subject: Reply with quote

I found out on the gentoo wiki that I can do quickpkg mplayer to get a tbz2 file with all the files of mplayer. I then unpackaged that file outside chroot in / to get the 32bit mplayer, but it still crashes :(
Maybe it's something wrong with the libraries mplayer depends on. So here is q. # 2...
How do I emerge a static version of mplayer?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54391
Location: 56N 3W

PostPosted: Sat Apr 22, 2006 4:28 pm    Post subject: Reply with quote

jure1873,

Does your 64 bit kernel support 32 bit binaries ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tabanus
l33t
l33t


Joined: 11 Jun 2004
Posts: 638
Location: UK

PostPosted: Sat Apr 22, 2006 5:45 pm    Post subject: Reply with quote

mplayer-bin 1.0_pre7-r3 plays wmv *perfectly*

EVERY later version doesn't :(

After every emerge -u world I've had to downgrade mplayer-bin to 1.0_pre7-r3

Now after the latest sync, I notice this version has been deleted from portage, so now I'm afraid there's no going back if I emerge the latest (1.0.20060415) version and it doesn't work. (can anyone confirm if it does or not?). Maybe I should do a bug report, but no doubt they'll say install the latest version.

A custom mplayer-bin sounds like a good idea to me. No idea how to do it though.
_________________
Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Sat Apr 22, 2006 6:16 pm    Post subject: Reply with quote

NeddySeagoon: yes I have it.
firefox-bin works, openoffice-bin works, mplayer-bin doesn't

tabanus: I'll try to get it somewhere.
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Sat Apr 22, 2006 6:31 pm    Post subject: Solved! Reply with quote

tabanus: It worked perfectly, as you said! :)
got the ebuild from:
http://ftp.physics.auth.gr/pub/physlab/vserver-portage/media-video/mplayer-bin/files/
put it into the package overlay and emerged it.
Back to top
View user's profile Send private message
tabanus
l33t
l33t


Joined: 11 Jun 2004
Posts: 638
Location: UK

PostPosted: Sat Apr 22, 2006 6:50 pm    Post subject: Re: Solved! Reply with quote

jure1873 wrote:
tabanus: It worked perfectly, as you said! :)
got the ebuild from:
http://ftp.physics.auth.gr/pub/physlab/vserver-portage/media-video/mplayer-bin/files/
put it into the package overlay and emerged it.


Good news! Glad to see it's not just me with this problem. Now to Bugzilla...

EDIT: Oh...I see you (or someone) has done that already.
_________________
Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Sat Apr 22, 2006 6:53 pm    Post subject: Reply with quote

I've already submitted this
https://bugs.gentoo.org/show_bug.cgi?id=130724
Back to top
View user's profile Send private message
tabanus
l33t
l33t


Joined: 11 Jun 2004
Posts: 638
Location: UK

PostPosted: Mon May 01, 2006 10:25 pm    Post subject: Reply with quote

The latest GLSA implies that running mplayer-bin-1.0_pre7-r3 is not safe :(

Does anyone know if there's any progress in resolving the wmv bug in mplayer-bin, or even if it exists in the x86 arch?
_________________
Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Mon May 01, 2006 10:42 pm    Post subject: Reply with quote

If you're on x86 why would you need the mplayer-bin version? you can just use the normal mplayer
Back to top
View user's profile Send private message
tabanus
l33t
l33t


Joined: 11 Jun 2004
Posts: 638
Location: UK

PostPosted: Tue May 02, 2006 8:05 am    Post subject: Reply with quote

I'm not on x86, I'm on AMD64 :)

I was just wondering if the problem we have is with the settings that mplayer-bin was compiled with, or if it's a more generic problem with mplayer itself.
_________________
Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Tue May 02, 2006 9:17 am    Post subject: Reply with quote

I think that if everything was ok with mplayer then they would already have relased a new version and not keep the 1.0pre7 for more than a year.
Maybe I should recompile mplayer in my 32bi chroot with some more debugging code, transfer that to my normal 64bit system and send the output to some mplayer forums where somebody could tell me what exactly is wrong. I just don't know how to do that.
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Fri May 19, 2006 4:43 pm    Post subject: Reply with quote

unemerging freenx solved the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum