-
Notifications
You must be signed in to change notification settings - Fork 345
Ubuntu22.04 ERROR: cuvid requested, but not all dependencies are satisfied: ffnvcodec #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
getting the same error |
Im also getting the same error on Ubuntu 22 |
Also on Ubuntu 22.04 WSL2 |
I am also getting the same error on ubuntu 22 |
any workaround for this? |
workaround: in "FFmpeg" section, change configure line: ./configure "${CONFIGURE_OPTIONS[@]}" \ with: PKG_CONFIG_PATH="/usr/src/ffmpeg-build-script/workspace/usr/lib/pkgconfig" ./configure "${CONFIGURE_OPTIONS[@]}" \ in mi case: $WORKSPACE = /usr/src/ffmpeg-build-script/workspace (adjust to your environment) cuda must be installed and nv-codec-headers must be auto compiled by ffmpeg-build-script in previous step. |
I had this issue but the workaround didn't work for me. I posted in another thread a similar issue with what worked for me, #187 (comment) |
ERROR: cuvid requested, but not all dependencies are satisfied: ffnvcodec the error is due to the fact that in the script there is disable-ffnvcodec in the ffmpeg build configuration, item that must be deleted "--disable-ffnvcodec" and also modified the script as follows: if [[ "$OSTYPE" == "linux-gnu" ]]; then
else Vaapi doesn't work well with static links FFmpeg.if [ -z "$LDEXEFLAGS" ]; then if build "amf" "1.4.29"; then |
END /tmp/ffconf.39FjTVXM/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/root/ffmpeg-build-script/workspace/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -fPIC -pthread -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include/opus -I/root/ffmpeg-build-script/workspace/include/opus -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include/srt -I/root/ffmpeg-build-script/workspace/include/svt-av1 -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/usr/include/libxml2 -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -Os -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -c -o /tmp/ffconf.39FjTVXM/test.o /tmp/ffconf.39FjTVXM/test.c
check_cflags -fdiagnostics-color=auto
test_cflags -fdiagnostics-color=auto
test_cc -fdiagnostics-color=auto
BEGIN /tmp/ffconf.39FjTVXM/test.c
1 int x;
END /tmp/ffconf.39FjTVXM/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/root/ffmpeg-build-script/workspace/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -fPIC -pthread -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include/opus -I/root/ffmpeg-build-script/workspace/include/opus -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include/srt -I/root/ffmpeg-build-script/workspace/include/svt-av1 -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/usr/include/libxml2 -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -Os -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -c -o /tmp/ffconf.39FjTVXM/test.o /tmp/ffconf.39FjTVXM/test.c
test_cflags -Wmaybe-uninitialized
test_cc -Wmaybe-uninitialized
BEGIN /tmp/ffconf.39FjTVXM/test.c
1 int x;
END /tmp/ffconf.39FjTVXM/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/root/ffmpeg-build-script/workspace/include -I/usr/local/cuda/include -std=c11 -fomit-frame-pointer -fPIC -pthread -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include/opus -I/root/ffmpeg-build-script/workspace/include/opus -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include/srt -I/root/ffmpeg-build-script/workspace/include/svt-av1 -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/root/ffmpeg-build-script/workspace/include -I/usr/include/libxml2 -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -Os -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wmaybe-uninitialized -c -o /tmp/ffconf.39FjTVXM/test.o /tmp/ffconf.39FjTVXM/test.c
ERROR: cuvid requested, but not all dependencies are satisfied: ffnvcodec
The text was updated successfully, but these errors were encountered: