

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
