ubuntu 16: having trouble installing ffmpeg (latest version)

Santino

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?

Andrey Prokopenko

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:

  1. 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.

  2. Then type make to build FFmpeg. GNU Make 3.81 or later is required.

  3. Type make install to install all binaries and libraries you built.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Having trouble while installing composer on ubuntu

From Dev

Having trouble installing Ubuntu Phone SDK

From Dev

installing the latest R version (2.13.0) on Ubuntu 11.04

From Dev

Having trouble installing PyTorch

From Dev

Having trouble installing AdminBundle

From Dev

Having trouble installing virtualbox-6.1 on ubuntu bionic

From Dev

Having trouble installing GDAL for python

From Dev

Having trouble installing octave packages

From Dev

Installing latest version of wxwidgets

From Dev

Trouble with installing GiNaC on Ubuntu

From Dev

Installing latest ubuntu on thinkpad?

From Dev

Trouble getting latest version of Git

From Dev

having trouble installing Kali Linux on GRUB

From Dev

Having trouble updating the repositories after installing docker

From Dev

Problems installing latest version of jenkins

From Dev

Pip installing latest version of matplotlib?

From Dev

Problems installing latest version of jenkins

From Dev

pacaur not installing latest version of package

From Dev

Having trouble booting Ubuntu 15.10

From Dev

trouble with Installing nloptr by locally on Ubuntu

From Dev

Trouble installing Meteor on Ubuntu 14.04

From Dev

trouble installing MySQL on Ubuntu 15.04

From Dev

Trouble installing Ubuntu on my desktop

From Dev

Trouble installing GHDL in Ubuntu 18.04.2

From Dev

Trouble installing WaoN, Ubuntu 16.04

From Dev

Latest scipy version on ubuntu

From Dev

Latest scipy version on ubuntu

From Dev

Installing latest titanium studio on latest Ubuntu 14.04

From Dev

Installing latest docker compose on Ubuntu