Question / Help In-game fps is fine but the preview on obs is choppy.

MikeTurkeyy

New Member
Hi guys, so I've been streaming and recording videos and recently I noticed that when I play Rainbow six siege my obs video is choppy, even without streaming, then it shows up on my streams and when I record. Currently it only happens when I play Rainbow six siege, when I play Player Unkowns battleground it's perfectly fine both in game and on obs. This is my first time asking for help so let me know what info yall need form me!
[
22:02:39.281: CPU Name: AMD Ryzen 7 1700 Eight-Core Processor
22:02:39.281: CPU Speed: 3700MHz
22:02:39.281: Physical Cores: 8, Logical Cores: 16
22:02:39.281: Physical Memory: 16330MB Total, 13952MB Free
22:02:39.282: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
22:02:39.282: Running as administrator: false
22:02:39.282: Aero is Enabled (Aero is always on for windows 8 and above)
22:02:39.282: Portable mode: false
22:02:39.409: OBS 20.0.1 (64bit, windows)
22:02:39.409: ---------------------------------
22:02:39.409: ---------------------------------
22:02:39.413: audio settings reset:
22:02:39.413: samples per sec: 48000
22:02:39.413: speakers: 2
22:02:39.414: ---------------------------------
22:02:39.414: Initializing D3D11...
22:02:39.414: Available Video Adapters:
22:02:39.415: Adapter 1: NVIDIA GeForce GTX 1070
22:02:39.415: Dedicated VRAM: 4219404288
22:02:39.415: Shared VRAM: 4266991616
22:02:39.415: output 1: pos={0, 0}, size={1920, 1080}, attached=true
22:02:39.415: output 2: pos={1920, 0}, size={1280, 720}, attached=true
22:02:39.417: Loading up D3D11 on adapter NVIDIA GeForce GTX 1070 (0)
22:02:39.897: D3D11 loaded successfully, feature level used: 45056
22:02:41.248: ---------------------------------
22:02:41.248: video settings reset:
22:02:41.248: base resolution: 1920x1080
22:02:41.248: output resolution: 1920x1080
22:02:41.248: downscale filter: Bilinear
22:02:41.248: fps: 60/1
22:02:41.248: format: NV12
22:02:41.249: Audio monitoring device:
22:02:41.249: name: Default
22:02:41.249: id: default
22:02:41.249: ---------------------------------
22:02:41.251: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
22:02:41.268: [CoreAudio encoder]: Adding CoreAudio AAC encoder
22:02:41.273: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
22:02:41.273: Failed to initialize module 'enc-amf.dll'
22:02:41.290: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:02:41.291: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
22:02:41.292: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:02:41.292: Failed to load 'en-US' text for module: 'obs-browser.dll'
22:02:41.292: [browser_source: 'Version: 1.29.0']
22:02:42.299: NVENC supported
22:02:44.686: Couldn't find VLC installation, VLC video source disabled
22:02:44.694: No blackmagic support
22:02:45.078: ---------------------------------
22:02:45.078: Loaded Modules:
22:02:45.078: win-wasapi.dll
22:02:45.078: win-mf.dll
22:02:45.078: win-dshow.dll
22:02:45.078: win-decklink.dll
22:02:45.078: win-capture.dll
22:02:45.078: vlc-video.dll
22:02:45.078: text-freetype2.dll
22:02:45.078: rtmp-services.dll
22:02:45.078: obs-x264.dll
22:02:45.078: obs-vst.dll
22:02:45.078: obs-transitions.dll
22:02:45.078: obs-text.dll
22:02:45.078: obs-qsv11.dll
22:02:45.078: obs-outputs.dll
22:02:45.078: obs-filters.dll
22:02:45.078: obs-ffmpeg.dll
22:02:45.078: obs-browser.dll
22:02:45.078: image-source.dll
22:02:45.078: frontend-tools.dll
22:02:45.078: enc-amf.dll
22:02:45.078: coreaudio-encoder.dll
22:02:45.078: ---------------------------------
22:02:45.078: ==== Startup complete ===============================================
22:02:45.096: All scene data cleared
22:02:45.096: ------------------------------------------------
22:02:45.126: WASAPI: Device 'Microphone (Yeti Stereo Microphone)' initialized
22:02:45.135: WASAPI: Device 'Line (2- Astro MixAmp Pro Game)' initialized
22:02:45.183: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
22:02:53.814: warning: Stream #0: not enough frames to estimate rate; consider increasing probesize
22:02:56.445: Switched to scene 'Scene'
22:02:56.501: ------------------------------------------------
22:02:56.501: Loaded scenes:
22:02:56.501: - scene 'Scene':
22:02:56.501: - source: 'elgato' (dshow_input)
22:02:56.501: - source: 'pubg' (game_capture)
22:02:56.501: - source: 'follower overlay' (browser_source)
22:02:56.501: - source: 'Display Capture' (monitor_capture)
22:02:56.501: - source: 'donation overlay' (browser_source)
22:02:56.501: - source: 'subscription overlay' (browser_source)
22:02:56.501: - source: 'tip jar' (browser_source)
22:02:56.501: - source: 'Video Capture Device' (dshow_input)
22:02:56.501: - source: 'basic of all basic' (image_source)
22:02:56.501: - source: 'overlay 2' (image_source)
22:02:56.501: - source: 'recent follower' (text_gdiplus)
22:02:56.501: - source: 'recent donator' (text_gdiplus)
22:02:56.501: - source: 'top donator' (text_gdiplus)
22:02:56.501: - source: 'last sub' (text_gdiplus)
22:02:56.501: - scene 'BRB':
22:02:56.501: - source: 'BRB screen' (image_source)
22:02:56.501: - scene 'Stream starting soon':
22:02:56.501: - source: 'Image' (image_source)
22:02:56.501: - scene 'speech class':
22:02:56.501: - source: 'Video Capture Device 2' (dshow_input)
22:02:56.501: ------------------------------------------------
22:02:59.498: ---------------------------------
22:02:59.498: [DShow Device: 'Video Capture Device'] settings updated:
22:02:59.498: video device: Logitech HD Pro Webcam C920
22:02:59.498: video path: \\?\usb#vid_046d&pid_082d&mi_00#7&59a24b6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
22:02:59.498: resolution: 1920x1080
22:02:59.498: fps: 30.00 (interval: 333333)
22:02:59.498: format: I420
22:03:09.879: ---------------------------------
22:03:09.879: [DShow Device: 'elgato'] settings updated:
22:03:09.879: video device: Elgato Game Capture HD
22:03:09.879: video path: __elgato
22:03:09.879: resolution: 1920x1080
22:03:09.879: fps: 60.00 (interval: 166666)
22:03:09.879: format: UYVY
22:03:09.880: using video device audio: yes
22:03:09.880: sample rate: 48000
22:03:09.880: channels: 2
22:03:09.880: audio type: Capture
22:03:15.514: adding 213 milliseconds of audio buffering, total audio buffering is now 256 milliseconds
22:03:16.472: adding 405 milliseconds of audio buffering, total audio buffering is now 661 milliseconds
22:04:42.164: Settings changed (outputs)
22:04:42.164: ------------------------------------------------
22:05:56.721: Settings changed (outputs)
22:05:56.721: ------------------------------------------------
22:12:26.900: ---------------------------------
22:12:26.900: video settings reset:
22:12:26.900: base resolution: 1280x720
22:12:26.900: output resolution: 1280x720
22:12:26.900: downscale filter: Bilinear
22:12:26.900: fps: 60/1
22:12:26.900: format: NV12
22:12:26.926: Settings changed (outputs, video)
22:12:26.926: ------------------------------------------------
22:18:45.377: ---------------------------------
22:18:45.397: [NVENC encoder: 'recording_h264'] settings:
22:18:45.397: rate_control: CBR
22:18:45.397: bitrate: 35000
22:18:45.397: cqp: 0
22:18:45.397: keyint: 120
22:18:45.397: preset: default
22:18:45.397: profile: main
22:18:45.397: level: auto
22:18:45.397: width: 1280
22:18:45.397: height: 720
22:18:45.397: 2-pass: true
22:18:45.397: b-frames: 2
22:18:45.397: GPU: 0
22:18:45.397:
22:18:45.812: [CoreAudio AAC: 'Track1']: settings:
22:18:45.812: mode: AAC
22:18:45.812: bitrate: 160
22:18:45.812: sample rate: 48000
22:18:45.812: cbr: on
22:18:45.812: output buffer: 1536
22:18:45.829: ==== Recording Start ===============================================
22:18:45.829: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Mikey/Videos/2017-09-18 22-18-45.mp4'...
22:22:38.464: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Mikey/Videos/2017-09-18 22-18-45.mp4' stopped
22:22:38.464: Output 'adv_file_output': stopping
22:22:38.464: Output 'adv_file_output': Total frames output: 13918
22:22:38.464: Output 'adv_file_output': Total drawn frames: 13476 (13958 attempted)
22:22:38.464: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 482 (3.5%)
22:22:38.464: ==== Recording Stop ================================================
22:22:38.465: Video stopped, number of skipped frames due to encoding lag: 38/13958 (0.3%)
22:22:40.408: Switched to Preview/Program mode
22:22:40.408: ------------------------------------------------
22:22:48.039: User switched to scene 'Scene'
22:22:48.041: Switched to regular Preview mode
22:22:48.041: ------------------------------------------------
22:23:38.603: ---------------------------------
22:23:38.603: video settings reset:
22:23:38.603: base resolution: 1280x720
22:23:38.603: output resolution: 1280x720
22:23:38.603: downscale filter: Bilinear
22:23:38.603: fps: 60/1
22:23:38.603: format: NV12
22:23:38.618: Settings changed (outputs, video)
22:23:38.618: ------------------------------------------------
22:24:10.384: User Removed source 'recent donator' (text_gdiplus) from scene 'Scene'
22:26:20.540: Switched to Preview/Program mode
22:26:20.540: ------------------------------------------------
22:26:33.934: User switched to scene 'Scene'
22:26:33.937: Switched to regular Preview mode
22:26:33.937: ------------------------------------------------
22:27:42.231: ---------------------------------
22:27:42.231: [NVENC encoder: 'recording_h264'] settings:
22:27:42.231: rate_control: CBR
22:27:42.231: bitrate: 35000
22:27:42.231: cqp: 0
22:27:42.231: keyint: 120
22:27:42.231: preset: default
22:27:42.231: profile: main
22:27:42.231: level: auto
22:27:42.231: width: 1280
22:27:42.231: height: 720
22:27:42.231: 2-pass: true
22:27:42.231: b-frames: 2
22:27:42.231: GPU: 0
22:27:42.231:
22:27:42.511: [CoreAudio AAC: 'Track1']: settings:
22:27:42.511: mode: AAC
22:27:42.511: bitrate: 160
22:27:42.511: sample rate: 48000
22:27:42.511: cbr: on
22:27:42.511: output buffer: 1536
22:27:42.516: ==== Recording Start ===============================================
22:27:42.516: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Mikey/Videos/2017-09-18 22-27-42.mp4'...
22:29:22.481: Switched to Preview/Program mode
22:29:22.481: ------------------------------------------------
22:29:23.579: User switched to scene 'Scene'
22:29:23.581: Switched to regular Preview mode
22:29:23.581: ------------------------------------------------
22:29:24.763: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Mikey/Videos/2017-09-18 22-27-42.mp4' stopped
22:29:24.763: Output 'adv_file_output': stopping
22:29:24.763: Output 'adv_file_output': Total frames output: 6096
22:29:24.763: Output 'adv_file_output': Total drawn frames: 5739 (6135 attempted)
22:29:24.763: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 396 (6.5%)
22:29:24.763: ==== Recording Stop ================================================
22:32:12.839: Settings changed (general)
22:32:12.839: ------------------------------------------------
]
 

Attachments

  • 2017-09-18 22-02-37.txt
    11.5 KB · Views: 6
  • 2017-09-18 22-02-37.txt
    11.5 KB · Views: 2

SumDim

Member
You got very similar CPU, GPU, RAM, Webcam specs as I do (I have 1700X).
You got Elgato HD 60 that does USB. I no longer use it and replaced it with a HD 60 Pro PCIe card to get rid of the preview lag. Don't know if thats your problem but if you got the $$$, go for it. Its way better and lag free.

Your setup is perfectly fine to do 1080p@60fps assuming you got a good, stable upload speed of at least 10Mbps.

Run the Auto Config Wizard in the Tools menu and use its suggestions.
 

MikeTurkeyy

New Member
You got very similar CPU, GPU, RAM, Webcam specs as I do (I have 1700X).
You got Elgato HD 60 that does USB. I no longer use it and replaced it with a HD 60 Pro PCIe card to get rid of the preview lag. Don't know if thats your problem but if you got the $$$, go for it. Its way better and lag free.

Your setup is perfectly fine to do 1080p@60fps assuming you got a good, stable upload speed of at least 10Mbps.

Run the Auto Config Wizard in the Tools menu and use its suggestions.

I have elgato hd 60 pro in my Pc, I don't have usb, and I don't use elgato to capture rainbow, I use display capture. I will use the auto config and see if it works, thanks for the reply!
 

SumDim

Member
Yes dont use Elgato to capture PC games, thats what OBS Studio will be used for.

Display capture should be fine. I am assuming you have multiple monitors. Run OBS Studio on Display #1 and your game at 1920x1080 on Display #2. Its best to run the game at 1920x1080 so there is no additional scaling/stretching performed. Keep it 1:1 mapping from game to video card to OBS to keep it simple at first.
 

MikeTurkeyy

New Member
what does 1:1 mapping mean? how do i set that? and my second monitor is a tv that can only run 1280x720p, so i usually play on my 1080p monitor and have all my streaming/recording programs on my tv. A few months ago I didn't have this issue but unfortunately I do not have those logs.
 

SumDim

Member
Suppose you are running on a TV that is 4k at 3840x2160. Your video capture card only does 1920x1080. There is one processing stage needed to convert from 4K to 1080p. Then, if you tell OBS to output 720p at 1280x720, there's another additional mathematical set of operations needed to downscale.

By keeping everything the same size, you don't get the CPU/GPU involved to do math operations. That is 1:1 mapping. Only the data is passed in memory from one device to the other without costly mathematical calculations. So you play your game at 1920x1080 on a 1920x1080 display device and pass that to OBS Studio at 1920x1080.

Everybody is going to have different settings. Nobody's settings are the same even if we have the same gear. Thus, nobody is going to be able to answer you with exact specifications to solve your needs. There are way too many factors involved and it will require your patience and ability to tweak things slowly to come up with what you need. Don't be surprised that it will take days for you to come up with suitable streaming settings and then the next day, something changes and you have to tweak again.

For recording, this is different. There is no network factors involved to complicate things. Its a static environment, just whats running on my machine.

Output mode: Simple
Recording Quality: High Quality Medium File Sized
Recording Format: MKV
Encoder: Software (x264)

This results in very good quality recordings for me at 1080p on not only this machine, but across my other computers that I use for processing as well. It works, and does it well, So I don't screw with it.
 

MikeTurkeyy

New Member
So it's fixed, I don't know exactly what the problem is but here is my current log

00:37:42.114: ---------------------------------
00:37:42.114: [NVENC encoder: 'simple_h264_recording'] settings:
00:37:42.114: rate_control: CQP
00:37:42.114: bitrate: 0
00:37:42.114: cqp: 21
00:37:42.114: keyint: 250
00:37:42.114: preset: hq
00:37:42.114: profile: high
00:37:42.114: level: auto
00:37:42.114: width: 1280
00:37:42.114: height: 720
00:37:42.114: 2-pass: true
00:37:42.114: b-frames: 2
00:37:42.114: GPU: 0
00:37:42.114:
00:37:42.427: [CoreAudio AAC: 'simple_aac_recording']: settings:
00:37:42.427: mode: AAC
00:37:42.427: bitrate: 128
00:37:42.427: sample rate: 48000
00:37:42.427: cbr: on
00:37:42.427: output buffer: 1536
00:37:42.433: ==== Recording Start ===============================================
00:37:42.433: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/Mikey/Videos/2017-09-19 00-37-42.mp4'...
00:39:05.833: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/Mikey/Videos/2017-09-19 00-37-42.mp4' stopped
00:39:05.833: Output 'simple_file_output': stopping
00:39:05.833: Output 'simple_file_output': Total frames output: 4962
00:39:05.834: Output 'simple_file_output': Total drawn frames: 4170 (5004 attempted)
00:39:05.834: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 834 (16.7%)
00:39:05.835: ==== Recording Stop ================================================
00:40:00.159: ---------------------------------
00:40:00.159: video settings reset:
00:40:00.159: base resolution: 1920x1080
00:40:00.159: output resolution: 1920x1080
00:40:00.159: downscale filter: Bilinear
00:40:00.159: fps: 60/1
00:40:00.159: format: NV12
00:40:00.175: Settings changed (video)
00:40:00.175: ------------------------------------------------
00:46:48.130: Settings changed (outputs)
00:46:48.130: ------------------------------------------------
01:47:18.375: Settings changed (outputs)
01:47:18.375: ------------------------------------------------
01:47:36.600: Settings changed (outputs)
01:47:36.600: ------------------------------------------------
01:57:35.713: ---------------------------------
01:57:35.713: [NVENC encoder: 'simple_h264_recording'] settings:
01:57:35.713: rate_control: CQP
01:57:35.713: bitrate: 0
01:57:35.713: cqp: 23
01:57:35.713: keyint: 250
01:57:35.713: preset: hq
01:57:35.713: profile: high
01:57:35.713: level: auto
01:57:35.713: width: 1920
01:57:35.713: height: 1080
01:57:35.713: 2-pass: true
01:57:35.713: b-frames: 2
01:57:35.713: GPU: 0
01:57:35.713:
01:57:36.044: [CoreAudio AAC: 'simple_aac_recording']: settings:
01:57:36.044: mode: AAC
01:57:36.044: bitrate: 128
01:57:36.044: sample rate: 48000
01:57:36.044: cbr: on
01:57:36.044: output buffer: 1536
01:57:36.050: ==== Recording Start ===============================================
01:57:36.050: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/Mikey/Videos/2017-09-19 01-57-35.mp4'...
01:58:56.316: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/Mikey/Videos/2017-09-19 01-57-35.mp4' stopped
01:58:56.316: Output 'simple_file_output': stopping
01:58:56.316: Output 'simple_file_output': Total frames output: 4775
01:58:56.316: Output 'simple_file_output': Total drawn frames: 4816
01:58:56.317: ==== Recording Stop ================================================
 

SumDim

Member
Your getting lag though:
00:39:05.834: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 834 (16.7%)

Change in game rendering settings to see if that helps. Lower it from say high to medium (or whatever it is in Rainbow Siege).

Then two tests:

Test #1 Simple Recording, Encoder Software (x264)
Test #2 Simple Recording, Encoder Hardware NVENC
 
Top