ffmpeg unresolvable dependancies

Bug #751114 reported by Paul Crawford
204
This bug affects 44 people
Affects Status Importance Assigned to Milestone
ffmpeg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ffmpeg

Today's security updates included ffmpeg and various media libraries, except they were not ticked in the update manager, and an attempt to make this happen via synaptic failed as well. Removing then attempting to re-install ffmpeg produces this error:

ffmpeg:
 Depends: libavcodec52 but it is not going to be installed or
  libavcodec-extra-52 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
  Depends: libavdevice52 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1 is to be installed or
  libavdevice-extra-52 but it is not going to be installed
  Depends: libavfilter0 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1 is to be installed or
  libavfilter-extra-0 but it is not going to be installed
  Depends: libavformat52 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1 is to be installed or
  libavformat-extra-52 but it is not going to be installed
 Depends: libavutil49 but it is not going to be installed or
  libavutil-extra-49 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
  Depends: libpostproc51 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1 is to be installed or
  libpostproc-extra-51 but it is not going to be installed
  Depends: libswscale0 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1 is to be installed or
  libswscale-extra-0 but it is not going to be installed

If I try upgrading one of these, I get this sort of message:

libavformat52:
 Depends: libavcodec52 but it is not going to be installed or
  libavcodec-extra-52 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
 Depends: libavutil49 but it is not going to be installed or
  libavutil-extra-49 (>=4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed

Using 32-bit 10.04 LTS with the 'proposed' updates enabled.

$ lsb_release -rd
Description: Ubuntu 10.04.2 LTS
Release: 10.04

$ apt-cache policy ffmpeg
ffmpeg:
  Installed: (none)
  Candidate: 4:0.5.1-1ubuntu1.1
  Version table:
     4:0.5.1-1ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
     4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Given these are security patches that are not being installed, I think this is a serious problem.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 751114] [NEW] ffmpeg unresolvable dependancies

Check apt-cache policy for those libs. When did you add the Medibuntu repo?

Revision history for this message
Paul Crawford (psc-sat) wrote :

I'm not quite sure when I added it, but most likely it was several months ago to get decss, etc.

Here is the result for ffmpeg's dependencies:

$ apt-cache policy libavcodec52 libavdevice52 libavfilter0 libavformat52 libavutil49 libpostproc51 libswscale0
libavcodec52:
  Installed: (none)
  Candidate: 4:0.5.1-1ubuntu1.1
  Version table:
     4:0.5.1-1ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
     4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libavdevice52:
  Installed: 4:0.5.1-1ubuntu1
  Candidate: 4:0.5.1-1ubuntu1.1
  Version table:
     4:0.5.1-1ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
 *** 4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libavfilter0:
  Installed: 4:0.5.1-1ubuntu1
  Candidate: 4:0.5.1-1ubuntu1.1
  Version table:
     4:0.5.1-1ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
 *** 4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libavformat52:
  Installed: 4:0.5.1-1ubuntu1
  Candidate: 4:0.5.1-1ubuntu1.1
  Version table:
     4:0.5.1-1ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
 *** 4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libavutil49:
  Installed: (none)
  Candidate: 4:0.5.1-1ubuntu1.1
  Version table:
     4:0.5.1-1ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
     4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libpostproc51:
  Installed: 4:0.5.1-1ubuntu1
  Candidate: 4:0.5.1-1ubuntu1.1
  Version table:
     4:0.5.1-1ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
 *** 4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libswscale0:
  Installed: 4:0.5.1-1ubuntu1
  Candidate: 4:0.5.1-1ubuntu1.1
  Version table:
     4:0.5.1-1ubuntu1.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid-security/main Packages
 *** 4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Paul Crawford (psc-sat) wrote :

Just to add:

$ apt-cache policy libavcodec-extra-52 libavutil-extra-49
libavcodec-extra-52:
  Installed: 4:0.5.1-1ubuntu1+medibuntu1
  Candidate: 4:0.5.1-1ubuntu1+medibuntu1
  Version table:
 *** 4:0.5.1-1ubuntu1+medibuntu1 0
        500 http://packages.medibuntu.org/ lucid/non-free Packages
        100 /var/lib/dpkg/status
     4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/multiverse Packages
libavutil-extra-49:
  Installed: 4:0.5.1-1ubuntu1+medibuntu1
  Candidate: 4:0.5.1-1ubuntu1+medibuntu1
  Version table:
 *** 4:0.5.1-1ubuntu1+medibuntu1 0
        500 http://packages.medibuntu.org/ lucid/non-free Packages
        100 /var/lib/dpkg/status
     4:0.5.1-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/multiverse Packages

Revision history for this message
Thierry MARTIN (p-launchpad-martin-thierry-nom-fr) wrote :

I have the same problem without Medibuntu repo :

ffmpeg:
 Dépend : libavcodec52 mais ne doit pas être installé ou
  libavcodec-extra-52 (>=4:0.5.1-1ubuntu1.1) mais 4:0.5.1-1ubuntu1 doit être installé
 Dépend : libavdevice52 mais ne doit pas être installé ou
  libavdevice-extra-52 (>=4:0.5.1-1ubuntu1.1) mais 4:0.5.1-1ubuntu1 doit être installé
  Dépend : libavfilter0 (>=4:0.5.1-1ubuntu1.1) mais 4:0.5.1-1ubuntu1 doit être installé ou
  libavfilter-extra-0 mais ne doit pas être installé
 Dépend : libavformat52 mais ne doit pas être installé ou
  libavformat-extra-52 (>=4:0.5.1-1ubuntu1.1) mais 4:0.5.1-1ubuntu1 doit être installé
 Dépend : libavutil49 mais ne doit pas être installé ou
  libavutil-extra-49 (>=4:0.5.1-1ubuntu1.1) mais 4:0.5.1-1ubuntu1 doit être installé
 Dépend : libpostproc51 mais ne doit pas être installé ou
  libpostproc-extra-51 (>=4:0.5.1-1ubuntu1.1) mais 4:0.5.1-1ubuntu1 doit être installé
 Dépend : libswscale0 mais ne doit pas être installé ou
  libswscale-extra-0 (>=4:0.5.1-1ubuntu1.1) mais 4:0.5.1-1ubuntu1 doit être installé

apt-cache policy libavcodec-extra-52 libavutil-extra-49
libavcodec-extra-52:
  Installé : 4:0.5.1-1ubuntu1
  Candidat : 4:0.5.1-1ubuntu1
 Table de version :
 *** 4:0.5.1-1ubuntu1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ lucid/multiverse Packages
        100 /var/lib/dpkg/status
libavutil-extra-49:
  Installé : 4:0.5.1-1ubuntu1
  Candidat : 4:0.5.1-1ubuntu1
 Table de version :
 *** 4:0.5.1-1ubuntu1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ lucid/multiverse Packages
        100 /var/lib/dpkg/status

Revision history for this message
Krzysztof Debski (fantom15) wrote :

I can confirm the problem on Ubuntu 10.04

example:

libavdevice52:
  Zainstalowana: 4:0.5.1-1ubuntu1
  Kandydująca: 4:0.5.1-1ubuntu1.1
  Tabela wersji:
     4:0.5.1-1ubuntu1.1 0
        500 http://ubuntu.task.gda.pl/ubuntu/ lucid-security/main Packages
        500 http://ubuntu.task.gda.pl/ubuntu/ lucid-updates/main Packages
 *** 4:0.5.1-1ubuntu1 0
        500 http://ubuntu.task.gda.pl/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

llogan (loul)
Changed in ffmpeg (Ubuntu):
status: New → Confirmed
Revision history for this message
Dante (gregory-brutsches) wrote :

I don't believe this is dependent on lucid-proposed. I am also affected and I only have lucid-security and lucid-updates enabled. I also have the medibuntu repo in my software sources and it has been there for years.

If I run apt-cache policy I get the same result as Paul Crawford.

Please let mo know what (if any) further information I can provide to help.

Revision history for this message
James (ubuntu-soundunreason) wrote :

I am seeing this on three out of five 10.04 machines. They do have Medibuntu enabled. If there is any comparison testing we might do, that would be easy enough here. Also, there is this Ubuntu thread for additional information:

http://ubuntuforums.org/showthread.php?t=1722254

Revision history for this message
FrancisT (francis-turner) wrote :

This is affecting me too

lucid-security lucid-updates, universe and multiverse enabled no medibuntu

Also some 3rd party repos e.g. google chrome, google talkplugin, vpol-yate and ubuntuzilla

Revision history for this message
FrancisT (francis-turner) wrote :

Clicked post too soon. The libraries that are held back for me are

libavdevice52 libavformat52 libpostproc51 libswscale0

There is no ffmpeg in this list

Revision history for this message
FrancisT (francis-turner) wrote :

From the linked forum thread a workaround appears to be to manually install libavutil49 and then install the various libraries that failed to upgrade. It worked for me with a few bobbles as various other packages deinstalled themselves automatically and needed to be reinstalled. Specifically xvidcap removed itself and when I readded it, it removed vlc so I had to readd that.

[CODE]
sudo apt-get install libavutil49
sudo apt-get install libavdevice52 libavformat52 libpostproc51 libswscale0
sudo apt-get install xvidcap
sudo apt-get install vlc-nox vlc-plugin-pulse vlc mozilla-plugin-vlc
[/CODE]

It looks to me like the various AV dependency trees have got tangled

Revision history for this message
Paul Crawford (psc-sat) wrote :

Thanks Francis, but this is not enough. This is a SECURITY PROBLEM for Ubuntu as a whole, since a significant proportion of machines are not being updated properly for the security fix to the various AV libraries.

It needs the package manager system to be fixed to correct this tangle for all those with automatic updates who expect (quite reasonably) for things to "just work".

Revision history for this message
Peter Low (ptrlow) wrote :

 ormat52 libpostproc51 libswscale0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  ffmpeg: Depends: libavcodec52 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                   libavcodec-extra-52 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
          Depends: libavutil49 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                   libavutil-extra-49 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
  libavdevice52: Depends: libavcodec52 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                          libavcodec-extra-52 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
                 Depends: libavutil49 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                          libavutil-extra-49 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
  libavfilter0: Depends: libavcodec52 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                         libavcodec-extra-52 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
                Depends: libavutil49 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                         libavutil-extra-49 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
  libavformat52: Depends: libavcodec52 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                          libavcodec-extra-52 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
                 Depends: libavutil49 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                          libavutil-extra-49 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
  libpostproc51: Depends: libavutil49 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                          libavutil-extra-49 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
  libswscale0: Depends: libavutil49 (>= 4:0.5.1-1ubuntu1.1) but it is not going to be installed or
                        libavutil-extra-49 (>= 4:0.5.1-1ubuntu1.1) but 4:0.5.1-1ubuntu1+medibuntu1 is to be installed
E: Broken packages

I would think that various AV dependency trees may be messed up completely, and would prevent us from updating these packages.

Revision history for this message
Paddy Landau (paddy-landau) wrote :

Affects me as well on three machines:

Ubuntu Lucid 32-bit
Ubuntu Lucid 64-bit
Lubuntu Lucid 32-bit

It seems to be widespread.

Revision history for this message
Nach0 (guidoignacio) wrote :

I have a version 10.04 and i solved this problem so:

1) sudo aptitude update
2) sudo aptitude dist-upgrade (This step must be repeated until you resolve all the dependencies, 5 or 6 times)

Although not the cause of the problem, I await developments....

bye!!

Nach0

Revision history for this message
Matt Burns (who.is.matt.burns) wrote :

Affecting me as well on both 32-bit and 64-bit versions of Ubuntu 10.04.2.

I have the main, universe, restricted, multiverse, lucid-security, lucid-updates, and medibuntu repositories enabled, but not lucid-proposed or lucid-backports.

Revision history for this message
yarekku@gmail.com (yarekku) wrote :

Czytanie list pakietów...
Budowanie drzewa zależności...
Odczyt informacji o stanie...
Następujące pakiety zostały zatrzymane:
  ffmpeg libavdevice52 libavfilter0 libavformat52 libpostproc51 libswscale0
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 6 nieaktualizowanych.

Revision history for this message
Tommy Trussell (tommy-trussell) wrote :

Confirming that Aptitude dist-upgrade was able to resolve the dependencies and update the packages.

Revision history for this message
Jeff Hinrichs (jeffh-delasco) wrote :

I was able to resolve the dependency issue with a straight apt-get update

$ sudo apt-get update
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  ffmpeg libavcodec-extra-52 libavcodec-unstripped-52 libavdevice52 libavfilter0 libavformat52 libavutil-extra-49 libpostproc51 libswscale0 skype
10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ sudo apt-get update
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

This differs from previous post that used dist-upgrade to resolve the problem.

Revision history for this message
m4lin (m4lin) wrote :

Had the same problem without medibuntu repository. A regular update 5min ago, over the update-manager installed all packages without any problem. Problem is fixes for me.

Ubuntu 10.04 64 bit

Revision history for this message
Robert Spanjaard (spamtrap-arumes) wrote :

I've had this problem as well for a couple of days. But I just tried another update from the Update Manager, and it seems to be fixed.

Changed in ffmpeg (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Paul Crawford (psc-sat) wrote :

It looks as if it is fixed now, maybe a by-product of a fix for bug #752013 that was reported as fixed (email I got 06/04/11 17:52).

I run the update manager this evening and it was able to update all of the libraries that ffmpeg needs, then synaptic could add ffmpeg back in as normal.

Will check with others that won't have fiddled with things, but looks as if its now solved. Happy!

Revision history for this message
RF (ross1234) wrote :

I followed Jeff's Steps (https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/751114/comments/18) and that fixed it!

Thanks Y'all!

Revision history for this message
launchpadmember (lpuser1138) wrote :

I followed Jeff's Steps (https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/751114/comments/18) and this did NOT fix it. Here is my output:

~$ sudo apt-get update
Fetched 3,758B in 3s (976B/s)
Reading package lists... Done
~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  ffmpeg libavdevice52 libavfilter0 libavformat52 libpostproc51 libswscale0
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Does any one else have any other thoughts or possible fixes for this, or is my only option to do multiple distribution upgrades like Nach0 explains in post #14 of this bug thread?:
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/751114/comments/14

Revision history for this message
launchpadmember (lpuser1138) wrote :

I've solved the problem I was having in post #23 above.
I had to install libavutil49 first before the upgrade would work. Here is the truncated output:

~$ sudo apt-get install libavutil49
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libavcodec52 libavformat52
The following packages will be REMOVED:
  libavcodec-extra-52 libavutil-extra-49
The following NEW packages will be installed:
  libavcodec52 libavutil49
The following packages will be upgraded:
  libavformat52
1 upgraded, 2 newly installed, 2 to remove and 5 not upgraded.
Need to get 2,643kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Fetched 2,643kB in 2s (1,218kB/s)
Setting up libavutil49 (4:0.5.1-1ubuntu1.1) ...
Setting up libavcodec52 (4:0.5.1-1ubuntu1.1) ...
Setting up libavformat52 (4:0.5.1-1ubuntu1.1) ...
Processing triggers for libc-bin ...

~$ sudo apt-get update
Fetched 3,758B in 3s (970B/s)
Reading package lists... Done

~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  ffmpeg libavdevice52 libavfilter0 libpostproc51 libswscale0
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 647kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Fetched 647kB in 1s (348kB/s)
Setting up libavdevice52 (4:0.5.1-1ubuntu1.1) ...
Setting up libavfilter0 (4:0.5.1-1ubuntu1.1) ...
Setting up libpostproc51 (4:0.5.1-1ubuntu1.1) ...
Setting up libswscale0 (4:0.5.1-1ubuntu1.1) ...
Setting up ffmpeg (4:0.5.1-1ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

synaptic shows all packages up to date and security fixes in place.
Thanks for all the helpful suggestions. :)

Revision history for this message
Vítor E. Silva Souza (vitorsouza) wrote :

If I understand correctly, there are two library sets that can be installed. The ones with -extra-

libavcodec-extra-52 libavfilter-extra-1 libavutil-extra-50 libavdevice-extra-52 libavformat-extra-52 libpostproc-extra-51 libswscale-extra-0

Or the ones without:

libavcodec52 libavfilter1 libavutil50 libavdevice52 libavformat52 libpostproc51 libswscale0

The ones without were installed in my system. When I issued the following command (obviously replacing the variables with meaningful information):

ffmpeg -i "$vidFile" -an -pass 1 -vcodec libx264 -vpre slow_firstpass -b $BIT_RATE -bt $BIT_RATE -threads 0 "$outFile"

I got the following error:

Unknown encoder 'libx264'

Then I installed the versions with -extra- in their names and that command worked. But that was only the 1st pass of the X264 encoding. When I proceeded to the 2nd pass:

ffmpeg -y -i "$vidFile" -acodec libfaac -ab 128k -pass 2 -vcodec libx264 -vpre slow -b $BIT_RATE -bt $BIT_RATE -threads 0 "$outFile"

I got the following error:

Unknown encoder 'libfaac'

I tried installing packages x264 and faac, but the problem persists.

I wanna thank the developers in advance for working in a solution for this, as I'd like to resume X264 conversion of my AVI files. Let me know if you need any more information about my system.

Revision history for this message
mazurkin (mazurkin) wrote :

I found that my video converter script became broken after some update

$ dpkg --get-selections | grep 52
liba52-0.7.4 install
libavcodec-extra-52 install
libavdevice52 install
libavformat52 install
libnewt0.52 install

and now this command

ffmpeg "${FILE_INPUT}" -f mp4 -vcodec mpeg4 -b 500k -r 25 -s 640x360 -acodec libfaac -ar 22050 -ab 64k -ac 1 -threads 3 "${FILE_OUTPUT}"

fails with the following message

Unknown encoder 'libfaac'

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 751114] Re: ffmpeg unresolvable dependancies

On Sat, Apr 16, 2011 at 06:30:45 (CEST), mazurkin wrote:
> and now this command
>
> ffmpeg "${FILE_INPUT}" -f mp4 -vcodec mpeg4 -b 500k -r 25 -s 640x360
> -acodec libfaac -ar 22050 -ab 64k -ac 1 -threads 3 "${FILE_OUTPUT}"
>
> fails with the following message
>
> Unknown encoder 'libfaac'

This issue is tracked as bug #412063

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Jim Belton (jim-belton) wrote :

I'm seeing this on Ubuntu 12.04 LTS. When I try to update, I get:

$ sudo apt-get upgrade ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  ffmpeg libav-tools libavcodec-extra-53 libavdevice53 libavfilter2 libavformat-extra-53 libavutil-extra-51 libpostproc-extra-52
  libswscale-extra-2 software-center
...

The workaround is unavailable on 12.04:

$ sudo apt-get install libavutil49
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libavutil49

Revision history for this message
RJBradlow (rjbradlow) wrote :

<b>NOTES from Synaptic under the Filters: Status > installed (Upgradable) --- Select / Highlight: ! libavutil-extra-49</b>

<blockquote>
This is the common utility library from the ffmpeg project. It is required
by all other ffmpeg libraries.

<b>This package contains a unrestricted version of the libavutil shared
object that should only be used by Debian packages.</b>
</blockquote>

COMMENT:
Lucid
I Marked libavutil-extra-49 for Complete Removal which resulted in this self healing solution:

melt deinstall
libmjpegtools-1.9 deinstall
libswscale0 install
dvgrab deinstall
libavutil49 install
ogmrip-ac3 deinstall
kdenlive deinstall
libmlt++3 deinstall
ogmrip-doc deinstall
cinelerra-cv deinstall
dvd95 deinstall
subtitleripper deinstall
libquicktime1 deinstall
gstreamer0.10-plugins-bad-multiverse deinstall
libavfilter0 install
libavutil-extra-49 deinstall
mplayer deinstall
libavdevice52 install
mencoder deinstall
ogmrip deinstall
libavcodec52 install
ogmrip-video-copy deinstall
libpostproc-extra-51 deinstall
ogmrip-mpeg deinstall
acetoneiso deinstall
h264enc deinstall
libswscale-extra-0 deinstall
ffmpeg install
libpostproc51 install
transcode deinstall
acidrip deinstall
libavformat52 install
mjpegtools deinstall
ogmrip-profiles deinstall
libmlt2 deinstall
libavcodec-extra-52 deinstall

In Exhaustive Detail:

libavutil-extra-49 will be removed with configuration
acetoneiso will be removed
acidrip will be removed
cinelerra-cv will be removed
dvd95 will be removed
dvgrab will be removed
gstreamer0.10-plugins-bad-multiverse will be removed
h264enc will be removed
kdenlive will be removed
libavcodec-extra-52 will be removed
libmjpegtools-1.9 will be removed
libmlt++3 will be removed
libmlt2 will be removed
libpostproc-extra-51 will be removed
libquicktime1 will be removed
libswscale-extra-0 will be removed
melt will be removed
mencoder will be removed
mjpegtools will be removed
mplayer will be removed
ogmrip will be removed
ogmrip-ac3 will be removed
ogmrip-doc will be removed
ogmrip-mpeg will be removed
ogmrip-profiles will be removed
ogmrip-video-copy will be removed
subtitleripper will be removed
transcode will be removed
ffmpeg (version 4:0.5.9-0ubuntu0.10.04.1) will be upgraded to version 4:0.5.9-0ubuntu0.10.04.3
libavdevice52 (version 4:0.5.9-0ubuntu0.10.04.1) will be upgraded to version 4:0.5.9-0ubuntu0.10.04.3
libavfilter0 (version 4:0.5.9-0ubuntu0.10.04.1) will be upgraded to version 4:0.5.9-0ubuntu0.10.04.3
libavformat52 (version 4:0.5.9-0ubuntu0.10.04.1) will be upgraded to version 4:0.5.9-0ubuntu0.10.04.3
libavcodec52 (version 4:0.5.9-0ubuntu0.10.04.3) will be installed
libavutil49 (version 4:0.5.9-0ubuntu0.10.04.3) will be installed
libpostproc51 (version 4:0.5.9-0ubuntu0.10.04.3) will be installed
libswscale0 (version 4:0.5.9-0ubuntu0.10.04.3) will be installed

Reinstall any media players from the Safe repos.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.