r/obs • u/AsoraHaan • 19h ago
Question Encoder Help: CPU or GPU
Made a dedicated stream PC that has a RTX 2060 paired with a Ryzen 5900x (was leftover parts), should I use the CPU or the GPU to encode?
4
Upvotes
4
u/so_crstbal_ 19h ago
If you're not gaming on it, the CPU is a beast and will chew through encoding without breaking a sweat. The GPU is fine too but you might as well let the 12-core monster do the heavy lifting since it's just sitting there.
6
u/Zestyclose_Pickle511 19h ago
The gpu won't generate any heat and encode with near cpu encoding quality.
The cpu will be fully utilized and generate heat.
Try them both.
1
u/GiggleSamurai 16h ago
For a useful comparison, feed both encoders the same recorded clip at the same resolution, frame rate and bitrate, then compare motion-heavy sections. Keep View > Stats open to check skipped frames due to encoding lag as well as picture quality; CPU usage alone won't tell you which result is better.
1
u/ValorianTech 15h ago
Honestly you can't go wrong with either on a dedicated stream PC, but I'd start with NVENC on the RTX 2060.
The 2060 has Turing NVENC, which is already right around x264 Medium quality while running cooler, quieter, and completely rock-solid (use P5 or P6 preset with Psycho Visual Tuning on). The only reason to switch to the 5900X (x264 Medium or Slow) is if you're streaming super fast-motion/high-foliage games at Twitch's lower bitrate cap and want to tinker for that last few percent of sharpness.
2
u/Lonely_Cockroach6550 18h ago
faster preset good cooler for CPU...
2
u/teck_checking 13h ago
The gpu, since you are streaming, you can practically expect quality loss at the other end, your goal is to just reduce it to a minimum while having to also send less over your internet connection, so use the best encoder available (for your rtx 2060 i assume this will be h265) and test around for how low you can set the preset, before it starts to make the stream lag.