PKG_CONFIG_PATH要包含ffnvcodec.pc的目录。 吾有详细的脚本,参考: https://quantum6.blog.csdn.net/article/details/106968971