Docker image fails to build nvidia-l4t-jetson-multimedia-api

Hello
I am trying to build a modded FFMPEG version, to enable hardware encoding on Jetson (AGX Xavier, Nano 4G, Nano 2G), running on a Docker image.

A big dependency is that the docker image needs to be able to be built by Docker, both on the local machine, and on Github using github actions.

Also notice that the building itself of the modded FFMPEG needs to be done by docker during docker build (with a make command, not yet present on the below Dockerfile)

I am using as a base NVIDIA-l4t-base, but apt seems to fail finding nvidia-l4t-multimedia-api package (present on jetpack)

Here is the dockerfile

#system settings. Should be fine to leave them as it is
FROM nvcr.io/nvidia/l4t-base:r32.7.1

ENV DEBIAN_FRONTEND=noninteractive

RUN mkdir /opt/diana/
WORKDIR /opt/diana/

#Update the docker image. Add or remove commands accordingly to your software's needs:

RUN apt update

RUN apt install -y sudo git build-essential make cmake ffmpeg vim bash nvidia-l4t-jetson-multimedia-api

And here is the output:

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package nvidia-l4t-jetson-multimedia-api
The command '/bin/sh -c apt install -y nvidia-l4t-jetson-multimedia-api' returned a non-zero code: 100

Hi,
Please try this:
Jetson Xavier + docker + ffmpeg - #3 by DaneLLL

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