View previous topic :: View next topic |
Author |
Message |
Kuhrscher Guru
Joined: 29 Dec 2003 Posts: 498 Location: Hamburg, Germany
|
Posted: Tue Dec 14, 2004 3:55 pm Post subject: |
|
|
Thanks Primer! Great work!
Is it possible to add this ebuild to portage? I think it's a quite important one for amd64. |
|
Back to top |
|
|
rawoul n00b
Joined: 27 Dec 2003 Posts: 65
|
Posted: Thu Jan 06, 2005 7:03 pm Post subject: |
|
|
Primer, could you update mplayer32-bin to the last version (pre6) ? That would be nice ! |
|
Back to top |
|
|
Primer n00b
Joined: 03 Dec 2004 Posts: 54 Location: Torrance, CA, USA
|
Posted: Thu Jan 06, 2005 7:13 pm Post subject: |
|
|
I'll try to do that tonight. I'm just finishing off an emerge -uDva world in my 32 bit chroot (over 400 packages). Once that's done, I'll put together a newer package.
Daniel _________________ This is necessary...life, feeds on life... |
|
Back to top |
|
|
Brain Fury Guru
Joined: 10 Jul 2003 Posts: 357 Location: Düsseldorf (Germany)
|
Posted: Sat Jan 08, 2005 2:10 pm Post subject: |
|
|
Primer, why does mplayer32-bin want to emerge nvidia-kernel and -glx packages on my system with an ati card? _________________ shift HAPPENS |
|
Back to top |
|
|
Primer n00b
Joined: 03 Dec 2004 Posts: 54 Location: Torrance, CA, USA
|
Posted: Sat Jan 08, 2005 6:54 pm Post subject: |
|
|
from http://sh.nu/download/ebuilds/mplayer:
Quote: | Issues:
...
Mplayer was compiled with GL support, which presumes nvidia. It will install
32 bit nvidia GL libraries for now.
...
|
I'm trying to resolve some issues with my 32 bit chroot, so no new mplayer32 ebuild yet.
Daniel _________________ This is necessary...life, feeds on life... |
|
Back to top |
|
|
Mekoryuk Apprentice
Joined: 17 Sep 2003 Posts: 174
|
Posted: Sun Jan 09, 2005 6:46 am Post subject: |
|
|
Installation went fine, but upon running it:
Code: | mplayer32: symbol lookup error: /usr/lib32/libtheora.so.0: undefined symbol: oggpackB_readinit |
Any ideas? |
|
Back to top |
|
|
Primer n00b
Joined: 03 Dec 2004 Posts: 54 Location: Torrance, CA, USA
|
Posted: Mon Jan 10, 2005 6:30 pm Post subject: |
|
|
Mekoryuk wrote: | Installation went fine, but upon running it:
Code: | mplayer32: symbol lookup error: /usr/lib32/libtheora.so.0: undefined symbol: oggpackB_readinit |
Any ideas? |
I've never encountered that issue. Are you playing a specific media type or does that happen with any media?
I had already uploaded a newer version based on mplayer-1.0_pre6 to my site when I originally read this post. Are you using that version? If so, perhaps try the older version:
emerge -vKa =mplayer32-bin-1.0_pre5
or, if you're using the old one, download the portdir overlay tarball again, extract, and:
emerge -va mplayer32-bin
Let me know what happens.
Daniel _________________ This is necessary...life, feeds on life... |
|
Back to top |
|
|
Zvezda n00b
Joined: 26 Nov 2003 Posts: 28 Location: Tulsa NERV Center
|
Posted: Tue Jan 11, 2005 6:11 pm Post subject: |
|
|
Where is it that you guys get your 32bit codecs? I've just been using the standard 64 bit ones that come with mplayer... _________________ Everything I am about to tell you is wrong... |
|
Back to top |
|
|
gregp01 Tux's lil' helper
Joined: 23 Feb 2004 Posts: 103
|
Posted: Tue Jan 11, 2005 10:58 pm Post subject: -* Keyword Errors, Sound Delay Issues |
|
|
Primer: I got mplayer32 working, but when I was first trying to emerge it, I got a number of keyword-related masking errors that you might want to look into:
Code: | # USE="quicktime real" emerge -va mplayer32-bin
These are the packages that I would merge, in order:
Calculating dependencies
!!! All ebuilds that could satisfy "mplayer32-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-video/mplayer32-bin-1.0_pre5-r4 (masked by: -* keyword)
- media-video/mplayer32-bin-1.0_pre6 (masked by: -* keyword) |
So I added media-video/mplayer32-bin-1.0_pre6 to /etc/portage/package.keywords, then:
Code: | # USE="quicktime real" emerge -va mplayer32-bin
These are the packages that I would merge, in order:
Calculating dependencies -
!!! All ebuilds that could satisfy "app-emulation/emul-linux-x86-mplayerlibs" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/emul-linux-x86-mplayerlibs-1.0 (masked by: -* keyword) |
I did the same (/etc/portage/package.keywords), then:
Code: | # USE="quicktime real" emerge -va mplayer32-bin
These are the packages that I would merge, in order:
Calculating dependencies \
!!! All ebuilds that could satisfy "app-emulation/emul-linux-x86-soundlibs" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/emul-linux-x86-soundlibs-1.0-r1 (masked by: ~amd64 keyword)
- app-emulation/emul-linux-x86-soundlibs-1.0 (masked by: ~amd64 keyword) |
After that message,
Code: | # ACCEPT_KEYWORDS="~amd64" USE="quicktime real" emerge -va mplayer32-bin |
worked fine. It looks like it patched my kernel sources for nvidia GL (I have an ATI card), but that doesn't matter as far as I'm concerned - it works with '-vo xv' just fine and I won't be recompiling the kernel until a new version comes out.
So, mplayer32 works - many thanks for preparing the ebuild and all. I've just tried playing some of the WMV9HD sample videos (I don't have the URL for them anymore, but they were widely publicised about a year ago).
Anyway, the HD movie trailers for "A Foreign Affair" and "Confidence" seem to have serious a/v sync issues, at least on my system. I've tried adjusting the audio delay (+/-), but that doesn't seem to help. I have an AMD64 3200+ with a gig of RAM, so it seems unlikely to be a performance issue. Have other people been seeing this problem? |
|
Back to top |
|
|
Primer n00b
Joined: 03 Dec 2004 Posts: 54 Location: Torrance, CA, USA
|
Posted: Tue Jan 11, 2005 11:41 pm Post subject: Re: -* Keyword Errors, Sound Delay Issues |
|
|
gregp01 wrote: | Calculating dependencies
!!! All ebuilds that could satisfy "mplayer32-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-video/mplayer32-bin-1.0_pre5-r4 (masked by: -* keyword)
- media-video/mplayer32-bin-1.0_pre6 (masked by: -* keyword)[/code]
|
Since these packages are strictly for amd64, plus they are not considered "stable", I made them all -* ~amd64. It seemed only logical. I guess I simply presumed that anyone running amd64 was running ~. Guess that's not necessarily true. I'll document that on my page.
gregp01 wrote: | worked fine. It looks like it patched my kernel sources for nvidia GL (I have an ATI card), but that doesn't matter as far as I'm concerned - it works with '-vo xv' just fine and I won't be recompiling the kernel until a new version comes out.
|
I've just now updated the portdir overlay tarball with a new ebuild for emul-linux-x86-mplayerlibs that should fix the GL dependency problem. Don't worry about the nvidia stuff. It didn't really patch your kernel. It's safe to unmerge both nvidia-glx and nvidia-kernel.
gregp01 wrote: |
Anyway, the HD movie trailers for "A Foreign Affair" and "Confidence" seem to have serious a/v sync issues, at least on my system. I've tried adjusting the audio delay (+/-), but that doesn't seem to help. I have an AMD64 3200+ with a gig of RAM, so it seems unlikely to be a performance issue. Have other people been seeing this problem? |
My experience has been that mplayer doesn't play everything perfectly. There's certainly a possibility that "normal" mplayer might not play the media well either. If you can link to this media, I'd like to test it on my machines, both x86 and amd64.
BTW, to anyone using this ebuild: Please report success as well as failure. I'd like to hear success stories from ATI people after the GL dependency fix.
Daniel _________________ This is necessary...life, feeds on life... |
|
Back to top |
|
|
gregp01 Tux's lil' helper
Joined: 23 Feb 2004 Posts: 103
|
|
Back to top |
|
|
gregp01 Tux's lil' helper
Joined: 23 Feb 2004 Posts: 103
|
Posted: Wed Jan 12, 2005 4:02 am Post subject: Results |
|
|
Well, my machine can't play the 1080p clips at full speed - there's plenty of skips and framedrops. I think the problem is in inefficiencies with the WMV wrappers, though, since my P4 3.0GHz machine plays them with no problem.
The 720p footage works fine with mplayer32, though, and the T2 trailer at least (towards the bottom of the page) seems to be in sync. Maybe it was just a problem with the two older clips... |
|
Back to top |
|
|
Mekoryuk Apprentice
Joined: 17 Sep 2003 Posts: 174
|
Posted: Fri Jan 14, 2005 8:08 am Post subject: |
|
|
Primer wrote: | Let me know what happens.Daniel |
Downgrading doesn't help (I had tried out the pre6 one initially, yes). It doesn't matter which file I choose, or even if I choose a file at all. I can just type in mplayer32 and it will still spit out the same error.
sigh. |
|
Back to top |
|
|
kadaver_ n00b
Joined: 23 Jan 2004 Posts: 32 Location: Lulea, Sweden
|
Posted: Fri Jan 14, 2005 1:44 pm Post subject: |
|
|
Why use mplayer32-bin when mplayer for x86_64 is in portage? |
|
Back to top |
|
|
Mekoryuk Apprentice
Joined: 17 Sep 2003 Posts: 174
|
Posted: Fri Jan 14, 2005 4:54 pm Post subject: |
|
|
kadaver_ wrote: | Why use mplayer32-bin when mplayer for x86_64 is in portage? |
Because without 32-bit codecs (quicktime, real, windows media...), mplayer is pretty much useless? |
|
Back to top |
|
|
Jake Veteran
Joined: 31 Jul 2003 Posts: 1132
|
Posted: Fri Jan 14, 2005 5:24 pm Post subject: |
|
|
Mekoryuk wrote: | kadaver_ wrote: | Why use mplayer32-bin when mplayer for x86_64 is in portage? |
Because without 32-bit codecs (quicktime, real, windows media...), mplayer is pretty much useless? |
Some people have few, if any quicktime, real, and wmv files. |
|
Back to top |
|
|
pontifikas Tux's lil' helper
Joined: 17 Aug 2003 Posts: 138 Location: Greece
|
Posted: Tue Jan 18, 2005 9:24 pm Post subject: |
|
|
Failure
Code: | mplayer32: error while loading shared libraries: libXi.so.6: cannot open shared object file: No such file or directory |
Any Ideas? _________________ Crimes against humanity??Dunno!!Maybe that chimp-face guy over there can help you.
Ehrr...don't push him hard though.He's kinda slow. |
|
Back to top |
|
|
Primer n00b
Joined: 03 Dec 2004 Posts: 54 Location: Torrance, CA, USA
|
Posted: Tue Jan 18, 2005 9:55 pm Post subject: |
|
|
The dependencies for mplayer32 should have caused the app-emulation/emul-linux-x86-xlibs package to be emerged. Ensure that it is in fact emerged, and if it's not, emerge it. That should fix it.
If it is emerged, ensure that the following file exists:
/emul/linux/x86/usr/X11R6/lib/libXi.so.6.0
If it does exist, then run ldconfig and try mplayer32 again. If that doesn't work, then we have a bigger problem, like lack of 32 bit support in your kernel or something.
Let me know what you end up doing, because there may be a dependency issue with emul-linux-x86-mplayerlibs.
Daniel _________________ This is necessary...life, feeds on life... |
|
Back to top |
|
|
pontifikas Tux's lil' helper
Joined: 17 Aug 2003 Posts: 138 Location: Greece
|
Posted: Tue Jan 18, 2005 10:31 pm Post subject: |
|
|
Thanks for the prompt replay.
Well I emerged xlibs right before emerging your binaries.It's on.
Also libXi.so.6.0 exist in my /emul/linux/x86/usr/X11R6/lib
And finally I do have enabled in my kernel IA32 support.
ldconfig did nothing.
I dont know what else to provide?
If you have any idea, or want some specific feedback info tell me.
I actually need mplayerplug-in which I haven't tried yet. _________________ Crimes against humanity??Dunno!!Maybe that chimp-face guy over there can help you.
Ehrr...don't push him hard though.He's kinda slow. |
|
Back to top |
|
|
pontifikas Tux's lil' helper
Joined: 17 Aug 2003 Posts: 138 Location: Greece
|
Posted: Tue Jan 18, 2005 11:18 pm Post subject: |
|
|
After rebooting the following message appeared along with the previous one
Code: | object file: No such file or directory |
_________________ Crimes against humanity??Dunno!!Maybe that chimp-face guy over there can help you.
Ehrr...don't push him hard though.He's kinda slow. |
|
Back to top |
|
|
Primer n00b
Joined: 03 Dec 2004 Posts: 54 Location: Torrance, CA, USA
|
Posted: Wed Jan 19, 2005 12:47 am Post subject: |
|
|
Are you able to run any 32 bit programs? If so, I'm at a loss.
I hang out in #gentoo-amd64 on irc.freenode.net. Feel free to get on there and look me up and perhaps we can troubleshoot this more interactively.
If you can't/don't know how to get on IRC, keep posting here and we'll try to get it working.
Daniel _________________ This is necessary...life, feeds on life... |
|
Back to top |
|
|
morset n00b
Joined: 14 Nov 2003 Posts: 31
|
Posted: Thu Jan 20, 2005 1:02 pm Post subject: |
|
|
I have the same problem with the libXi. I tried emerging the libraries but that did nothing. |
|
Back to top |
|
|
Primer n00b
Joined: 03 Dec 2004 Posts: 54 Location: Torrance, CA, USA
|
Posted: Fri Jan 21, 2005 5:52 pm Post subject: |
|
|
It seems that some new emul-linux-x86-* packages have come out. I've recently emerged the world (I use ~amd64, of course), and saw these packages in my list.
You do emerge using -v and check what's being emerged, right?
So far, my copy of mplayer32 continues to work. I'll investigate further when I get a chance, but unless I can replicate the problem, I can't fix it.
One issue that I've run into in the past regarding 32 bit emulation has been improper packaging of the libraries and having them end up symlinked to a 64 bit library. To that end, I have one suggestion:
Code: | ls -l /emul/linux/x86/usr/X11R6/lib/libXi.so.6 |
This should be a symlink to libXi.so.6.0 that resides in the same directory. The output should look like this:
Code: | lrwxrwxrwx 1 root root 12 Jan 20 11:22 /emul/linux/x86/usr/X11R6/lib/libXi.so.6 -> libXi.so.6.0
|
If it doesn't look exactly like that, and looks something like this:
Code: | lrwxrwxrwx 1 root root 12 Jan 20 11:22 /emul/linux/x86/usr/X11R6/lib/libXi.so.6 -> /usr/X11R6/lib/libXi.so.6.0 |
Or if it's symlinked to anything that begins with a forward slash, then it's improperly linked. This same thing happened in the emul-linux-x86-soundlibs package, and is covered in the issues section of my site. The solution then would be the same: Remove the offending symlink and re-link it properly:
Code: | cd /emul/linux/x86/usr/X11R6/lib/
rm -f libXi.so.6
ln -s libXi.so.6.0 libXi.so.6
ldconfig |
I'm not sure if this is your problem, but it seems likely. Give it a try and let me know.
Daniel _________________ This is necessary...life, feeds on life... |
|
Back to top |
|
|
morset n00b
Joined: 14 Nov 2003 Posts: 31
|
Posted: Sat Jan 22, 2005 12:36 am Post subject: |
|
|
I did an emerge world last night and it works perfectly fine. Now to get the firefox plugin working. |
|
Back to top |
|
|
zinion Guru
Joined: 27 Oct 2004 Posts: 541 Location: Ruhgebietshausen
|
Posted: Sun Jan 23, 2005 3:20 pm Post subject: |
|
|
Hey, this is so great work - thank you for this.
Did you commit the eBuild via Bugzilla? It could be usefull for a lot of people...
Edit: the "all-20041107" was not longer availaible. I had to edit the ebuild and the digest-file to use all-20050115"
Edit2: I get this:
Code: |
thomas@thomas-km61 lib $ mplayer32
mplayer32: error while loading shared libraries: libXvMC.so.1: cannot open shared object file: No such file or directory
thomas@thomas-km61 lib $ gmplayer32
gmplayer32: error while loading shared libraries: libXvMC.so.1: cannot open shared object file: No such file or directory
|
Edit3: It seems to require emul-linux-x86-xlibs-1.2 ...with that installed my TS isn't working.
Anyway if I type gmplayer32, I don't get a window but same output if you use mplayer32
Code: |
without argumentsthomas@thomas-km61 thomas $ gmplayer32
MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow SSE SSE2
Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147
73 audio & 180 video codecs
Usage: mplayer [options] [url|path/]filename
Basic options: (complete list in the man page)
-vo <drv[:dev]> select video output driver & device ('-vo help' for a list)
-ao <drv[:dev]> select audio output driver & device ('-ao help' for a list)
vcd://<trackno> play (S)VCD (Super Video CD) track (raw device, no mount)
dvd://<titleno> play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <timepos> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)
Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
up or down seek backward/forward 1 minute
pgup or pgdown seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
z or x adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vf expand
* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
|
Hmm...seems that gmplayer32 is the same as mplayer32 _________________ Es ist schön und warm
hier im Gentoo-Land |
|
Back to top |
|
|
|