I'm trying to optimize my settings.

PatOfRick

New Member
I know that there is already a lot of threads about this but non of them are working for me so I thought I start my own
I have a YouTube video if that helps. https://youtu.be/yz1s2AD8mng
Log file https://obsproject.com/logs/PJ0HTUp7In7HPB4a
Got an ASUS GeForce 1060 graphics card
1600590242984.png
 

rockbottom

Active Member
Here's a start

Run OBS as Admin

Change this to 48k (Settings > Audio)
02:39:54.704: audio settings reset:
02:39:54.704: samples per sec: 44100
02:39:54.704: speakers: 2
02:39:56.246: WASAPI: Device 'Speakers (Yeti X)' [48000 Hz] initialized
02:39:56.246: [Loaded global audio device]: 'Desktop Audio'
02:39:56.275: WASAPI: Device 'Headset Microphone (Rift S)' [48000 Hz] initialized
02:39:56.275: [Loaded global audio device]: 'Mic/Aux'
02:39:56.309: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux

Change Color Space to 709 (Settings > Advanced)
02:39:55.252: YUV mode: 601/Partial

Core Audio is missing
02:39:55.271: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded

Webcam is set at 30fps but you're recording/streaming 60fps
02:39:57.344: [DShow Device: 'Video Capture Device'] settings updated:
02:39:57.344: video device: HD Pro Webcam C920
02:39:57.344: video path: \\?\usb#vid_046d&pid_0892&mi_00#6&36239d24&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
02:39:57.344: resolution: 640x480
02:39:57.344: flip: 0
02:39:57.344: fps: 30.00 (interval: 333333)

Recording, use the Quality Preset, Set Keyframe Interval to 2 Seconds, Set B Frames to 0, Uncheck Psycho Visual Tuning. (Settings > Output > Recording)
02:40:24.785: [jim-nvenc: 'simple_h264_recording'] settings:
02:40:24.785: rate_control: CQP
02:40:24.785: bitrate: 0
02:40:24.785: cqp: 23
02:40:24.785: keyint: 250
02:40:24.785: preset: hq
02:40:24.785: profile: high
02:40:24.785: width: 1920
02:40:24.785: height: 1080
02:40:24.785: 2-pass: false
02:40:24.785: b-frames: 2
02:40:24.785: lookahead: false
02:40:24.785: psycho_aq: true

Streaming, you're using x 264 w/Very Fast Preset. Try the SuperFast Preset.
02:51:13.126: [x264 encoder: 'streaming_h264'] preset: veryfast
02:51:13.129: [x264 encoder: 'streaming_h264'] settings:
02:51:13.129: rate_control: CBR
02:51:13.129: bitrate: 6000
02:51:13.129: buffer size: 6000
02:51:13.129: crf: 0
02:51:13.129: fps_num: 60
02:51:13.129: fps_den: 1
02:51:13.129: width: 1920
02:51:13.129: height: 1080
02:51:13.129: keyint: 120
02:51:13.129:
02:51:13.129: [x264 encoder: 'streaming_h264'] custom settings: scenecut=0

or switch to NVENC
Rate Control: CBR
Bitrate: 6000 kb/s
Keyframe Interval: 2 Seconds
Preset: Quality
Profile: High
Uncheck Look-ahead & Psycho Visual Tuning
Max B-Frames: 0
 

qhobbes

Active Member
1. Run OBS as administrator. Right click on the shortcut and select that option or go to Properties, Shortcut tab, [Advanced...], check for "Run as administrator" [OK] [Apply] [OK] for permanent solution.
2. In Windows 10 versions 1809 and newer, we recommend that "Game Mode" be enabled for maximum gaming performance. Game Mode can be enabled via the Windows 10 "Settings" app, under Gaming > Game Mode
3. At least one of your audio devices has a sample rate that doesn't match the rest. This can result in audio drift over time or sound distortion. Check your audio devices in Windows settings (both Playback and Recording) and ensure the Default Format (under Advanced) is consistent. 48000 Hz is recommended.
OBS Sample Rate: 44100 Hz
Speakers (Yeti X): 48000 Hz
Microphone (Yeti X): 48000 Hz
4. Your log contains no recording or streaming session. Results of this log analysis are limited. Please post a link to a clean log file.
To make a clean log file, please follow these steps:

1) Restart OBS as admin.
2) Start your stream/recording for about 30 seconds. Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
3) Stop your stream/recording.
4) Select Help > Log Files > Upload Current Log File. Send that link via this troubleshooting tool or whichever support chat you are using.
 

qhobbes

Active Member
Close OBS if open, enable Game Mode, then open OBS as admin, record and post new log.

Game Mode can be enabled via the Windows 10 "Settings" app, under Gaming > Game Mode.
 

rockbottom

Active Member
The log you posted last night at 10:18PM shows that you were running OBS as Admin & that most of the settings were updated. It also has the lowest percentage of dropped frames due to rendering lag (1.3%) & encoding lag (4.4%) so you're getting closer as there was significant improvement from the initial log that you posted yesterday morning.

Per qhobbes, enable Game Mode.

If you're still seeing some lag after Game Mode is enabled, try recording to a different hard drive, preferably an SSD.
 
Top