4

As the title says - What's the difference between libavcodec-ffmpeg-extra56 and libavcodec-ffmpeg56? Which should I install?

I'm using kdenlive but auditioning some other non-linear video editors. Does it matter which of these packages is installed, presumably one is for ffmpeg and one is for the Ubuntu bawdlerised version (or is it avconv now?)?

Advice please?

Edit, from packages.ubuntu.com:

Package libavcodec-ffmpeg-extra56

xenial (16.04LTS) (libs): FFmpeg library with **additional** de/encoders for audio/video codecs [universe]
7:2.8.8-0ubuntu0.16.04.1 [security]: amd64 i386
7:2.8.6-1ubuntu2 [ports]: arm64 armhf powerpc ppc64el s390x

Package libavcodec-ffmpeg56

xenial (16.04LTS) (libs): FFmpeg library with de/encoders for audio/video codecs - runtime files [universe]
7:2.8.8-0ubuntu0.16.04.1 [security]: amd64 i386
7:2.8.6-1ubuntu2 [ports]: arm64 armhf powerpc ppc64el s390x

If you look at the files (plain, extra) the only difference appears to be the file in /usr/share/lintian/overrides/. The .so files are identically named and versioned.

pbhj
  • 3,364

2 Answers2

9

Why extra?

Due to the licenses of the external libraries involved some components were split into libavcodec-extra and libavfilter-extra.


libavcodec-extra

As of Ubuntu 20.04 LTS "Focal", libavcodec-extra adds some additional encoders and decoders for the outdated AMR audio format which was used in old phones. There is no reason to install libavcodec-extra unless you need to encode AMR.

Encoders:

  • libopencore_amrnb - Adaptive Multi-Rate NarrowBand (AMR-NB).
  • libvo_amrwbenc - Adaptive Multi-Rate WideBand (AMR-WB).

Decoders:

libavcodec-extra additionally adds two additional AMR decoders:

  • libopencore_amrnb for AMR-NB
  • libopencore_amrwb for AMR-WB

But these decoders are not very useful as FFmpeg can decode AMR-NB and AMR-WB by itself via the built-in decoders anr_nb and amr_wb.


libavfilter-extra

The libavfilter-extra package adds two minor, niche filters:

  • lensfun for camera lens distortion correction.
  • ocr for Optical Character Recognition.
llogan
  • 12,348
1

It looks like libavcodec-ffmpeg-extra56 is an Ubuntu Package, that may have been renamed or reworked specifically for Ubuntu. It seems to contain the same information, and have the same dependencies as the Debian package libavcodec-ffmpeg56. It may be as simple as a rename to keep inline with Ubuntu's naming scheme.

Here is the Ubuntu package dependency list

It seems the original libavcodec-ffmpeg56 is from Debian.

Here is the Debian package dependency list

If you're using the default Ubuntu sources list, then I would suggest just installing the standard libavcodec-ffmpeg-extra56 package. I think perhaps you have other sources enabled that would show you both?

AnotherKiwiGuy
  • 4,482
  • 1
  • 22
  • 39