Gentoo Archives: gentoo-user

From: Joost Roeleveld <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: mplayer(2) ???
Date: Fri, 23 Sep 2011 19:06:00
Message-Id: 1882061.bXKLCTHzjz@eve
In Reply to: Re: [gentoo-user] Re: mplayer(2) ??? by Mick
1 On Friday, September 23, 2011 01:56:38 PM Mick wrote:
2 > On Friday 23 Sep 2011 09:58:35 Florian Philipp wrote:
3 > > Am 22.09.2011 23:54, schrieb Mick:
4 > > > On Thursday 22 Sep 2011 09:15:42 Nikos Chantziaras wrote:
5 > > >> On 09/22/2011 12:58 AM, Mick wrote:
6 > > >>> On Wednesday 21 Sep 2011 09:19:39 Sebastian Beßler wrote:
7 > > >>>>> Does mplayer2 work with smplayer or kmplayer?
8 > > >>>>
9 > > >>>> I use mplayer2 with smplayer for a few month now and
10 > > >>>> everything works just fine for me.
11 > > >>>
12 > > >>> Any idea when ffmpeg-mt might make it to the main portage tree?
13 > > >>
14 > > >> It's already in the tree. Both ffmpeg as well as libav now have
15 > > >> it.
16 > > >
17 > > > Sorry I can't see a USE flag or ffmpeg-mt package in portage:
18 > > >
19 > > > $ eix -l ffmpeg | grep mt
20 > > > $
21 > > >
22 > > > or are you saying that the code has been merged in the vanilla
23 > > > ffmpeg and libav without the need for a USE flag?
24 > >
25 > > The bug I linked to mentioned that it has been merged into ffmpeg and
26 > > libav. Both packages have USE="threads". If you use mplayer2, you also
27 > > see some output that mentions starting ffmpeg with x threads.
28 >
29 > Ah! Yes, of course!
30 >
31 > I was looking for the wrong thing. Thanks!
32 >
33 > I've enabled USE=threads and remerged ffmpeg (don't have libav installed).
34 > However, when I try to install mplayer2 it tells me that I should disable
35 > USE=threads. Am I missing something?
36 >
37 > # emerge -uaDv mplayer2
38 >
39 > These are the packages that would be merged, in order:
40 >
41 > Calculating dependencies... done!
42 > [ebuild N ] media-sound/mpg123-1.13.2 USE="alsa ipv6 sdl sse (-3dnow)
43 > (-3dnowext) (-altivec) (-coreaudio) -jack (-mmx) -nas -oss -portaudio -
44 > pulseaudio" 747 kB
45 > [ebuild R ] media-video/ffmpeg-0.7.5 USE="3dnow 3dnowext X aac alsa
46 > amr bzip2 encode faac hardcoded-tables mmx mmxext mp3 rtmp sdl ssse3
47 > truetype v4l2 vaapi vorbis x264 xvid zlib (-altivec) -avx -bindist (-celt)
48 > -cpudetection - custom-cflags -debug -dirac -doc -frei0r -gsm -ieee1394
49 > -jack -jpeg2k -network -oss -pic -qt-faststart -schroedinger -speex
50 > -static-libs -test -theora - threads* -v4l -vdpau -vpx"
51 > VIDEO_CARDS="-nvidia" 0 kB
52 > [ebuild N ] media-video/mplayer2-2.0 USE="X a52 alsa ass cddb cdio
53 > cdparanoia dts dv dvd dvdnav enca faad gif iconv ipv6 jpeg live mad mmx
54 > mmxext mng mp3 network opengl osdmenu png quicktime rar rtc sdl shm speex
55 > sse sse2 ssse3 theora truetype unicode v4l2 vorbis xscreensaver xv xvid
56 > xvmc -3dnow -3dnowext -aalib (-altivec) (-aqua) -bidi -bindist -bl -bluray
57 > -bs2b - cpudetection -custom-cflags -custom-cpuopts -debug -dga -directfb
58 > (-doc) -dvb -dxr3 -esd -fbcon -ftp -ggi -jack -joystick -ladspa -libcaca
59 > -lirc -md5sum - nas -nut -oss -pnm -pulseaudio -pvr -radio (-real) -samba
60 > -tga -v4l -vdpau (- win32codecs) -xanim -xinerama" VIDEO_CARDS="-mga
61 > -s3virge -tdfx -vesa" 3,589 kB
62 >
63 > Total: 3 packages (2 new, 1 reinstall), Size of downloads: 4,336 kB
64 >
65 > The following USE changes are necessary to proceed:
66 > #required by virtual/ffmpeg-0.6.90, required by media-video/mplayer2-2.0,
67 > required by mplayer2 (argument)
68 > =media-video/ffmpeg-0.7.5 -threads
69
70 Short answer:
71 Please add "virtual/ffmpeg threads" to "/etc/portage/package.use" and try
72 again.
73
74 Longer answer:
75 "required by virtual/ffmpeg" means that the virtual-ebuild is asking for that
76 change and that ebuild also has a threads USE-flag.
77
78 I actually have "threads" enabled in /etc/make.conf.
79
80 --
81 Joost