Question / Help Choppy/laggy local recording and stream

Spike420

New Member
My recording is just a few frames and audio is normal. It only happens when x264 encoder is selected, nvenc works normal tho


[18:04:43.957: CPU Name: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
18:04:43.957: CPU Speed: 3192MHz
18:04:43.957: Physical Cores: 4, Logical Cores: 4
18:04:43.957: Physical Memory: 8143MB Total, 4848MB Free
18:04:43.957: Windows Version: 10.0 Build 14393 (revision: 693; 64-bit)
18:04:43.957: Running as administrator: false
18:04:43.957: Aero is Enabled (Aero is always on for windows 8 and above)
18:04:43.957: Portable mode: false
18:04:43.968: OBS 17.0.2 (64bit, windows)
18:04:43.968: ---------------------------------
18:04:43.968: ---------------------------------
18:04:43.968: audio settings reset:
18:04:43.968: samples per sec: 44100
18:04:43.968: speakers: 2
18:04:43.970: ---------------------------------
18:04:43.970: Initializing D3D11..
18:04:43.970: Available Video Adapters:
18:04:43.971: Adapter 1: NVIDIA GeForce GTX 1060 6GB
18:04:43.971: Dedicated VRAM: 2102198272
18:04:43.971: Shared VRAM: 4269344768
18:04:43.971: output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:04:43.973: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
18:04:44.451: D3D11 loaded sucessfully, feature level used: 45056
18:04:44.865: ---------------------------------
18:04:44.865: video settings reset:
18:04:44.865: base resolution: 1920x1080
18:04:44.865: output resolution: 1920x1080
18:04:44.865: downscale filter: Lanczos
18:04:44.865: fps: 60/1
18:04:44.865: format: NV12
18:04:44.866: ---------------------------------
18:04:44.867: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
18:04:44.869: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
18:04:44.870: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
18:04:44.876: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
18:04:44.876: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
18:04:44.877: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
18:04:44.877: Failed to load 'en-US' text for module: 'obs-browser.dll'
18:04:44.877: [browser_source: 'Version: 1.28.0']
18:04:44.879: NVENC supported
18:04:44.923: Couldn't find VLC installation, VLC video source disabled
18:04:44.927: No blackmagic support
18:04:44.959: ---------------------------------
18:04:44.959: Loaded Modules:
18:04:44.959: win-wasapi.dll
18:04:44.959: win-mf.dll
18:04:44.959: win-dshow.dll
18:04:44.959: win-decklink.dll
18:04:44.959: win-capture.dll
18:04:44.959: vlc-video.dll
18:04:44.959: text-freetype2.dll
18:04:44.959: rtmp-services.dll
18:04:44.959: obs-x264.dll
18:04:44.959: obs-transitions.dll
18:04:44.959: obs-text.dll
18:04:44.959: obs-qsv11.dll
18:04:44.959: obs-outputs.dll
18:04:44.959: obs-filters.dll
18:04:44.959: obs-ffmpeg.dll
18:04:44.959: obs-browser.dll
18:04:44.959: image-source.dll
18:04:44.959: frontend-tools.dll
18:04:44.959: enc-amf.dll
18:04:44.959: coreaudio-encoder.dll
18:04:44.959: ==== Startup complete ===============================================
18:04:45.018: Service '' not found
18:04:45.019: All scene data cleared
18:04:45.019: ------------------------------------------------
18:04:45.038: WASAPI: Device 'Głośniki (Urządzenie zgodne ze standardem High Definition Audio)' initialized
18:04:45.050: WASAPI: Device 'Mikrofon (Urządzenie zgodne ze standardem High Definition Audio)' initialized
18:04:45.068: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
18:04:45.113: adding 46 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
18:04:47.937: Switched to scene 'Scena'
18:04:47.938: ------------------------------------------------
18:04:47.938: Loaded scenes:
18:04:47.938: - scene 'Scena':
18:04:47.938: - source: 'Przechwytywanie gry' (game_capture)
18:04:47.938: ------------------------------------------------
18:08:10.550: [game-capture: 'Przechwytywanie gry'] attempting to hook process: csgo.exe
18:08:10.552: [game-capture: 'Przechwytywanie gry'] using helper (compatibility hook)
18:08:10.585: [game-capture: 'Przechwytywanie gry'] hook not loaded yet, retrying..
18:08:13.567: [game-capture: 'Przechwytywanie gry'] attempting to hook process: csgo.exe
18:08:13.568: [game-capture: 'Przechwytywanie gry'] using helper (compatibility hook)
18:08:16.583: [game-capture: 'Przechwytywanie gry'] attempting to hook process: csgo.exe
18:08:17.617: [game-capture: 'Przechwytywanie gry'] capture stopped
18:08:20.602: [game-capture: 'Przechwytywanie gry'] attempting to hook process: csgo.exe
18:08:20.616: [game-capture: 'Przechwytywanie gry'] shared texture capture successful
18:08:24.654: Settings changed (outputs)
18:08:24.655: ------------------------------------------------
18:09:56.963: rtmp-common.c: [initialize_output] Could not find service ''
18:09:56.963: ---------------------------------
18:09:56.963: [x264 encoder: 'simple_h264_recording'] preset: veryfast
18:09:56.963: [x264 encoder: 'simple_h264_recording'] profile: high
18:09:56.963: [x264 encoder: 'simple_h264_recording'] settings:
18:09:56.963: rate_control: CRF
18:09:56.963: bitrate: 0
18:09:56.963: buffer size: 0
18:09:56.963: crf: 16
18:09:56.963: fps_num: 60
18:09:56.963: fps_den: 1
18:09:56.963: width: 1920
18:09:56.963: height: 1080
18:09:56.963: keyint: 250
18:09:56.963: vfr: off
18:09:56.963:
18:09:56.980: [Media Foundation AAC: 'simple_aac_recording']: encoder created
18:09:56.980: bitrate: 128
18:09:56.980: channels: 2
18:09:56.980: sample rate: 44100
18:09:56.980: bits-per-sample: 16
18:09:56.980:
18:09:56.995: ==== Recording Start ===============================================
18:09:56.995: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/Piotr/Videos/2017-03-01 18-09-56.flv'...
18:10:27.292: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/Piotr/Videos/2017-03-01 18-09-56.flv' stopped
18:10:27.292: Output 'simple_file_output': stopping
18:10:27.292: Output 'simple_file_output': Total encoded frames: 1818
18:10:27.292: Output 'simple_file_output': Total drawn frames: 1818
18:10:27.292: Output 'simple_file_output': Number of skipped frames due to encoding lag: 1575 (86.6%)
18:10:27.292: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 32 (1.8%)
18:10:27.292: ==== Recording Stop ================================================]
 

Fenrir

Forum Admin
You're overloading your CPU. If you're only going to be recording, you can use NVENC with the recording presets just fine.
 

Fenrir

Forum Admin
You'll need to downscale resolution/lower fps, cap FPS in your game, or turn down other settings to reduce load on your CPU.
 
Top