1 |
On 30 March 2015 at 00:23, Michał Górny <mgorny@g.o> wrote: |
2 |
> Dnia 2015-03-30, o godz. 00:07:16 |
3 |
> |
4 |
> Include example code. |
5 |
> |
6 |
|
7 |
Updated version: |
8 |
|
9 |
Title: FFmpeg default |
10 |
Author: Ben de Groot <yngwin@g.o> |
11 |
Content-Type: text/plain |
12 |
Posted: 2015-04-07 |
13 |
Revision: 1 |
14 |
News-Item-Format: 1.0 |
15 |
Display-If-Installed: media-video/ffmpeg |
16 |
Display-If-Installed: media-video/libav |
17 |
|
18 |
Since the choice between ffmpeg and libav has been made more |
19 |
explicit, there has been a lot of discussion about what the |
20 |
default implementation should be. It can be concluded that |
21 |
media-video/ffmpeg has wider support, and would be somewhat |
22 |
more convenient for most end-users. |
23 |
|
24 |
For this reason the default implementation has been switched |
25 |
back from media-video/libav to media-video/ffmpeg by removing |
26 |
the libav useflag from the base profile. |
27 |
|
28 |
If the libav useflag is already globally enabled or disabled |
29 |
in /etc/portage/make.conf, then no further action is required. |
30 |
|
31 |
Users who implicitly relied on libav being enabled in their |
32 |
profile, and who wish to continue using libav, should enable |
33 |
USE=libav in their /etc/portage/make.conf file. |
34 |
|
35 |
> Also please prepare an update to the USE=libav news item to state |
36 |
> updated default. |
37 |
|
38 |
Diff: |
39 |
|
40 |
--- /var/portage/metadata/news/2015-02-01-use-libav/2015-02-01-use-libav.en.txt |
41 |
2015-02-04 05:31:20.000000000 +0800 |
42 |
+++ /home/ben/tmp/2015-02-01-use-libav.en.txt 2015-04-06 |
43 |
14:05:56.982039939 +0800 |
44 |
@@ -2,7 +2,7 @@ |
45 |
Author: Michał Górny <mgorny@g.o> |
46 |
Content-Type: text/plain |
47 |
Posted: 2015-02-01 |
48 |
-Revision: 1 |
49 |
+Revision: 2 |
50 |
News-Item-Format: 1.0 |
51 |
Display-If-Installed: media-video/ffmpeg |
52 |
Display-If-Installed: media-video/libav |
53 |
@@ -20,17 +20,17 @@ |
54 |
However, whenever appropriate additional USE=libav will be introduced to |
55 |
control the preference of one implementation over the other. |
56 |
|
57 |
-Users who currently use libav (the Gentoo default) do not have to |
58 |
-perform any action since USE=libav is enabled by default. It should be |
59 |
-noted that the users still need to enable USE=ffmpeg on packages with |
60 |
-optional libav support as well. Users who want to use ffmpeg instead |
61 |
-need to specify USE=-libav in make.conf explicitly. |
62 |
+Users who currently use libav need to enable USE=libav in |
63 |
+/etc/portage/make.conf. It should be noted that users still need to |
64 |
+enable USE=ffmpeg on packages with optional libav support as well. |
65 |
+Users who currently use ffmpeg need to take no action. |
66 |
|
67 |
Please also note that some packages support only one of the two |
68 |
implementations. An attempt to install one of those packages may result |
69 |
in blockers requiring the user changes the global USE=libav state. |
70 |
The most notable example of such package is media-video/mplayer. |
71 |
-media-video/mpv may be used as a replacement for users who prefer libav. |
72 |
+media-video/mpv may be used as a replacement for users who prefer libav, |
73 |
+even though upstream mpv developers recommend using ffmpeg. |
74 |
|
75 |
Please do not alter the state of 'libav' flag on a per-package basis |
76 |
(e.g. via package.use). The flag needs to be set globally to have |
77 |
|
78 |
|
79 |
-- |
80 |
Cheers, |
81 |
|
82 |
Ben | yngwin |
83 |
Gentoo developer |