On 30 March 2015 at 00:23, Michał Górny <mgo...@gentoo.org> wrote: > Dnia 2015-03-30, o godz. 00:07:16 > > Include example code. >
Updated version: Title: FFmpeg default Author: Ben de Groot <yng...@gentoo.org> Content-Type: text/plain Posted: 2015-04-07 Revision: 1 News-Item-Format: 1.0 Display-If-Installed: media-video/ffmpeg Display-If-Installed: media-video/libav Since the choice between ffmpeg and libav has been made more explicit, there has been a lot of discussion about what the default implementation should be. It can be concluded that media-video/ffmpeg has wider support, and would be somewhat more convenient for most end-users. For this reason the default implementation has been switched back from media-video/libav to media-video/ffmpeg by removing the libav useflag from the base profile. If the libav useflag is already globally enabled or disabled in /etc/portage/make.conf, then no further action is required. Users who implicitly relied on libav being enabled in their profile, and who wish to continue using libav, should enable USE=libav in their /etc/portage/make.conf file. > Also please prepare an update to the USE=libav news item to state > updated default. Diff: --- /var/portage/metadata/news/2015-02-01-use-libav/2015-02-01-use-libav.en.txt 2015-02-04 05:31:20.000000000 +0800 +++ /home/ben/tmp/2015-02-01-use-libav.en.txt 2015-04-06 14:05:56.982039939 +0800 @@ -2,7 +2,7 @@ Author: Michał Górny <mgo...@gentoo.org> Content-Type: text/plain Posted: 2015-02-01 -Revision: 1 +Revision: 2 News-Item-Format: 1.0 Display-If-Installed: media-video/ffmpeg Display-If-Installed: media-video/libav @@ -20,17 +20,17 @@ However, whenever appropriate additional USE=libav will be introduced to control the preference of one implementation over the other. -Users who currently use libav (the Gentoo default) do not have to -perform any action since USE=libav is enabled by default. It should be -noted that the users still need to enable USE=ffmpeg on packages with -optional libav support as well. Users who want to use ffmpeg instead -need to specify USE=-libav in make.conf explicitly. +Users who currently use libav need to enable USE=libav in +/etc/portage/make.conf. It should be noted that users still need to +enable USE=ffmpeg on packages with optional libav support as well. +Users who currently use ffmpeg need to take no action. Please also note that some packages support only one of the two implementations. An attempt to install one of those packages may result in blockers requiring the user changes the global USE=libav state. The most notable example of such package is media-video/mplayer. -media-video/mpv may be used as a replacement for users who prefer libav. +media-video/mpv may be used as a replacement for users who prefer libav, +even though upstream mpv developers recommend using ffmpeg. Please do not alter the state of 'libav' flag on a per-package basis (e.g. via package.use). The flag needs to be set globally to have -- Cheers, Ben | yngwin Gentoo developer