実行中
./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib
私は出会った
ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec
外部のNvidiaヘッダーリポジトリをクローンしたにもかかわらず、https://git.videolan.org/git/ffmpeg/nv-codec-headers.git、make と make install を実行します。
make installはffnvcodec.pcを/usr/local/lib/pkgconfig/に配置します。これは、実行時にリストされます。
pkg-config --variable pc_path pkg-config
PKG_CONFIG_PATH はデフォルトでは設定されていませんでしたが、上記コマンドの出力を PKG_CONFIG_PATH にエクスポートしてみました。
しかし、どれもうまくいきませんでした。私はmacOSを使用しています。何か見落としていることがあるのでしょうか?