root@ubuntu:/home/chendongpu/Downloads/ffmpeg# ./configure --prefix=/usr/local/ffmpeg --enable-cross-compile --disable-x86asm --enable-libfreetype --enable-avfilter --enable-libfontconfig --enable-indev=alsa --enable-outdev=alsa --enable-small --arch=x86_64 --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libx264 --enable-libx265 --enable-nvenc --enable-gpl --enable-nonfree --enable-swresample --enable-filter=delogo --enable-debug --disable-optimizations
ERROR: opus not found using pkg-config
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.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
执行下面的命令即可解决
apt install libopus-dev