Jump to content

Nvidia Encoder or CPU endcoder

I stream BL2 to twitch, I've been using the Nvidia encoder in OBS but during moments of high action (which is often) the video looks like crap

I have a 7700 so I'm pretty sure that my computer can handle CPU encoding. I just want to know which one will look better

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, ConstantCanadian said:

I stream BL2 to twitch, I've been using the Nvidia encoder in OBS but during moments of high action (which is often) the video looks like crap

I have a 7700 so I'm pretty sure that my computer can handle CPU encoding. I just want to know which one will look better

Probably GPU, but you might as well just go ahead and test it because it's inevitably going to vary.

"uhhhhhhhhhh yeah id go with the 2600 its a good value for the money"

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, ConstantCanadian said:

I stream BL2 to twitch, I've been using the Nvidia encoder in OBS but during moments of high action (which is often) the video looks like crap

I have a 7700 so I'm pretty sure that my computer can handle CPU encoding. I just want to know which one will look better

Depends on what graphics card you have.

With Turing, use NVIDIA encoder. If you have an older card, depends. You are still more likely better off with using NVENC though.

 

Would help to know your OBS settings as well.

Whether your PC can handle CPU encoding or not depends on what specific settings you use.

Link to comment
Share on other sites

Link to post
Share on other sites

What GPU do you have? You also can use QuickSync and encode through the iGPU.

Personal Desktop":

CPU: Intel Core i7 10700K @5ghz |~| Cooling: bq! Dark Rock Pro 4 |~| MOBO: Gigabyte Z490UD ATX|~| RAM: 16gb DDR4 3333mhzCL16 G.Skill Trident Z |~| GPU: RX 6900XT Sapphire Nitro+ |~| PSU: Corsair TX650M 80Plus Gold |~| Boot:  SSD WD Green M.2 2280 240GB |~| Storage: 1x3TB HDD 7200rpm Seagate Barracuda + SanDisk Ultra 3D 1TB |~| Case: Fractal Design Meshify C Mini |~| Display: Toshiba UL7A 4K/60hz |~| OS: Windows 10 Pro.

Luna, the temporary Desktop:

CPU: AMD R9 7950XT  |~| Cooling: bq! Dark Rock 4 Pro |~| MOBO: Gigabyte Aorus Master |~| RAM: 32G Kingston HyperX |~| GPU: AMD Radeon RX 7900XTX (Reference) |~| PSU: Corsair HX1000 80+ Platinum |~| Windows Boot Drive: 2x 512GB (1TB total) Plextor SATA SSD (RAID0 volume) |~| Linux Boot Drive: 500GB Kingston A2000 |~| Storage: 4TB WD Black HDD |~| Case: Cooler Master Silencio S600 |~| Display 1 (leftmost): Eizo (unknown model) 1920x1080 IPS @ 60Hz|~| Display 2 (center): BenQ ZOWIE XL2540 1920x1080 TN @ 240Hz |~| Display 3 (rightmost): Wacom Cintiq Pro 24 3840x2160 IPS @ 60Hz 10-bit |~| OS: Windows 10 Pro (games / art) + Linux (distro: NixOS; programming and daily driver)
Link to comment
Share on other sites

Link to post
Share on other sites

37 minutes ago, ConstantCanadian said:

I stream BL2 to twitch, I've been using the Nvidia encoder in OBS but during moments of high action (which is often) the video looks like crap

I have a 7700 so I'm pretty sure that my computer can handle CPU encoding. I just want to know which one will look better

Hey! OBS and Twitch streaming consultant here. Couple of questions for ya to help fix this.

What are your system specs? (Looking specifically for CPU and GPU)

What are your OBS video and output settings? (Screenshotting both tabs and posting them here is ideal)

What is your CPU and GPU usage in game when NOT streaming? This will help me see how much system headroom you have for streaming on GPU vs GPU. 

Fine you want the PSU tier list? Have the PSU tier list: https://linustechtips.com/main/topic/1116640-psu-tier-list-40-rev-103/

 

Stille (Desktop)

Ryzen 9 3900XT@4.5Ghz - Cryorig H7 Ultimate - 16GB Vengeance LPX 3000Mhz- MSI RTX 3080 Ti Ventus 3x OC - SanDisk Plus 480GB - Crucial MX500 500GB - Intel 660P 1TB SSD - (2x) WD Red 2TB - EVGA G3 650w - Corsair 760T

Evoo Gaming 15"
i7-9750H - 16GB DDR4 - GTX 1660Ti - 480GB SSD M.2 - 1TB 2.5" BX500 SSD 

VM + NAS Server (ProxMox 6.3)

1x Xeon E5-2690 v2  - 92GB ECC DDR3 - Quadro 4000 - Dell H310 HBA (Flashed with IT firmware) -500GB Crucial MX500 (Proxmox Host) Kingston 128GB SSD (FreeNAS dev/ID passthrough) - 8x4TB Toshiba N300 HDD

Toys: Ender 3 Pro, Oculus Rift CV1, Oculus Quest 2, about half a dozen raspberry Pis (2b to 4), Arduino Uno, Arduino Mega, Arduino nano (x3), Arduino nano pro, Atomic Pi. 

Link to comment
Share on other sites

Link to post
Share on other sites

12 hours ago, BrinkGG said:

What is your CPU and GPU usage in game when NOT streaming?

My CPU usage is 75% And GPU Usage is 62%

Quote

What are your system specs?

I have an Intel i7-7700 and An EVGA Nvidia GeForce GTX 1080

Quote

What are your OBS video and output settings? 

 

 

Spoiler

1.png.838451c6fbc74fe45999e6a330e4d256.png

 

Spoiler

2.png.3dd532c7ffe650fc9bc862ede99e59b2.png

 

Link to comment
Share on other sites

Link to post
Share on other sites

On 5/28/2019 at 11:37 AM, ConstantCanadian said:

I stream BL2 to twitch, I've been using the Nvidia encoder in OBS but during moments of high action (which is often) the video looks like crap

I have a 7700 so I'm pretty sure that my computer can handle CPU encoding. I just want to know which one will look better

 

You should use the NVenc encoder. The "moments of high action" are a result of low bit rate, not the encoder. It's not the encoder's fault. You should also use the "fast" or "fastest" not "quality" setting for streaming encoders, otherwise you increase latency.

 

Take note of what Twitch actually lists here https://stream.twitch.tv/encoding/

 

Quote

Technical Specs:

Vertical Resolution: 1080

Bitrate: 4500 to 6000 kbps

Framerate: 60 or 50 fps

Keyframe Interval: 2 seconds

AVC (h.264) Profile: Main/High

AVC (h.264) Level: 4.2

 

 

It probably makes more sense in this table, "max video bit rate (VCL) for high profile":

ilg6tt.png

Table from https://books.google.ca/books?id=RG5YUOAzRsEC&printsec=frontcover#v=onepage&q&f=false , but this info is in Wikipedia as well, and is part of the standard spec.

 

Basically, the idea is, if you specify 4.2, then any video you encode will not exceed a specified number of blocks that require a buffer of n size. So 4.2 is REQUIRED minimum to stream 1080p60 video. 4.1 for 1080p30, 3.2 for 720p60. 

 

So you should probably check what level it's set to, (auto might select based off input settings.) 

 

However you're looking at 500MB/sec of bandwidth per trip over the PCIe bus at 1080p60. So if you send NVEnc something too complicated, then it will send back empty frames. If you do too much complicated composition via CEF (Chrome Embedded Framework), then you're also sending additional passes through the GPU. The only trip that guarantees only one pass is nVidia experience. The FFMPEG CPU encoder still needs the memory bandwidth to do that encoding, so ultimately the right option depends on how much latency you're willing to trade for quality. If you want a high quality stream, then you need to spend more time on the CPU encoder. If you want a low-latency stream then you want to use the NVencoder alone, using "fastest" settings. The NVenc encoder is considered rubbish before Pascal, and all encoders use the GIGO (Garbage In , Garbage Out) rule. Which means that they will only encode what you give it, so if there are more composition layers, and one of those layers makes the entire video too complex to fit your target CBR , then the frame will be skipped. This can result in having entire spans of seconds of just a "frozen" frame when you opt for "quality" instead of "fast/fastest" settings where the encoder instead just stops further compression steps once it spends enough time on it.

 

Link to comment
Share on other sites

Link to post
Share on other sites

Alright everything seems to be working just fine now turned my bitrate up to 5500 and my last stream was amazing

Link to comment
Share on other sites

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×