I need to install ffmpeg (and ffprobe and libmp3lame) in my C9 workspace, and it turns out this is particularly tricky on Ubuntu 14.04.
The full situation is described here:
Some suggest just installing the ‘avconv’ fork instead, but I’m trying to use an NPM module (fluent-ffmpeg) which wants ffmpeg and it sounds like there are differences. I think most users would want the ‘real’ ffmpeg.
So I decided to try the solution proposed in this answer:
I skipped the dist-upgrade step, as did others.
sudo apt-get install ppa-purge
sudo ppa-purge ppa:mc3man/trusty-media
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg
The final command produces the following output:
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘ffmpeg’ has no installation candidate
Sounds like ffmpeg is no longer available in this PPA, but that was the most up-to-date suggestion I could find.
Any beter ideas?