Live gameplay encoding with secondary Graphics Card?
22 minutes ago, CoolJosh3k said:I was wondering if, while running a game via a main GPU, can a second graphics card be used to handle the live video encoding?
In my mind; this is not possible as the video frames are processed on the main GPU and so you must either use the included encoder or capture the display signals w/ capture card.
I figure though that I don’t understand how the live encoding and I am just plain wrong. The idea that I could have the CPU do encoding instead too, really makes me think I am incorrect.
I would be quite happy to be wrong and learn that I could have a secondary graph is card just to handle the encoding, specifically in AV1. Of course I’d have to run my main graphics card in only x8 instead of x16, but maybe that is a reasonable trade of depending on the specific circumstances?
A program like OBS can "upload" uncompressed video frames from video card, can tell video card to apply some processing on the frames (resizing, sharpen, other stuff) , then compress to video and then download the compressed video from the video card.
So the original video card could be used to capture the game, and then "download" the raw frames from the video card instead of "copying" the raw frames to the hardware encoder that's located on the same video card.
If you want to use a second video card just for hardware encoding, that video card could be plugged even in a pci-e x1 slot (for 1080p/1440p recording) because it's just the raw video upload that needs bandwidth. A lot of motherboards have a bottom pci-e x16 slot connected to chipset which usually has only 4 or 2 actual pci-e lanes connected to it - such slot would work fine for a second video card dedicated to video encoding only.
uncompressed 4K at 60 fps is basically 3840 x 2160 pixels x 2-3 bytes per pixel x 60 frames = 995,328,000 bytes - 1,492,992,000 bytes that's at most 2 GB/s ... a pci-e x4 3.0 has almost 4 GB/s of bandwidth.
I agree with the others, no need to rush, wait until AMD and nVidia both have AV1 encoders and then you'll see support added for it on Twitch and others.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now