sorry for my bad English,
I know I cannot use multiple GPUs as an FFMPEG accelerator,
so my question is :
can the FFMPEG encoding (hevc_nvenc) work using GPU only without (or minimum) CPU usage?
so I can do the encoding simultaneously?
Note : I am Already Using Multiple GPUs for Python Torch (CUDA)
thank you for reading, have a nice day
+ Reply to Thread
Results 1 to 5 of 5
-
-
You can encode with CPU or GPU. If you are using GeForce cards, there is no support for multiple encoders on the gaming GPUs. If you want multiple encoders on NVIDIA GPUs you will need to switch over to Nvidia compute or professional cards on the Tesla or Quadro class.
If you are just encoding or decoding video streams the the T4 will serve you best. The gaming cards sacrificed video encoders for gaming performance.Last edited by titoCA321; 3rd Jul 2023 at 06:38.
-
You can use multiple GPU's - everything depends on proper configuration - check https://developer.nvidia.com/blog/nvidia-ffmpeg-transcoding-guide/ or https://stackoverflow.com/questions/65983094/how-use-ffmpeg-multi-gpu-proccess
NVidia provide also guides how to minimize CPU usage (keeping all video processing close to GPU as much as possible so CPU will be used in few % perhaps).
Also some non Quadro cards support multiple NVEnc instances (technically you encode not on GPU but on dedicated SoC being part of GPU - this SoC is called NVEnc)
check https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new , beside to this most of NVEnc instances can support concurrent sessions (so multiple streams encoded at a cost of speed).
https://docs.nvidia.com/video-technologies/video-codec-sdk/12.1/ffmpeg-with-nvidia-gpu/index.html -
Similar Threads
-
ffmpeg doesnot make use of CPU and result in poor performance
By irous in forum Newbie / General discussionsReplies: 2Last Post: 16th Sep 2022, 08:23 -
how do i add libx264 and hevc to ffmpeg when i compile ffmpeg for ubuntu 21
By oduodui in forum Newbie / General discussionsReplies: 2Last Post: 17th Jul 2021, 04:12 -
Get the complete FFmpeg command line when using FFmpeg Batch Converter
By pascor in forum Newbie / General discussionsReplies: 8Last Post: 13th May 2021, 23:14 -
Can ffmpeg be throttled down to not use all of the CPU cycles?
By BosseB in forum Video Streaming DownloadingReplies: 8Last Post: 14th Mar 2021, 09:53 -
1080p 60fps mp4 capture device...that uses device CPU not PCs CPU?
By Blackout in forum Capturing and VCRReplies: 36Last Post: 11th Sep 2018, 12:40