If you want full gpu cuda decode and scale and encod :įfmpeg -y -hwaccel cuda -hwaccel_output_format cuda -hwaccel_device cuda -i input.mkv -filter_complex scale_cuda=1280:-2,hwdownload,format=p010le,format=nv12,hwupload -sn -c:a copy -c:v h264_nvenc -preset p7 -tune 1 -multipass fullres -rc-lookahead 32 -rc vbr -cq 30 -zerolatency 1 output.mkvįfmpeg -y -hwaccel cuda -hwaccel_output_format cuda -hwaccel_device cuda -i input.mkv -filter_complex “scale_cuda=1280:-2,hwdownload,format=nv12” -sn -c:a copy -c:v h264_nvenc -preset p7 -tune 1 -multipass fullres -rc-lookahead 32 -rc vbr -cq 30 -zerolatency 1 output. Use one of these models in ffmpeg with sr. (you can check that model works by evaluating. I worked all the way through this once with a GeForce GT710 (capability of 3.5) only to get to the final ffmpeg upscaling for it to tell me I needed a capability of 6.0. You can do cpu & gpu, decode and scale and encod without -vf, like this :įfmpeg -i input.mkv -s 444x250 -c:a copy -c:v h264_nvenc -pix_fmt yuv420p -preset p7 -tune ull -multipass fullres -rc_lookahead 32 -rc vbr -cq 29 -zerolatency 1 -gpu 0 output.mkvįfmpeg -i input.mkv -s 444x250 -c:a copy -c:v h264_nvenc -preset p7 -tune ull -multipass fullres -rc_lookahead 32 -rc vbr -cq 29 -zerolatency 1 -gpu 0 output.mkv environment OS:Centos7 FFMPEG version: 4.2 GPU: NVIDIA Tesla T4 I have a requirement to work with multiple FFMPEG instance,command like this: ffmpeg -y -loglevel info -hwaccel cuvid -. A CUDA enabled GPU with a capability of at least 6.0. It’s important if you mix between Quick Sync Video & nvidia.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |