Gentoo Archives: gentoo-user

From: Bruno Gola <brunogola@×××××××××.br>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mplayer codecs
Date: Wed, 06 Jul 2005 13:19:57
Message-Id: 42CBD740.701@terra.com.br
In Reply to: Re: [gentoo-user] mplayer codecs by Holly Bostick
1 Holly Bostick wrote:
2
3 >Bruno Gola schreef:
4 >
5 >
6 >>Holly Bostick wrote:
7 >>
8 >>
9 >>
10 >>
11 >>>Bruno Gola schreef:
12 >>>
13 >>>
14 >>>
15 >>>
16 >>>
17 >>>>Hello guys,
18 >>>>
19 >>>>I was trying to play some *.wmv files in mplayer, but it seems i dont
20 >>>>have the proper video codec (it complains about the video only), so,
21 >>>>where should i put the codecs files ? Because i've already downloaded
22 >>>>the codecs that i need... but i dont know where to put... can anyone
23 >>>>help me?
24 >>>>
25 >>>>Thanks,
26 >>>>
27 >>>>Bruno Gola
28 >>>>
29 >>>>
30 >>>>
31 >>>>
32 >>>It might be easier if you just let Portage manage it:
33 >>>
34 >>>eix win32codecs
35 >>>* media-libs/win32codecs
36 >>> Available versions: 20050216 *~20050412
37 >>> Installed: 20050216
38 >>> Homepage: http://www.mplayerhq.hu/
39 >>> Description: Win32 binary codecs for video and audio
40 >>>playback support
41 >>>
42 >>>and then made sure mplayer knew about it:
43 >>>
44 >>>emerge -pv mplayer
45 >>>These are the packages that I would merge, in order:
46 >>>
47 >>>Calculating dependencies ...done!
48 >>>[ebuild R ] media-video/mplayer-1.0_pre7 -3dfx +3dnow +3dnowext +X
49 >>>+aac +aalib +alsa (-altivec) -arts -bidi -bl +cdparanoia -cpudetection
50 >>>-custom-cflags -debug +dga +directfb +divx4linux -doc +dts +dv +dvb +dvd
51 >>>+dvdread +edl +encode +esd +fbcon +ggi +gif +gtk -i8x0 -ipv6 -jack
52 >>>-joystick +jpeg +libcaca -lirc -live -lzo +mad +matroska -matrox +mmx
53 >>>+mmxext -mythtv +nas +nls -nvidia +opengl +oss +png +real +rtc +samba
54 >>>+sdl +sse +sse2 +svga +tga +theora +truetype +v4l +v4l2 +vorbis
55 >>>
56 >>>+win32codecs
57 >>>
58 >>>+xanim -xinerama +xmms +xv +xvid +xvmc 0 kB
59 >>>
60 >>>Of course, if you emerge mplayer +win32codecs, then you don't have to
61 >>>emerge the win32codecs package separately (unless you want it in your
62 >>>world file), as it will then be pulled in as a dependency.
63 >>>
64 >>>Holly
65 >>>
66 >>>Holly
67 >>>
68 >>>
69 >>>
70 >>>
71 >>thanks for helping me, but ive already done this, i tried to merge this
72 >>codecs package but, it stills not working... and when i try emerge -pv
73 >>mplayer it stops at :
74 >>
75 >>[ebuild R ] media-video/mplayer-1.0_pre7 -3dfx +3dnow +3dnowext +X
76 >>+aac +aalib +alsa (-altivec) -arts -bidi -bl +cdparanoia -cpudetection
77 >>-custom-cflags -debug +dga +directfb +divx4linux -doc +dts +dv +dvb +dvd
78 >>+dvdread +edl +encode +esd +fbcon +ggi +gif +gtk -i8x0 -ipv6 -jack
79 >>-joystick +jpeg +libcaca -lirc -live -lzo +mad +matroska -matrox +mmx
80 >>+mmxext -mythtv +nas +nls -nvidia +opengl +oss +png +real +rtc +samba
81 >>+sdl +sse +sse2 +svga +tga +theora +truetype +v4l +v4l2 +vorbis
82 >>
83 >>I cant see the:
84 >>
85 >>+win32codecs
86 >>
87 >>+xanim -xinerama +xmms +xv +xvid +xvmc 0 kB
88 >>
89 >>
90 >>And, when i try to: emerge mplayer +win32codecs it complains:
91 >>
92 >>br ~ # emerge mplayer +win32codecs
93 >>Calculating dependencies -
94 >>emerge: there are no ebuilds to satisfy "+win32codecs".
95 >>
96 >>Do you have anyidea ?
97 >>
98 >>thaks again,
99 >>
100 >>Bruno Gola
101 >>
102 >>
103 >>
104 >>
105 >
106 >The correct way would be to
107 >
108 ># echo 'media-video/mplayer win32codecs' >>/etc/portage/package.use
109 >
110 >(this will enable the USE flag for all compiles of mplayer, now and in
111 >the future)
112 >
113 >The much less correct way would be to
114 >
115 ># USE="win32codecs" emerge mplayer
116 >
117 >(this will compile mplayer with the USE flag set just for this compile,
118 >but if you upgrade, Portage will not remember the setting, and will
119 >upgrade without the flag)
120 >
121 >You can also simply
122 >
123 ># emerge win32codecs
124 >
125 >which will install the codecs, but it will also put the package in your
126 >world file, which you may not want, and will also not tell mplayer about
127 >it (because mplayer was compiled without support for the codecs)-- you
128 >would still need to re-emerge mplayer with the win32codecs USE flag enabled.
129 >
130 >What version of mplayer are you emerging? Perhaps the last stable
131 >(1.0_pre6-r4) doesn't support that USE flag, and you have to unmask an
132 >unstable version?
133 >
134 >Hope this helps
135 >Holly
136 >
137 >
138 Thanks so much Holly, now with the USE flag it works... thanks again ;)
139
140 Bruno