Difference between revisions of "Streaming"

From QWiki
m (added 'CUDA - Force P2 State' information)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''This page describes recommended settings for Streaming.'''
 
'''This page describes recommended settings for Streaming.'''
  
If you have an Ampere card like the 40-series, use AV1. For 10-series or more, use NVENC/HEVC.<br>
+
If you have an Ampere card like the 40-series, use AV1. For 10-series or more, use HEVC.<br>
With a 4th generation cpu you should have no issues.
+
With a 4th generation cpu you should have no issues.<br>
 +
While streaming, ezQ frametime should be 1.6/1.8ms with 1001 fps.<br>
  
 +
Nvidia has a hidden option 'CUDA - Force P2 State' enabled to avoid memory errors when running big datasets with uncommon apps.<br>
 +
The driver disables it for apps that use CUDA like Discord and OBS (the 'Open Broadcaster Software' is off but the 'OBS Studio' is on).<br>
 +
If your GPU's memory doesn't reach it's full speed then some runnning app has P2 State on.<br>
 +
[https://github.com/Orbmu2k/nvidiaProfileInspector/releases NvidiaProfileInspector] allows to disable P2 globally and per profile.<br>
 +
<br>
 
'''OBS settings'''
 
'''OBS settings'''
 
* Output > Video Encoder: AV1/HEVC/H264 ; Rate Control: CBR ; Bitrate: YT/Twitch limit ; Keyframe interval: 1s ; Preset: P7 ; Tuning: High Quality ; Multipass Mode: Two Passes (Full Resolution) ; Profile: Main ; Look-ahead: off ; Psycho Visual Tuning: on ; GPU: 0 ; Max B-frames: 0
 
* Output > Video Encoder: AV1/HEVC/H264 ; Rate Control: CBR ; Bitrate: YT/Twitch limit ; Keyframe interval: 1s ; Preset: P7 ; Tuning: High Quality ; Multipass Mode: Two Passes (Full Resolution) ; Profile: Main ; Look-ahead: off ; Psycho Visual Tuning: on ; GPU: 0 ; Max B-frames: 0
  
* Video > 60 fps
+
* Video > 120 fps
  
 
* Advanced > Video > Color Format: NV12 ; Color Space: sRGB ; Color Range: Full
 
* Advanced > Video > Color Format: NV12 ; Color Space: sRGB ; Color Range: Full
  
* Sources > Game Capture > Properties: Limit capture framerate
+
* Sources > Game Capture > Properties: Limit capture framerate. Unselect the rest.
 
<br>
 
<br>
 
'''ezQuake settings'''
 
'''ezQuake settings'''
* vid_software_palette 1 (Is necessary to keep the correct gamma and details of textures on the stream but it will reduce performance.<br>If you need to disable it to get stable fps for play+stream , add a color correction filter in OBS with gamma 0.5)
+
* vid_software_palette 0 (OBS color correction filter gamma 0.5 ; Recommended)
 +
 
 +
* vid_software_palette 1 (OBS color correction filter gamma 0.2 ; Note: fps consuming)
 +
 
 +
* vid_hwgammacontrol 2
 +
 
 +
* vid_gammacorrection 0
 +
 
 +
* gl_gamma 0.7
  
* gl_gamma 0.7 (If the stream is still too dark with software_palette 1, add OBS gamma 0.2)
+
* gl_contrast 1
  
 
===YouTube===
 
===YouTube===
 
YouTube uses the low quality codec AVC1 for resolutions lower than 1440p.<br>
 
YouTube uses the low quality codec AVC1 for resolutions lower than 1440p.<br>
 
To get the higher quality codec VP09 streaming at 1080p, create a new streaming key, manually select 1440p and activate 60 fps.<br>
 
To get the higher quality codec VP09 streaming at 1080p, create a new streaming key, manually select 1440p and activate 60 fps.<br>
Copy the stream key and past it in OBS, don't use the 'Connect Account' or it will use the default key. Click the padlock to encrypt the stream.<br>
+
Copy the stream key and paste it in OBS, don't use the 'Connect Account' or it will use the default key. Click the padlock to encrypt the stream.<br>
Watching it at 1440p the brightness is less accurate but the textures details are more accurate.<br>
+
Set a bitrate of 10000 in OBS for good quality. If you have enough bandwidth, set 30000 for perfect quality.<br>
Watching it at 1080p the brightness is more accurate but textures details are less accurate.<br>
+
Watch the stream at 1440p.
Set a bitrate of 10000 in OBS for good quality. If you have enough bandwidth, set 30000 for perfect quality.
 
 
[[File:YT-settings-1440p.png|thumb|center|YT-settings-1440p-trick]]
 
[[File:YT-settings-1440p.png|thumb|center|YT-settings-1440p-trick]]
 
<big></big>
 
<big></big>

Latest revision as of 08:36, 14 April 2024

This page describes recommended settings for Streaming.

If you have an Ampere card like the 40-series, use AV1. For 10-series or more, use HEVC.
With a 4th generation cpu you should have no issues.
While streaming, ezQ frametime should be 1.6/1.8ms with 1001 fps.

Nvidia has a hidden option 'CUDA - Force P2 State' enabled to avoid memory errors when running big datasets with uncommon apps.
The driver disables it for apps that use CUDA like Discord and OBS (the 'Open Broadcaster Software' is off but the 'OBS Studio' is on).
If your GPU's memory doesn't reach it's full speed then some runnning app has P2 State on.
NvidiaProfileInspector allows to disable P2 globally and per profile.

OBS settings

  • Output > Video Encoder: AV1/HEVC/H264 ; Rate Control: CBR ; Bitrate: YT/Twitch limit ; Keyframe interval: 1s ; Preset: P7 ; Tuning: High Quality ; Multipass Mode: Two Passes (Full Resolution) ; Profile: Main ; Look-ahead: off ; Psycho Visual Tuning: on ; GPU: 0 ; Max B-frames: 0
  • Video > 120 fps
  • Advanced > Video > Color Format: NV12 ; Color Space: sRGB ; Color Range: Full
  • Sources > Game Capture > Properties: Limit capture framerate. Unselect the rest.


ezQuake settings

  • vid_software_palette 0 (OBS color correction filter gamma 0.5 ; Recommended)
  • vid_software_palette 1 (OBS color correction filter gamma 0.2 ; Note: fps consuming)
  • vid_hwgammacontrol 2
  • vid_gammacorrection 0
  • gl_gamma 0.7
  • gl_contrast 1

YouTube

YouTube uses the low quality codec AVC1 for resolutions lower than 1440p.
To get the higher quality codec VP09 streaming at 1080p, create a new streaming key, manually select 1440p and activate 60 fps.
Copy the stream key and paste it in OBS, don't use the 'Connect Account' or it will use the default key. Click the padlock to encrypt the stream.
Set a bitrate of 10000 in OBS for good quality. If you have enough bandwidth, set 30000 for perfect quality.
Watch the stream at 1440p.

YT-settings-1440p-trick

Twitch

(to be added)

Links

(to be added)