Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Playing wmv9 in mplayer ppc? (AKA: win32codecs masked by -)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gfs
n00b
n00b


Joined: 31 Jul 2004
Posts: 39

PostPosted: Mon Sep 06, 2004 7:01 pm    Post subject: Playing wmv9 in mplayer ppc? (AKA: win32codecs masked by -) Reply with quote

Ok, Ive got a couple of avi files which mplayers spits out with the error:
Code:

Requested video codec family [wmv9dmo] (vfm=dmo) not available.
Enable it at compilation.


How do i enable it? I searched the forums but the best i could find was to emerge win32codecs, but i just get a "masked by keyword-" message.

Any ideas?
Back to top
View user's profile Send private message
porodzila
Guru
Guru


Joined: 22 May 2004
Posts: 307
Location: Terrapin Station

PostPosted: Mon Sep 06, 2004 7:05 pm    Post subject: Reply with quote

you need to unmask the thing
USE_KEYWORDS="~ppc" emerge x-y
_________________
ubi primum potero, me hinc subduco.
Back to top
View user's profile Send private message
DiskBreaker
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 224

PostPosted: Mon Sep 06, 2004 7:36 pm    Post subject: Re: Playing wmv9 in mplayer ppc? (AKA: win32codecs masked by Reply with quote

gfs wrote:
Ok, Ive got a couple of avi files which mplayers spits out with the error:
Code:

Requested video codec family [wmv9dmo] (vfm=dmo) not available.
Enable it at compilation.


How do i enable it? I searched the forums but the best i could find was to emerge win32codecs, but i just get a "masked by keyword-" message.

Even if you would force emerge to install the win32codecs (btw. porodzilla's way will not work since the package is correctly masked -ppc and not ~ppc) they won't run. As the name implies they are ripped straight out of Windows and thus are x86 only.

The only thing you can do is use Windows Media Player on OS X to view your movie. You could try to make an emulated mpayer + win32codecs work under qemu but I am sure the speed will be unacceptable.
Back to top
View user's profile Send private message
servobf
Apprentice
Apprentice


Joined: 03 Jun 2004
Posts: 160

PostPosted: Mon Sep 06, 2004 7:40 pm    Post subject: Reply with quote

To emerge a package that is masked, you'll use:

ACCEPT_KEYWORDS="~ppc" emerge yourprogramhere

If something wasn't enabled at compile time however, you need to either edit your USE flags in make.conf, or use a temporary set of USE flags

If you were to open /usr/portage/media-video/mplayer/mplayer-1.0_pre5-r4.ebuild (or any other ebuild) in an editor, you'd see a section like this:

Code:
IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts bidi debug divx4linux doc dvb cdparanoia directfb dvd dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas network nls nvidia oggvorbis opengl oss png rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xinerama xmms xv xvid xvmc"


Those are the optional USE flags you could use for Mplayer. I don't see one that would fit the description of what you need, but if you needed for example theora in your mplayer.

USE="theora" emerge mplayer

or for theora with the latest unstable mplayer

ACCEPT_KEYWORDS="~ppc" USE="theora" emerge mplayer


The win32codecs won't work though no matter what since they are a binary package for x86.

~Michael
Back to top
View user's profile Send private message
gfs
n00b
n00b


Joined: 31 Jul 2004
Posts: 39

PostPosted: Mon Sep 06, 2004 7:52 pm    Post subject: Reply with quote

thanks for the quick replies, i guess ill just have to try to convert them, and i cant emerge win32codecs b/c im on ppc, so ACCEPT_KEYWORDS="~ppc" will not work since its masked by "-" and not "~".(Sorry if that sounded bitchy but i dont wanna waste anyones time with an answer i know wont work)
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Wed Sep 08, 2004 5:22 am    Post subject: Reply with quote

gfs wrote:
i guess ill just have to try to convert them


and how do you want to do that? as pointed out earlier, it's x86 code, not ppc. you can't just convert code compiled for a completely different architecture...

you can emulate that other architecture (there are qemu threads around), or look into Bochs. but it'll be SLOW to do, especially if you're running on an older ppc.
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
BernieKe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2002
Posts: 130
Location: California/Bangalore/Belgium

PostPosted: Mon Jan 17, 2005 11:10 pm    Post subject: Reply with quote

He probably ment converting the avi-files...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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