Opened 5 years ago

Last modified 5 years ago

#7924 new defect

FFmpeg configure complains about not finding ffnvcodec

Reported by: eero-t Owned by:
Priority: normal Component: build system
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

FFmpeg configure complains about missing ffnvcodec, although it's present.

How to reproduce:

$ git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
$ cd nv-codec-headers
$ make
$ sudo make install
$ pkg-config --modversion ffnvcodec
9.0.18.2
$ git clone  --depth 1 https://github.com/FFmpeg/FFmpeg
$ cd FFmpeg
$ ./configure --enable-cuvid

Gives:

ERROR: cuvid requested, but not all dependencies are satisfied: ffnvcodec

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

There's no error about ffnvcodec in config.log except the above bogus one. FFmpeg test including ffnvcodec headers compiles without any issues (both according to config.log, and when compiling the same code manually).

This is on Nvidia Jetson Nano with Nvidia's Ubuntu 18.04 based ARM SDK image.

Attachments (1)

config.log.gz (56.8 KB ) - added by eero-t 5 years ago.
FFmpeg build config.log

Download all attachments as: .zip

Change History (3)

by eero-t, 5 years ago

Attachment: config.log.gz added

FFmpeg build config.log

comment:1 by Hendrik, 5 years ago

nvcodec is not supported on ARM in ffmpeg.

comment:2 by eero-t, 5 years ago

How one is then supposed to do HW encoding with FFmpeg on Tegras?

VDPAU seems to support only decoding.

At least FFmpeg documentation, or FFmpeg configure error message should be updated to mention that the problem is about CPU architecture, not about finding ffnvcodec.

Note: See TracTickets for help on using tickets.