You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ffmpeg -filters|grep scale
... alphaextract V->V Extract an alpha channel as a grayscale image component.
... extractplanes V->N Extract planes as grayscale frames.
..C scale V->V Scale the input video size and/or convert the image format.
... scale_cuda V->V GPU accelerated video resizer
..C scale2ref VV->VV Scale the input video size and/or convert the image format to the given reference
When trying to use scale_cuda instead it also does not work:
ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i S05E12.mkv -vf scale_cuda=1280:720,format_cuda=rgbpf32le,tensorrt=realesr-animevideov3_2080ti_720x1280_fasterDynamicShapes0805.engine,format_cuda=nv12 -c:v h264 out.mkv
ffmpeg version b1aea74 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04.1)
configuration: --disable-ptx-compression --enable-cvcuda --enable-libtensorrt --extra-cflags=-I/opt/nvidia/cvcuda0/include/ --disable-static --enable-shared --enable-nonfree --enable-cuda-nvcc --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --nvccflags='-gencode arch=compute_75,code=sm_75 -I./' --extra-libs=-lstdc++ --enable-cuda
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
Input #0, matroska,webm, from 'S05E12.mkv':
Metadata:
encoder : libebml v1.3.0 + libmatroska v1.4.0
creation_time : 2014-09-12T13:47:28.000000Z
Duration: 00:49:02.48, start: 0.000000, bitrate: 7292 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
Stream #0:2(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Stream #0:3(eng): Subtitle: subrip
File 'out.mkv' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_v4l2m2m))
Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))
Stream #0:3 -> #0:2 (subrip (srt) -> ass (ssa))
Press [q] to stop, [?] for help
[AVFilterGraph @ 0x55b037cacb80] Too many inputs specified for the "format_cuda" filter.
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!
The text was updated successfully, but these errors were encountered:
Just got back from vacation, sorry for the late reply.
From the output of configure, you have nvdec decoders but no nvenc encoders. The scale_npp filter requires libnpp. Do you have a complete CUDA install in your environment? Also, have you installed the nv-codec-headers?
nv-codec-headers is responsible for many hours lost.
The right version is 11.1.5.3 - the last 11.X version.
Despite a new nvidia kernel/driver installed, nv-codec-headers must be < 12.X.
Works with the latest 545.23.06 kernel/driver.
Hi,
I followed your guide but it seems it is incomplete. No scale_npp, also no nvdec/nvenc decoders/encoders
When trying to use scale_cuda instead it also does not work:
The text was updated successfully, but these errors were encountered: