![]() ![]() Hardware acceleration support for specific codecs are platform and driver-dependent. ![]() For their usability, please see ffmpeg -h filter=scale_npp and ffmpeg -h filter=scale_cuda respectively. The availability of these filters depends on how FFmpeg was configured, as explained below. Scaling operations are done with either scale_npp OR scale_cuda, as these run purely on the GPU. On a multi-GPU system, select a valid GPU as listed by nvidia-smi. ![]() GPU selection with NVDEC hardware acceleration is toggled via the global option -hwaccel_device 0 and for the encoder, via h264_nvenc's private codec option -gpu 0. See this for more information on NVENC capabilities, including the hardware acceleration infrastructure available to FFmpeg on capable NVIDIA hardware. The default GPU selected for NVENC is 0, and that the GPU is NVENC capable. Try these commands with the following assumptions: ![]()
0 Comments
Leave a Reply. |