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 06:44:41
Message-Id: 5556E74B.9000903@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 07:52, gevisz wrote:
2 > 2015-05-15 20:30 GMT+03:00 Alexander Kapshuk <alexander.kapshuk@×××××.com>:
3 >> On Fri, May 15, 2015 at 9:04 AM, Gevisz <gevisz@×××××.com> wrote:
4 >>>
5 >>> On Fri, 15 May 2015 01:45:35 -0400 Gregory Woodbury <redwolfe@×××××.com>
6 >>> wrote:
7 >>>
8 >>>> I had a similar problem with some packages wanting virtual/ffmpeg and
9 >>>> it wouldn't take the -libav USE flag without adding a keyword for
10 >>>> ~amd64 on the virtual.
11 >>>> (yes, I am going the opposite way from you, but the cause seem the
12 >>>> same -- various USE flags are not yet adjusted in the stable
13 >>>> branches.)
14 >>>>
15 >>>> Perhaps we need to request "stabilization" for some of the newer
16 >>>> packages to solve this.
17 >>>
18 >>> Thank you for confirming that libav USE flag do not work not only for me.
19 >>>
20 >>> However, it would be interesting to hear what the Gentoo devs think about
21 >>> this issue.
22 >>
23 >> Portage news item No 19 has the answer you're looking for.
24 >
25 > No, it has not.
26 >
27 > As I have already written, I have libav USE flag in my /etc/portage/make.conf
28 > and still portage wants to merge media-video/ffmpeg
29 >
30 >>> eselect news read 19
31 >>> 2015-04-16-ffmpeg-default
32 >>> Title FFmpeg default
33 >>> Author Ben de Groot <yngwin@g.o>
34 >>> Posted 2015-04-16
35 >>> Revision 1
36 >>>
37 >>> Since the choice between ffmpeg and libav has been made more
38 >>> explicit, there has been a lot of discussion about what the
39 >>> default implementation should be. It can be concluded that
40 >>> media-video/ffmpeg has wider support, and would be somewhat
41 >>> more convenient for most end-users.
42 >>>
43 >>> For this reason the default implementation has been switched
44 >>> back from media-video/libav to media-video/ffmpeg by removing
45 >>> the libav useflag from the base profile.
46 >>>
47 >>> If the libav useflag is already globally enabled or disabled
48 >>> in /etc/portage/make.conf, then no further action is required.
49 >>>
50 >>> Users who implicitly relied on libav being enabled in their
51 >>> profile, and who wish to continue using libav, should enable
52 >>> USE=libav in their /etc/portage/make.conf file.
53 >
54 > P.S. Trying to find out which packages currently depend on ffmpeg,
55 > I get the following:
56 >
57 > $ equery depends ffmpeg
58 > * These packages depend on ffmpeg:
59 > app-misc/tracker-1.2.5 (ffmpeg ? >=virtual/ffmpeg-9)
60 > media-libs/gegl-0.2.0-r2 (!libav ? media-video/ffmpeg:0)
61 > media-plugins/alsa-plugins-1.0.28 (ffmpeg ?
62 > 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(-)?])
63 > media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3 (!libav ?
64 >> =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(-)?])
65 > media-plugins/gst-plugins-libav-1.2.4-r1 (!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-sound/sox-14.4.1 (ffmpeg ? >=virtual/ffmpeg-0.9)
68 > media-video/vlc-2.1.5-r1 (!libav ? media-video/ffmpeg:0)
69 > (!libav ? >=media-video/ffmpeg-1.2:0)
70 > (!libav ? media-video/ffmpeg:0[vaapi])
71 > virtual/ffmpeg-9-r1
72 > (>=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?])
73 >
74 > Interestingly enouth, when I try to find out why the tracker package
75 > needs ffmpeg,
76 > I get the following:
77 >
78 > $ equery uses tracker
79 > [ Legend : U - final flag setting for installation]
80 > [ : I - package is installed with flag ]
81 > [ Colors : set, unset ]
82 > * Found these USE flags for app-misc/tracker-1.2.5:
83 > U I
84 > - - cue : Enable cue sheet parsing
85 > + + exif : Add support for reading EXIF headers from
86 > JPEG and TIFF images
87 > - - ffmpeg : Enable ffmpeg/libav-based audio/video codec support
88 > - - firefox-bookmarks : Install bookmark data miner plugin for
89 > www-client/firefox and www-client/firefox-bin
90 > + + flac : Add support for FLAC: Free Lossless Audio Codec
91 > + + gif : Add GIF image support
92 > - - gsf : Enable gnome-extra/libgsf based data
93 > extractor and for ODT.
94 > + + gstreamer : Add support for media-libs/gstreamer (Streaming media)
95 > + + gtk : Add support for x11-libs/gtk+ (The GIMP Toolkit)
96 > - - iptc : Enable extraction of IPTC data from pictures
97 > + + iso : Enable extraction of metadata from ISO disk images
98 > + + jpeg : Add JPEG image support
99 > + + miner-fs : Enable tracker-miner-fs (required for
100 > filesystem indexing)
101 > + + mp3 : Add support for reading mp3 files
102 > + + nautilus : Enable tracker to integrate with
103 > gnome-base/nautilus by providing entries in its context menu
104 > - - networkmanager : Enable net-misc/networkmanager support
105 > + + pdf : Add general support for PDF (Portable
106 > Document Format), this replaces the pdflib and cpdflib flags
107 > - - playlist : Add support for playlists
108 > - - rss : Enable support for RSS feeds
109 > - - test : Workaround to pull in packages needed to run
110 > with FEATURES=test. Portage-2.1.2 handles this internally, so don't
111 > set it in
112 > make.conf/package.use anymore
113 > - - thunderbird : Install email data miner plugin for
114 > mail-client/thunderbird and mail-client/thunderbird-bin
115 > + + tiff : Add support for the TIFF image format
116 > - - upnp-av : Enable UPnP audio/video streaming support
117 > + + upower : Enable power management support
118 > + + vorbis : Add support for the OggVorbis audio codec
119 > + + xml : Add support for XML files
120 > - - xmp : Enable support for Extensible Metadata
121 > Platform (Adobe XMP)
122 > - - xps : Add support for XPS file format through
123 > app-text/libgxps.
124 >
125 >
126 > That, in my view, means that the tracker package really should not
127 > demand ffmpeg.
128 >
129
130
131 Just checking something.
132
133 app-misc/tracker does NOT depends on ffmpeg. It depends on
134 virtual/ffmpeg, which libav satisfies. I think you are chasing a red
135 haerring with that one.
136
137 Did you notice?
138
139
140 --
141 Alan McKinnon
142 alan.mckinnon@×××××.com

Replies

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