Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] libav and ffmpeg on the same computer issue once again
Date: Sat, 16 May 2015 12:50:55
Message-Id: 55573D1B.6030803@gmail.com
In Reply to: Re: [gentoo-user] libav and ffmpeg on the same computer issue once again by gevisz
1 On 16/05/2015 09:51, gevisz wrote:
2 > 2015-05-16 9:44 GMT+03:00 Alan McKinnon <alan.mckinnon@×××××.com>:
3 >> On 16/05/2015 07:52, gevisz wrote:
4 >>> 2015-05-15 20:30 GMT+03:00 Alexander Kapshuk <alexander.kapshuk@×××××.com>:
5 >>>> On Fri, May 15, 2015 at 9:04 AM, Gevisz <gevisz@×××××.com> wrote:
6 >>>>>
7 >>>>> On Fri, 15 May 2015 01:45:35 -0400 Gregory Woodbury <redwolfe@×××××.com>
8 >>>>> wrote:
9 >>>>>
10 >>>>>> I had a similar problem with some packages wanting virtual/ffmpeg and
11 >>>>>> it wouldn't take the -libav USE flag without adding a keyword for
12 >>>>>> ~amd64 on the virtual.
13 >>>>>> (yes, I am going the opposite way from you, but the cause seem the
14 >>>>>> same -- various USE flags are not yet adjusted in the stable
15 >>>>>> branches.)
16 >>>>>>
17 >>>>>> Perhaps we need to request "stabilization" for some of the newer
18 >>>>>> packages to solve this.
19 >>>>>
20 >>>>> Thank you for confirming that libav USE flag do not work not only for me.
21 >>>>>
22 >>>>> However, it would be interesting to hear what the Gentoo devs think about
23 >>>>> this issue.
24 >>>>
25 >>>> Portage news item No 19 has the answer you're looking for.
26 >>>
27 >>> No, it has not.
28 >>>
29 >>> As I have already written, I have libav USE flag in my /etc/portage/make.conf
30 >>> and still portage wants to merge media-video/ffmpeg
31 >>>
32 >>>>> eselect news read 19
33 >>>>> 2015-04-16-ffmpeg-default
34 >>>>> Title FFmpeg default
35 >>>>> Author Ben de Groot <yngwin@g.o>
36 >>>>> Posted 2015-04-16
37 >>>>> Revision 1
38 >>>>>
39 >>>>> Since the choice between ffmpeg and libav has been made more
40 >>>>> explicit, there has been a lot of discussion about what the
41 >>>>> default implementation should be. It can be concluded that
42 >>>>> media-video/ffmpeg has wider support, and would be somewhat
43 >>>>> more convenient for most end-users.
44 >>>>>
45 >>>>> For this reason the default implementation has been switched
46 >>>>> back from media-video/libav to media-video/ffmpeg by removing
47 >>>>> the libav useflag from the base profile.
48 >>>>>
49 >>>>> If the libav useflag is already globally enabled or disabled
50 >>>>> in /etc/portage/make.conf, then no further action is required.
51 >>>>>
52 >>>>> Users who implicitly relied on libav being enabled in their
53 >>>>> profile, and who wish to continue using libav, should enable
54 >>>>> USE=libav in their /etc/portage/make.conf file.
55 >>>
56 >>> P.S. Trying to find out which packages currently depend on ffmpeg,
57 >>> I get the following:
58 >>>
59 >>> $ equery depends ffmpeg
60 >>> * These packages depend on ffmpeg:
61 >>> app-misc/tracker-1.2.5 (ffmpeg ? >=virtual/ffmpeg-9)
62 >>> media-libs/gegl-0.2.0-r2 (!libav ? media-video/ffmpeg:0)
63 >>> media-plugins/alsa-plugins-1.0.28 (ffmpeg ?
64 >>> virtual/ffmpeg[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
65 >>> media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3 (!libav ?
66 >>>> =media-video/ffmpeg-1.2.6-r1:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
67 >>> media-plugins/gst-plugins-libav-1.2.4-r1 (!libav ?
68 >>>> =media-video/ffmpeg-1.2.6-r1:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
69 >>> media-sound/sox-14.4.1 (ffmpeg ? >=virtual/ffmpeg-0.9)
70 >>> media-video/vlc-2.1.5-r1 (!libav ? media-video/ffmpeg:0)
71 >>> (!libav ? >=media-video/ffmpeg-1.2:0)
72 >>> (!libav ? media-video/ffmpeg:0[vaapi])
73 >>> virtual/ffmpeg-9-r1
74 >>> (>=media-video/ffmpeg-1.2.6-r1:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,X?,encode?,gsm?,jpeg2k?,mp3?,opus?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?])
75 >>>
76 >>> Interestingly enouth, when I try to find out why the tracker package
77 >>> needs ffmpeg,
78 >>> I get the following:
79 >>>
80 >>> $ equery uses tracker
81 >>> [ Legend : U - final flag setting for installation]
82 >>> [ : I - package is installed with flag ]
83 >>> [ Colors : set, unset ]
84 >>> * Found these USE flags for app-misc/tracker-1.2.5:
85 >>> U I
86 >>> - - cue : Enable cue sheet parsing
87 >>> + + exif : Add support for reading EXIF headers from
88 >>> JPEG and TIFF images
89 >>> - - ffmpeg : Enable ffmpeg/libav-based audio/video codec support
90 >>> - - firefox-bookmarks : Install bookmark data miner plugin for
91 >>> www-client/firefox and www-client/firefox-bin
92 >>> + + flac : Add support for FLAC: Free Lossless Audio Codec
93 >>> + + gif : Add GIF image support
94 >>> - - gsf : Enable gnome-extra/libgsf based data
95 >>> extractor and for ODT.
96 >>> + + gstreamer : Add support for media-libs/gstreamer (Streaming media)
97 >>> + + gtk : Add support for x11-libs/gtk+ (The GIMP Toolkit)
98 >>> - - iptc : Enable extraction of IPTC data from pictures
99 >>> + + iso : Enable extraction of metadata from ISO disk images
100 >>> + + jpeg : Add JPEG image support
101 >>> + + miner-fs : Enable tracker-miner-fs (required for
102 >>> filesystem indexing)
103 >>> + + mp3 : Add support for reading mp3 files
104 >>> + + nautilus : Enable tracker to integrate with
105 >>> gnome-base/nautilus by providing entries in its context menu
106 >>> - - networkmanager : Enable net-misc/networkmanager support
107 >>> + + pdf : Add general support for PDF (Portable
108 >>> Document Format), this replaces the pdflib and cpdflib flags
109 >>> - - playlist : Add support for playlists
110 >>> - - rss : Enable support for RSS feeds
111 >>> - - test : Workaround to pull in packages needed to run
112 >>> with FEATURES=test. Portage-2.1.2 handles this internally, so don't
113 >>> set it in
114 >>> make.conf/package.use anymore
115 >>> - - thunderbird : Install email data miner plugin for
116 >>> mail-client/thunderbird and mail-client/thunderbird-bin
117 >>> + + tiff : Add support for the TIFF image format
118 >>> - - upnp-av : Enable UPnP audio/video streaming support
119 >>> + + upower : Enable power management support
120 >>> + + vorbis : Add support for the OggVorbis audio codec
121 >>> + + xml : Add support for XML files
122 >>> - - xmp : Enable support for Extensible Metadata
123 >>> Platform (Adobe XMP)
124 >>> - - xps : Add support for XPS file format through
125 >>> app-text/libgxps.
126 >>>
127 >>>
128 >>> That, in my view, means that the tracker package really should not
129 >>> demand ffmpeg.
130 >>>
131 >>
132 >>
133 >> Just checking something.
134 >>
135 >> app-misc/tracker does NOT depends on ffmpeg. It depends on
136 >> virtual/ffmpeg, which libav satisfies. I think you are chasing a red
137 >> haerring with that one.
138 >>
139 >> Did you notice?
140 >
141 > Yes, you are right about the tracker package.
142 >
143 > However, portage wants to emerge media-video/ffmpeg-2.2.14 and
144 >
145 > $ equery depends media-video/ffmpeg-2.2.14
146 > * These packages depend on media-video/ffmpeg-2.2.14:
147 > media-libs/gegl-0.2.0-r2 (!libav ? media-video/ffmpeg:0)
148 > media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3 (!libav ?
149 >> =media-video/ffmpeg-1.2.6-r1:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
150 > media-plugins/gst-plugins-libav-1.2.4-r1 (!libav ?
151 >> =media-video/ffmpeg-1.2.6-r1:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
152 > media-video/vlc-2.1.5-r1 (!libav ? media-video/ffmpeg:0)
153 > (!libav ? >=media-video/ffmpeg-1.2:0)
154 > (!libav ? media-video/ffmpeg:0[vaapi])
155 > virtual/ffmpeg-9-r1
156 > (>=media-video/ffmpeg-1.2.6-r1:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,X?,encode?,gsm?,jpeg2k?,mp3?,opus?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?])
157 >
158 > So, more general questions remain relevant.
159 >
160 > P.S. I guess that the situation has something to do with the fact
161 > that I have a multilib profile (on amd64) and have chosen
162 > to enable abi_x86_32 on per package base.
163 >
164 > Probably, after portage-tree update, portage cannot find the
165 > needed x86_32 libraries and decides to emerge media-video/ffmpeg
166 > instead.
167 >
168 > So, if I get no better suggestions, I will enable abi_x86_32 globally
169 > and try to update the world once more.
170 >
171 > If that will not work, I will remove the libav USE flag from
172 > /etc/portage/make.conf and try to update the world for the last time.
173 >
174 > Will report about the results later.
175 >
176
177
178 Some info you might find useful. I'm coming to the thread late, so I
179 might have overlooked something.
180
181 I have the same setup as you (multilib, abi_x86_32 enabled per-package)
182 except I enabled ffmpeg and disabled libav. Here's how I set that up:
183
184 # egrep -ir "libav|ffmpeg" /etc/portage/
185 /etc/portage/make.conf: ffmpeg -libav
186 /etc/portage/package.use/abi_x86_32:virtual/ffmpeg abi_x86_32
187 /etc/portage/package.use/emul-linux-x86:media-video/ffmpeg abi_x86_32
188
189
190 If you were to reverse those settings for you, does that help?
191
192 --
193 Alan McKinnon
194 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] libav and ffmpeg on the same computer issue once again gevisz <gevisz@×××××.com>