Skip to content
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

7.0.1-nvidia2204: no such filter scale_cuda #394

Open
akshetpandey opened this issue May 31, 2024 · 3 comments
Open

7.0.1-nvidia2204: no such filter scale_cuda #394

akshetpandey opened this issue May 31, 2024 · 3 comments

Comments

@akshetpandey
Copy link

root@809311c9143d:/# ffmpeg -version
ffmpeg version 7.0.1 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --disable-debug --disable-doc --disable-ffplay --enable-cuda --enable-cuvid --enable-fontconfig --enable-gpl --enable-libaom --enable-libaribb24 --enable-libass --enable-libbluray --enable-libfdk_aac --enable-libfreetype --enable-libkvazaar --enable-libmp3lame --enable-libnpp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libsrt --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzmq --enable-nonfree --enable-nvenc --enable-openssl --enable-postproc --enable-shared --enable-small --enable-version3 --extra-cflags='-I/opt/ffmpeg/include -I/opt/ffmpeg/include/ffnvcodec -I/usr/local/cuda/include/' --extra-ldflags='-L/opt/ffmpeg/lib -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib32/' --extra-libs=-ldl --extra-libs=-lpthread --prefix=/opt/ffmpeg
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100

ffmpeg -hwaccel cuda -hwaccel_output_format cuda -extra_hw_frames 18 -i video.mp4 -vf "scale_cuda=w=1080:h=-2:interp_algo=lanczos:force_original_aspect_ratio=decrease:force_divisible_by=2:passthrough=0" -c:v h264_nvenc -b:v 5M -maxrate:v 5M -bufsize:v 10M -c:a aac -ac:a 2 -ar:a 48000 -b:a 128k video1080p.mp4

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5642a8029cc0] Unknown cover type: 0x1.
[AVFilterGraph @ 0x5642a8042140] No such filter: 'scale_cuda'
[vost#0:0/h264_nvenc @ 0x5642a8041540] Error initializing a simple filtergraph
Error opening output file video1080p.mp4.
Error opening output files: Filter not found

@akshetpandey akshetpandey changed the title No such filter scale_cuda 7.0.1 nvidia2204: no such filter scale_cuda May 31, 2024
@akshetpandey akshetpandey changed the title 7.0.1 nvidia2204: no such filter scale_cuda 7.0.1-nvidia2204: no such filter scale_cuda May 31, 2024
@templarfelix
Copy link

maybe is better use scale_npp and transpose_npp

@akshetpandey
Copy link
Author

That requires --enable-cuda-nvcc

@templarfelix
Copy link

I use this version and works fine using cuda or npp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants