![]() Error initializing filter 'scale_cuda' with args '1920:1080:1:4:flags=bicubic'įfmpeg version N-103221-gc3ef9e0277 Copyright (c) 2000-2021 the FFmpeg developersīuilt with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)Ĭonfiguration: -pkg-config-flags=-static -enable-nonfree -enable-gpl -enable-version3 -enable-libmp3lame -enable-libvpx -enable-libopus -enable-opencl -enable-libxcb -enable-opengl -enable-nvenc -enable-vaapi -enable-vdpau -enable-ffplay -enable-ffprobe -enable-libxvid -enable-libx264 -enable-libx265 -enable-openal -enable-openssl -enable-cuda-nvcc -enable-cuvid -extra-cflags=-I/usr/lcal/cuda/include -extra-ldflags=-L/usr/local/cuda/lib64 -extra-libs=-lpthread I also tried changing scale=ih*16/9:-1 to scale_cuda=1920:1080:1:4 but then I have this error Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0' Sudo ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i /home/anon/project/MEDIAFILES/videos_edited/6985595461386128645_3.mp4 -filter_complex 'scale=ih*16/9:-1:flags=bicubic,boxblur=luma_radius=min(h\,w)/20:luma_power=2:chroma_radius=min(cw\,ch)/20:chroma_power=1 overlay=(W-w)/2:(H-h)/2,crop=h=iw*9/16 hwupload_cuda' -c:a copy -c:v h264_nvenc -b:v 5M /home/anon/project/MEDIAFILES/videos_edited/output.mp4 I tried editing my old command a bit while including the complex filter but I get this error now. ![]() This is the test I ran from this page which works at 17% gpu usage (I have a msi gtx 1660) Hi I'm back again, I followed some tests from this page and hardware acceleration seems to be working with 17% gpu usage and 44w of power draw vs 0% usage and 0% power draw when running my old command.įfmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i /home/anon/project/MEDIAFILES/videos_edited/6985595461386128645_3.mp4 -vf scale_cuda=3840:2160 -c:a copy -c:v h264_nvenc -b:v 5M /home/anon/project/MEDIAFILES/created_videos/finalvideo_user_root_projectId_2.mp4 -vf scale_cuda=1280:720 -c:a copy -c:v h264_nvenc -b:v 8M /home/anon/project/MEDIAFILES/created_videos/finalvideo_user_root_projectId_1.mp4
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |