Question / Help How to lower CPU for streaming on twitch?

Kaden_Music

New Member
Here are my log files of the times I tried to stream:

I tried to play CS:GO and that sucked - it was lagging so much!

Code:
22:58:00.107: CPU Name: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
22:58:00.107: CPU Speed: 3392MHz
22:58:00.107: Physical Cores: 4, Logical Cores: 8
22:58:00.107: Physical Memory: 2047MB Total, 2047MB Free (NOTE: 2 or 4 gigs max is normal for 32bit programs)
22:58:00.107: Windows Version: 10.0 Build 10586 (revision: 0; 64-bit)
22:58:00.107: Running as administrator: false
22:58:00.107: Aero is Enabled (Aero is always on for windows 8 and above)
22:58:00.176: OBS 0.16.2 (windows)
22:58:00.176: ---------------------------------
22:58:00.176: ---------------------------------
22:58:00.177: audio settings reset:
22:58:00.177:     samples per sec: 48000
22:58:00.177:     speakers:        2
22:58:00.269: ---------------------------------
22:58:00.269: Initializing D3D11..
22:58:00.269: Available Video Adapters:
22:58:00.270:     Adapter 1: NVIDIA GeForce GT 530
22:58:00.270:       Dedicated VRAM: 1027014656
22:58:00.270:       Shared VRAM:    3267887104
22:58:00.270:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
22:58:00.270:       output 2: pos={1920, 111}, size={1440, 900}, attached=true
22:58:00.286: Loading up D3D11 on adapter NVIDIA GeForce GT 530 (0)
22:58:01.249: D3D11 loaded sucessfully, feature level used: 45056
22:58:01.896: ---------------------------------
22:58:01.896: video settings reset:
22:58:01.896:     base resolution:   1920x1080
22:58:01.896:     output resolution: 1920x1080
22:58:01.896:     downscale filter:  Lanczos
22:58:01.896:     fps:               60/1
22:58:01.896:     format:            NV12
22:58:01.897: ---------------------------------
22:58:02.042: [CoreAudio encoder]: Adding CoreAudio AAC encoder
22:58:02.121: [AMF Encoder] Version 1.3.1.0-1.3.0.5
22:58:02.121: [AMF Encoder] <Plugin::AMD::AMF::AMF> Initializing...
22:58:02.121: [AMF Encoder] <Plugin::AMD::AMF::AMF> Loading of 'amfrt32.dll' failed with error code 126.
22:58:02.244: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/ffmpegsumo.dll' not found, loading of module failed
22:58:02.580: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libcef.dll' not found, loading of module failed
22:58:02.638: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libEGL.dll' not found, loading of module failed
22:58:02.719: Required module function 'obs_module_load' in module '../../obs-plugins/32bit/libGLESv2.dll' not found, loading of module failed
22:58:02.833: Failed to load 'en-US' text for module: 'obs-browser.dll'
22:58:02.833: [browser_source: 'Version: 1.25.0']
22:58:02.900: LoadLibrary failed for 'nvEncodeAPI.dll': The specified module could not be found.
22:58:02.900:  (126)
22:58:04.111: VLC found, VLC video source enabled
22:58:06.667: No blackmagic support
22:58:07.004: ---------------------------------
22:58:07.004:   Loaded Modules:
22:58:07.004:     win-wasapi.dll
22:58:07.004:     win-mf.dll
22:58:07.004:     win-dshow.dll
22:58:07.004:     win-decklink.dll
22:58:07.004:     win-capture.dll
22:58:07.004:     vlc-video.dll
22:58:07.004:     text-freetype2.dll
22:58:07.004:     rtmp-services.dll
22:58:07.004:     obs-x264.dll
22:58:07.004:     obs-transitions.dll
22:58:07.004:     obs-text.dll
22:58:07.004:     obs-qsv11.dll
22:58:07.004:     obs-outputs.dll
22:58:07.004:     obs-filters.dll
22:58:07.004:     obs-ffmpeg.dll
22:58:07.004:     obs-browser.dll
22:58:07.005:     image-source.dll
22:58:07.005:     frontend-tools.dll
22:58:07.005:     enc-amf.dll
22:58:07.005:     coreaudio-encoder.dll
22:58:07.005: ==== Startup complete ===============================================
22:58:07.181: All scene data cleared
22:58:07.181: ------------------------------------------------
22:58:07.926: WASAPI: Device 'Speakers / Headphones (Realtek High Definition Audio)' initialized
22:58:07.973: [WASAPISource::TryInitialize]:[Jack Mic (Realtek High Definition Audio)] Failed to activate client context: 88890004
22:58:07.973: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{26db8c9d-0e84-434c-a38e-60f1ae1df835}' not found.  Waiting for device
22:58:07.981: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
22:58:10.956: Video Capture Device: data.GetDevice failed
22:58:10.956: Video Capture Device: Video configuration failed
22:58:11.225: Switched to scene 'Stream'
22:58:11.382: ------------------------------------------------
22:58:11.382: Loaded scenes:
22:58:11.382: - scene 'Game':
22:58:11.382:     - source: 'Game Capture' (game_capture)
22:58:11.382: - scene 'Stream':
22:58:11.382:     - source: 'Display Capture' (monitor_capture)
22:58:11.382:     - source: 'Alerts' (browser_source)
22:58:11.382:     - source: 'Chat Box' (browser_source)
22:58:11.382:     - source: 'Video Capture Device' (dshow_input)
22:58:11.382: - scene 'BRB':
22:58:11.382:     - source: 'Text (FreeType 2) 1' (text_ft2_source)
22:58:11.383:     - source: 'brb' (image_source)
22:58:11.383: - scene 'Start':
22:58:11.383:     - source: 'Image' (image_source)
22:58:11.383:     - source: 'Text (FreeType 2) 2' (text_ft2_source)
22:58:11.383: ------------------------------------------------
22:58:11.501: Update check: last known remote version is 0.16.2
22:58:35.103: WASAPI: Device 'Jack Mic (Realtek High Definition Audio)' initialized
22:58:35.172: adding 21 milliseconds of audio buffering, total audio buffering is now 64 milliseconds
23:00:49.531: ---------------------------------
23:00:49.531: [x264 encoder: 'streaming_h264'] preset: veryfast
23:00:49.543: [x264 encoder: 'streaming_h264'] settings:
23:00:49.543:     rate_control: CBR
23:00:49.543:     bitrate:      3000
23:00:49.543:     buffer size:  3000
23:00:49.543:     crf:          0
23:00:49.543:     fps_num:      60
23:00:49.543:     fps_den:      1
23:00:49.543:     width:        1920
23:00:49.543:     height:       1080
23:00:49.543:     keyint:       120
23:00:49.543:     vfr:          off
23:00:49.543:
23:00:49.543: [x264 encoder: 'streaming_h264'] custom settings: scenecut=0
23:00:49.554: [CoreAudio AAC: 'Track1']: settings:
23:00:49.554:     mode:          AAC
23:00:49.554:     bitrate:       160
23:00:49.554:     sample rate:   48000
23:00:49.554:     cbr:           on
23:00:49.554:     output buffer: 1536
23:00:49.560: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-ord.twitch.tv/app...
23:00:49.674: [rtmp stream: 'adv_stream'] Interface: Broadcom 802.11n Network Adapter (802.11, 81 mbps)
23:00:51.096: [rtmp stream: 'adv_stream'] Connection to rtmp://live-ord.twitch.tv/app successful
23:00:51.100: ==== Streaming Start ===============================================
23:03:31.550: adding 21 milliseconds of audio buffering, total audio buffering is now 85 milliseconds
23:06:45.071: [rtmp stream: 'adv_stream'] User stopped the stream
23:06:45.071: Output 'adv_stream': stopping
23:06:45.071: Output 'adv_stream': Total encoded frames: 21331
23:06:45.072: Output 'adv_stream': Total drawn frames: 21331
23:06:45.072: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 11360 (53.3%)
23:06:45.072: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 204 (1.0%)
23:06:45.075: ==== Streaming Stop ================================================
23:06:45.298: ==== Shutting down ==================================================
23:06:45.336: Switched to scene '(null)'
23:06:45.586: WASAPI: Device 'Speakers / Headphones (Realtek High Definition Audio)' Terminated
23:06:45.597: WASAPI: Device 'Jack Mic (Realtek High Definition Audio)' Terminated
23:06:45.602: All scene data cleared
23:06:45.602: ------------------------------------------------
23:06:45.871: Freeing OBS context data
23:06:46.932: == Profiler Results =============================
23:06:46.932: run_program_init: 11710.6 ms
23:06:46.932:  ┣OBSApp::AppInit: 12.686 ms
23:06:46.932:  ┃ ┗OBSApp::InitLocale: 8.179 ms
23:06:46.932:  ┗OBSApp::OBSInit: 11518.4 ms
23:06:46.933:    ┣obs_startup: 34.092 ms
23:06:46.933:    ┗OBSBasic::OBSInit: 11272.1 ms
23:06:46.933:      ┣OBSBasic::InitBasicConfig: 0.371 ms
23:06:46.933:      ┣OBSBasic::ResetAudio: 0.366 ms
23:06:46.933:      ┣OBSBasic::ResetVideo: 1720.4 ms
23:06:46.933:      ┣OBSBasic::InitOBSCallbacks: 0.012 ms
23:06:46.933:      ┣OBSBasic::InitHotkeys: 0.04 ms
23:06:46.933:      ┣obs_load_all_modules: 5106.79 ms
23:06:46.933:      ┃ ┣obs_init_module(coreaudio-encoder.dll): 12.481 ms
23:06:46.933:      ┃ ┣obs_init_module(enc-amf.dll): 0.417 ms
23:06:46.933:      ┃ ┣obs_init_module(frontend-tools.dll): 0.052 ms
23:06:46.933:      ┃ ┣obs_init_module(image-source.dll): 0.007 ms
23:06:46.933:      ┃ ┣obs_init_module(obs-browser.dll): 0.079 ms
23:06:46.933:      ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.485 ms
23:06:46.933:      ┃ ┣obs_init_module(obs-filters.dll): 0.01 ms
23:06:46.933:      ┃ ┣obs_init_module(obs-outputs.dll): 0.004 ms
23:06:46.933:      ┃ ┣obs_init_module(obs-qsv11.dll): 23.419 ms
23:06:46.933:      ┃ ┣obs_init_module(obs-text.dll): 0.447 ms
23:06:46.933:      ┃ ┣obs_init_module(obs-transitions.dll): 0.007 ms
23:06:46.933:      ┃ ┣obs_init_module(obs-x264.dll): 0.006 ms
23:06:46.933:      ┃ ┣obs_init_module(rtmp-services.dll): 0.362 ms
23:06:46.933:      ┃ ┣obs_init_module(text-freetype2.dll): 25.298 ms
23:06:46.933:      ┃ ┣obs_init_module(vlc-video.dll): 1.282 ms
23:06:46.933:      ┃ ┣obs_init_module(win-capture.dll): 2372.7 ms
23:06:46.933:      ┃ ┣obs_init_module(win-decklink.dll): 0.91 ms
23:06:46.933:      ┃ ┣obs_init_module(win-dshow.dll): 1.867 ms
23:06:46.933:      ┃ ┣obs_init_module(win-mf.dll): 1.127 ms
23:06:46.933:      ┃ ┣obs_init_module(win-wasapi.dll): 0.009 ms
23:06:46.933:      ┃ ┗reset_win32_symbol_paths: 0.645 ms
23:06:46.933:      ┣OBSBasic::ResetOutputs: 165.514 ms
23:06:46.933:      ┣OBSBasic::CreateHotkeys: 0.263 ms
23:06:46.933:      ┣OBSBasic::InitService: 3.383 ms
23:06:46.934:      ┣OBSBasic::InitPrimitives: 0.412 ms
23:06:46.934:      ┗OBSBasic::Load: 4208.58 ms
23:06:46.934: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.008 ms, max=152.348 ms, 99th percentile=42.541 ms, 97.9578% below 25 ms
23:06:46.934: audio_thread(Audio): min=0 ms, median=0.592 ms, max=53.878 ms, 99th percentile=2.326 ms
23:06:46.941:  ┗receive_audio: min=0.004 ms, median=0.667 ms, max=53.795 ms, 99th percentile=2.311 ms, 0.660865 calls per parent call
23:06:46.941:    ┣buffer_audio: min=0 ms, median=0.002 ms, max=0.426 ms, 99th percentile=0.004 ms
23:06:46.941:    ┗do_encode: min=0.359 ms, median=0.66 ms, max=53.782 ms, 99th percentile=2.297 ms
23:06:46.941:      ┗encode(Track1): min=0.354 ms, median=0.642 ms, max=53.763 ms, 99th percentile=2.244 ms
23:06:46.941: obs_video_thread(16.6667 ms): min=0.384 ms, median=1.663 ms, max=3239.64 ms, 99th percentile=133.541 ms, 66.2945% below 16.667 ms
23:06:46.941:  ┣tick_sources: min=0 ms, median=0.081 ms, max=3238.54 ms, 99th percentile=0.585 ms
23:06:46.941:  ┣render_displays: min=0 ms, median=0.516 ms, max=198.119 ms, 99th percentile=58.632 ms
23:06:46.941:  ┗output_frame: min=0.381 ms, median=0.96 ms, max=173.412 ms, 99th percentile=117.302 ms
23:06:46.942:    ┣gs_context(video->graphics): min=0.087 ms, median=0.26 ms, max=172.857 ms, 99th percentile=116.757 ms
23:06:46.942:    ┃ ┣render_video: min=0.011 ms, median=0.056 ms, max=2.898 ms, 99th percentile=0.193 ms
23:06:46.942:    ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.026 ms, max=2.844 ms, 99th percentile=0.104 ms
23:06:46.942:    ┃ ┃ ┣render_output_texture: min=0.003 ms, median=0.008 ms, max=0.424 ms, 99th percentile=0.027 ms
23:06:46.942:    ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.01 ms, max=0.759 ms, 99th percentile=0.024 ms
23:06:46.942:    ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.005 ms, max=1.082 ms, 99th percentile=0.077 ms
23:06:46.942:    ┃ ┣download_frame: min=0 ms, median=0.068 ms, max=172.677 ms, 99th percentile=116.547 ms
23:06:46.942:    ┃ ┗gs_flush: min=0.018 ms, median=0.091 ms, max=48.195 ms, 99th percentile=0.177 ms
23:06:46.942:    ┗output_video_data: min=0.439 ms, median=0.555 ms, max=6.359 ms, 99th percentile=1.04 ms
23:06:46.942: video_thread(video): min=0.001 ms, median=1.536 ms, max=113.648 ms, 99th percentile=29.497 ms
23:06:46.942:  ┗receive_video: min=0 ms, median=2.187 ms, max=99.065 ms, 99th percentile=13.741 ms, 1.26182 calls per parent call
23:06:46.942:    ┗do_encode: min=1.373 ms, median=2.186 ms, max=99.064 ms, 99th percentile=13.74 ms
23:06:46.942:      ┗encode(streaming_h264): min=1.358 ms, median=2.16 ms, max=99.039 ms, 99th percentile=13.71 ms
23:06:46.942: =================================================
23:06:46.942: == Profiler Time Between Calls ==================
23:06:46.942: obs_hotkey_thread(25 ms): min=24.548 ms, median=25.024 ms, max=176.993 ms, 94.0072% within ±2% of 25 ms (0% lower, 5.99284% higher)
23:06:46.942: obs_video_thread(16.6667 ms): min=1.753 ms, median=16.668 ms, max=3239.65 ms, 60.9349% within ±2% of 16.667 ms (5.34569% lower, 33.7194% higher)
23:06:46.942: =================================================
23:06:47.178: Number of memory leaks: 1


Then, I tried to lower my CPU because when I was playing CSGO, the CPU would spike a ton - to like 50-60%


I can't find settings that will work for my PC.

I need to stream in the best quality as possible without having too much lag.

I hope this was enough to answer any questions and all help is appreciated.

If you don't mind, can you please go through the settings with me and tell me what to change, because I don't know what x264 and CBR, CRF, bitrate, etc. mean.

THANKS A TON!
 

Attachments

  • 2016-10-28 22-57-59.txt
    13.2 KB · Views: 5
Top