Install-OpenCV icon indicating copy to clipboard operation
Install-OpenCV copied to clipboard

Installation error: ffmpeg

Open kaushikpavani opened this issue 10 years ago • 3 comments

Tried to install OpenCV in Ubuntu 14.04, got the following error.

--- Installing dependency: ffmpeg Reading package lists... Done Building dependency tree
Reading state information... Done 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

kaushikpavani avatar May 17 '14 14:05 kaushikpavani

sudo add-apt-repository ppa:jon-severinsson/ffmpeg
sudo apt-get update
sudo apt-get install ffmpeg 

press n when ask what to do with unmet dependencies start ./install_latest.sh again

ffmpeg version 1.2.6-7:1.2.6-1~trusty1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr 26 2014 18:52:58 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --arch=amd64 --disable-stripping --enable-avresample --enable-pthreads --enable-runtime-cpudetect --extra-version='7:1.2.6-1~trusty1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    53.  5.103 / 53.  5.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Hyper fast Audio and Video encoder

a0s avatar Jun 04 '14 10:06 a0s

OpenCV built fine with ffmpeg support even when I did not add that repos.

I did make sure to install libav-tools.

cancan101 avatar Aug 14 '14 19:08 cancan101

Ubuntu 14.04 LTS now ships with libav-tools instead of ffmpeg

http://askubuntu.com/questions/432542/is-ffmpeg-missing-from-the-official-repositories-in-14-04

arky avatar Oct 23 '14 13:10 arky