Difference between revisions of "Streaming"

From QWiki
m
 
(15 intermediate revisions by 2 users 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>
+
A CPU from 2014 or later is recommended.<br>
With a 4th generation cpu you should have no issues.
+
For the codec, if you have a 10/16/20 series use HEVC. For 30 series or more use AV1.<br>
 +
While streaming, ezQ frametime should be 1.6/1.8ms with 1001 fps and a ping deviation increase of 0.5ms.<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 (in the profile 'Open Broadcaster Software' is off but '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. You can delete the duplicate profile 'OBS Studio'.<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
+
* Stream > Service > YouTube - HLS / Twitch
 +
* Output > Video Encoder: HEVC / AV1 ; 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: off ; GPU: 0 ; Max B-frames: 0
  
 
* Video > 60 fps
 
* Video > 60 fps
Line 11: Line 18:
 
* 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 ; <u>Note</u>: 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 HLS streaming key, manually select 1440p and activate 60 fps.<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>
 
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.
Hard to notice textures details small differences, so maybe it's better to watch the stream at 1080p wich affects brigthness/colors.<br>
+
[[File:YT stream protocol.png|thumb|center|YT-HLS-1440p-60fps]]
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]]
 
 
<big></big>
 
<big></big>
  

Latest revision as of 23:35, 13 January 2025

This page describes recommended settings for Streaming.

A CPU from 2014 or later is recommended.
For the codec, if you have a 10/16/20 series use HEVC. For 30 series or more use AV1.
While streaming, ezQ frametime should be 1.6/1.8ms with 1001 fps and a ping deviation increase of 0.5ms.

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 (in the profile 'Open Broadcaster Software' is off but '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. You can delete the duplicate profile 'OBS Studio'.

OBS settings

  • Stream > Service > YouTube - HLS / Twitch
  • Output > Video Encoder: HEVC / AV1 ; 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: off ; GPU: 0 ; Max B-frames: 0
  • Video > 60 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 HLS 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-HLS-1440p-60fps

Twitch

(to be added)

Links

(to be added)