Ubuntu 16.04.6 LTS
and trying to install ffmpeg.
$ sudo apt install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
ffmpeg is already the newest version (7:4.1.3-0york1~16.04).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
cuda-libraries-dev-10-1 : Depends: libcublas-dev (>= 10.2.1.243) but it is not going to be installed
cuda-samples-10-1 : Depends: libcublas-dev (>= 10.2.1.243) but it is not going to be installed
cuda-visual-tools-10-1 : Depends: libcublas-dev (>= 10.2.1.243) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
It says ffmpeg is already the newest version, which it is not (V1.4 is the most current one afaik). I tried checking ffmpeg version:
$ ffmpeg -version
The program 'ffmpeg' is currently not installed. You can install it by typing:
sudo apt install ffmpeg
Note: I looked over other posts and added this apt repo: sudo add-apt-repository ppa:jonathonf/ffmpeg-4
I was able to install ffmpeg using pip3 and that installed to /usr/local/lib/python3.5/dist-packages/ffmpeg
.
Can anyone help with this problem?
You can try to build this from sources
$ tar xjf ffmpeg-4.2.1.tar.bz2
$ cd ffmpeg-4.2.1
And use instructions from INSTALL.md
file:
Type ./configure
to create the configuration. A list of configure options is printed by running configure --help
.
configure
can be launched from a directory different from the FFmpeg sources to build the objects out of tree. To do this, use an absolute path when launching configure
, e.g. /ffmpegdir/ffmpeg/configure
.
Then type make
to build FFmpeg. GNU Make 3.81 or later is required.
Type make install
to install all binaries and libraries you built.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments