为什么ubuntu-restricted-extras想删除一些libav包?

当我尝试在“ubuntu软件中心”中安装“ubuntu restricted extras”时,会显示一个警告对话框,说明必须删除以下项目:

libavcodec53 libavutil51 

为什么? 如果我选择安装“ubuntu restricted extras”,我会失去什么?

PS:我想我注意到libavcodec53闪存过去,因为我的每日构建的codeblocks包正在安装……所以这是一种可能性。 如果我安装“ubuntu restricted extras”,我会破坏我的软件开发环境吗?

或者是否需要删除这些包,因为它们包含在“ubuntu restricted extras”中? 如果是这样,为什么对话没有提到(并消除忧虑和困惑)?

PS: apt-get -s install ubuntu-restricted-extras生成的输出是

 NOTE: This is only a simulation! apt-get needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: cabextract gstreamer0.10-plugins-bad-multiverse libavcodec-extra-53 libavutil-extra-51 libfaac0 libmjpegtools-1.9 libopenjpeg2 libquicktime2 ttf-mscorefonts-installer unrar Suggested packages: libfaad0 The following packages will be REMOVED: libavcodec53 libavutil51 The following NEW packages will be installed: cabextract gstreamer0.10-plugins-bad-multiverse libavcodec-extra-53 libavutil-extra-51 libfaac0 libmjpegtools-1.9 libopenjpeg2 libquicktime2 ttf-mscorefonts-installer ubuntu-restricted-extras unrar 0 upgraded, 11 newly installed, 2 to remove and 0 not upgraded. Remv libavutil51 [4:0.8.3-0ubuntu0.12.04.1] [libswscale2:amd64 libavcodec53:amd64 gstreamer0.10-ffmpeg:amd64 libpostproc52:amd64 libavformat53:amd64 ] Inst libavutil-extra-51 (4:0.8.3ubuntu0.12.04.1 Ubuntu:12.04/precise-updates [amd64]) Conf libavutil-extra-51 (4:0.8.3ubuntu0.12.04.1 Ubuntu:12.04/precise-updates [amd64]) Inst libopenjpeg2 (1.3+dfsg-4 Ubuntu:12.04/precise [amd64]) Remv libavcodec53 [4:0.8.3-0ubuntu0.12.04.1] [gstreamer0.10-ffmpeg:amd64 libavformat53:amd64 ] Inst libavcodec-extra-53 (4:0.8.3ubuntu0.12.04.1 Ubuntu:12.04/precise-updates [amd64]) Conf libopenjpeg2 (1.3+dfsg-4 Ubuntu:12.04/precise [amd64]) Conf libavcodec-extra-53 (4:0.8.3ubuntu0.12.04.1 Ubuntu:12.04/precise-updates [amd64]) Inst cabextract (1.4-1 Ubuntu:12.04/precise [amd64]) Inst ttf-mscorefonts-installer (3.4ubuntu3 Ubuntu:12.04/precise [all]) Inst libfaac0 (1.28-0ubuntu2 Ubuntu:12.04/precise [amd64]) Inst libquicktime2 (2:1.2.3-4build2 Ubuntu:12.04/precise [amd64]) Inst libmjpegtools-1.9 (1:1.9.0-0.5ubuntu7 Ubuntu:12.04/precise [amd64]) Inst gstreamer0.10-plugins-bad-multiverse (0.10.21-1 Ubuntu:12.04/precise [amd64]) Inst ubuntu-restricted-extras (57 Ubuntu:12.04/precise [amd64]) Inst unrar (1:4.0.3-1 Ubuntu:12.04/precise [amd64]) Conf cabextract (1.4-1 Ubuntu:12.04/precise [amd64]) Conf ttf-mscorefonts-installer (3.4ubuntu3 Ubuntu:12.04/precise [all]) Conf libfaac0 (1.28-0ubuntu2 Ubuntu:12.04/precise [amd64]) Conf libquicktime2 (2:1.2.3-4build2 Ubuntu:12.04/precise [amd64]) Conf libmjpegtools-1.9 (1:1.9.0-0.5ubuntu7 Ubuntu:12.04/precise [amd64]) Conf gstreamer0.10-plugins-bad-multiverse (0.10.21-1 Ubuntu:12.04/precise [amd64]) Conf ubuntu-restricted-extras (57 Ubuntu:12.04/precise [amd64]) Conf unrar (1:4.0.3-1 Ubuntu:12.04/precise [amd64]) 

因为将安装这些库的-extra版本,以提供其他function

除其他外,安装ubuntu-restricted-extras会将libavcodec53 / libavutil51替换为libavcodec-extra-53libavutil-extra-51

-extra版本包含已删除的常规版本的所有function; 顾名思义,它们增加了专利所涵盖的function ,因此不能包含在常规版本中。 在这方面,他们是“严格的超集”。

主要区别在于增加了MP3,AAC,H.264和Xvid编码器

常规/额外库中包含的avconv版本之间的快速差异揭示了以下编解码器/格式的编码function(创建)的添加的主要区别:

  1. MP3音频
  2. AAC音频
  3. AMR宽带音频
  4. H.264video
  5. Xvidvideo
  6. 狄拉克video

还添加了基于JPEG2000的video解码器。

这是完全正常的。 它只是交易专有编解码器的开源编解码器,由于专利和版权问题,无法与Ubuntu打包。

您应该会发现这些 链接很有用。