Jetson FFMPEG install fails on r32.7

Following the instructions to install FFMPEG from the Nvidia repos no longer works (https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/multimedia.html#wwpID0E0IB0HA) .

$ sudo apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 https://repo.download.nvidia.com/jetson/ffmpeg main InRelease
Get:3 https://repo.download.nvidia.com/jetson/common r32.7 InRelease [2,555 B]
Get:4 https://repo.download.nvidia.com/jetson/t194 r32.7 InRelease [2,550 B]
Get:5 https://repositories.timber.io/public/vector/deb/ubuntu bionic InRelease [4,949 B]
Hit:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:8 https://apt.releases.teleport.dev/ubuntu bionic InRelease
Hit:9 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Get:10 https://repo.download.nvidia.com/jetson/ffmpeg main/main Sources [952 B]
$ sudo apt-get install ffmpeg
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: libaom0 (>= 1.0.0) but it is not installable
          Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.6 is to be installed
          Depends: libcdio-cdda2 (>= 10.2+2.0.0) but 10.2+0.94+2-2build1 is to be installed
          Depends: libcdio-paranoia2 (>= 10.2+2.0.0) but 10.2+0.94+2-2build1 is to be installed
          Depends: libcodec2-0.9 but it is not installable
          Depends: libgnutls30 (>= 3.6.12) but 3.5.18-1ubuntu1.5 is to be installed
          Depends: libgsm1 (>= 1.0.18) but 1.0.13-4build1 is to be installed
          Depends: libmysofa1 (>= 0.7~) but it is not installable
          Depends: librubberband2 (>= 1.8.2) but 1.8.1-7ubuntu2 is to be installed
          Depends: libsdl2-2.0-0 (>= 2.0.10) but 2.0.8+dfsg1-1ubuntu1.18.04.4 is to be installed
          Depends: libsnappy1v5 (>= 1.1.8) but 1.1.7-1 is to be installed
          Depends: libsndio7.0 (>= 1.1.0) but it is not installable
          Depends: libssh-gcrypt-4 (>= 0.8.0) but 0.8.0~20170825.94fa1e38-1ubuntu0.7 is to be installed
          Depends: libva2 (>= 2.2.0) but 2.1.0-3 is to be installed
          Depends: libvidstab1.1 but it is not installable
          Depends: libvpx6 (>= 1.6.0) but it is not installable
          Depends: libwebpmux3 (>= 0.6.1-2ubuntu0.20.04.1) but 0.6.1-2ubuntu0.18.04.1 is to be installed
          Depends: libx264-155 but it is not installable
          Depends: libx265-179 (>= 3.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

This use to work. Is the package repo now broken for Ubuntu 18.04?

Hi,
Please try the two cases:
[download prebuilt package]
Hardware accelerated video playback with L4T ffmpeg - #7 by DaneLLL
[download source code]
Jetson TX2 and FFmpeg - Can't initialize nvrm channel - #5 by DaneLLL

Hi @DaneLLL, the instructions I posted to the docs are the same as the first solution you provided, i.e. downloading the prebuilt package. This has worked for us for the past year, but has recently broken. I’m guessing the release of r35.1 has affected this package repo because there is no version attached to it:

https://repo.download.nvidia.com/jetson/ffmpeg main InRelease

There is no Ubuntu/L4T specific identifier for the repository. I think the documentation is either now outdated or the repo is broken for older L4T versions. Can you confirm that installing ffmpeg using this repo still works for you? It’s broken on all of our systems.

@DaneLLL this is issue is still persisting. Can you confirm that the issue is on your side?

Hi,
We can observe the issue. It is under investigation. Will update.

1 Like

Hi,
Please try

$ sudo apt install ffmpeg=7:4.2.2-nvidia.1

I can confirm that this is working now.

Are there plans to fix this without pinning the version?

Hi,
We think it is fine to specify the version for r32.7. Without version, it will install latest version.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.