Question / Help ryzen 1800x problems...

01:05:01.084: [game-capture: 'BF1'] d3d11 shared texture capture successful
01:05:01.085: [game-capture: 'BF1'] shared texture capture successful
01:31:29.954: WriteN, RTMP send error 10054 (1475 bytes)
01:31:29.954: WriteN, RTMP send error 10054 (54 bytes)
01:31:29.954: WriteN, RTMP send error 10038 (42 bytes)
01:31:29.954: [rtmp stream: 'adv_stream'] Disconnected from rtmp://a.rtmp.youtube.com/live2
01:31:29.954: Output 'adv_stream': stopping
01:31:29.954: Output 'adv_stream': Total encoded frames: 77027
01:31:29.954: Output 'adv_stream': Total drawn frames: 95791
01:31:29.954: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 232 (0.2%)
01:31:29.954: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 216 (0.3%)
01:31:29.954: Output 'adv_stream': Reconnecting in 10 seconds..
01:31:29.954: [rtmp stream: 'adv_stream'] Freeing 157 remaining packets
01:31:29.955: Video stopped, number of skipped frames due to encoding lag: 22/95742 (0.0%)
01:31:39.955: ---------------------------------
01:31:39.955: [x264 encoder: 'streaming_h264'] preset: veryfast
01:31:39.955: [x264 encoder: 'streaming_h264'] profile: main
01:31:39.955: [x264 encoder: 'streaming_h264'] settings:
01:31:39.955: rate_control: CBR
01:31:39.955: bitrate: 9000
01:31:39.955: buffer size: 9000
01:31:39.955: crf: 0
01:31:39.955: fps_num: 60
01:31:39.955: fps_den: 1
01:31:39.955: width: 1920
01:31:39.955: height: 1080
01:31:39.955: keyint: 120
01:31:39.955: vfr: off
01:31:39.955:
01:31:39.966: [Media Foundation AAC: 'Track1']: encoder created
01:31:39.966: bitrate: 160
01:31:39.966: channels: 2
01:31:39.966: sample rate: 44100
01:31:39.966: bits-per-sample: 16
01:31:39.966:
01:31:39.966: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
01:31:40.061: [rtmp stream: 'adv_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
01:31:40.648: [rtmp stream: 'adv_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 successful
01:37:23.539: WriteN, RTMP send error 10054 (4097 bytes)
01:37:23.539: WriteN, RTMP send error 10054 (54 bytes)
01:37:23.539: WriteN, RTMP send error 10038 (42 bytes)
01:37:23.540: [rtmp stream: 'adv_stream'] Disconnected from rtmp://a.rtmp.youtube.com/live2
01:37:23.540: Output 'adv_stream': stopping
01:37:23.540: Output 'adv_stream': Total encoded frames: 4294891528
01:37:23.540: Output 'adv_stream': Total drawn frames: 20615
01:37:23.540: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 26 (0.1%)
01:37:23.540: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 216 (0.0%)
01:37:23.540: Output 'adv_stream': Reconnecting in 10 seconds..
01:37:23.540: [rtmp stream: 'adv_stream'] Freeing 216 remaining packets
01:37:33.540: ---------------------------------
01:37:33.540: [x264 encoder: 'streaming_h264'] preset: veryfast
01:37:33.540: [x264 encoder: 'streaming_h264'] profile: main
01:37:33.540: [x264 encoder: 'streaming_h264'] settings:
01:37:33.540: rate_control: CBR
01:37:33.540: bitrate: 9000
01:37:33.540: buffer size: 9000
01:37:33.540: crf: 0
01:37:33.540: fps_num: 60
01:37:33.540: fps_den: 1
01:37:33.540: width: 1920
01:37:33.540: height: 1080
01:37:33.540: keyint: 120
01:37:33.540: vfr: off
01:37:33.540:
01:37:33.552: [Media Foundation AAC: 'Track1']: encoder created
01:37:33.552: bitrate: 160
01:37:33.552: channels: 2
01:37:33.552: sample rate: 44100
01:37:33.552: bits-per-sample: 16
01:37:33.552:
01:37:33.552: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
01:37:33.668: [rtmp stream: 'adv_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
01:37:34.274: [rtmp stream: 'adv_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 successful
01:48:40.105: [rtmp stream: 'adv_stream'] User stopped the stream
01:48:40.105: Output 'adv_stream': stopping
01:48:40.105: Output 'adv_stream': Total encoded frames: 18776
01:48:40.105: Output 'adv_stream': Total drawn frames: 39993
01:48:40.105: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 57 (0.1%)
01:48:40.108: ==== Streaming Stop ================================================
01:48:43.201: [game-capture: 'BF1'] capture window no longer exists, terminating capture
01:48:43.202: [game-capture: 'BF1'] capture stopped
01:49:24.736: User Removed source 'Texto (FreeType 2)' (text_ft2_source) from scene 'Cena 1'
01:49:29.163: ==== Shutting down ==================================================
01:49:29.170: Switched to scene '(null)'
01:49:29.175: WASAPI: Device 'Auricular (Corsair Gaming H2100 Headset)' Terminated
01:49:29.179: WASAPI: Device 'Auscultadores com Microfone (Corsair Gaming H2100 Headset)' Terminated
01:49:29.184: All scene data cleared
01:49:29.184: ------------------------------------------------
01:49:29.223: Freeing OBS context data
01:49:29.304: == Profiler Results =============================
01:49:29.304: run_program_init: 2778.86 ms
01:49:29.304: ┣OBSApp::AppInit: 8.305 ms
01:49:29.304: ┃ ┗OBSApp::InitLocale: 1.989 ms
01:49:29.304: ┗OBSApp::OBSInit: 2529.99 ms
01:49:29.304: ┣obs_startup: 2.247 ms
01:49:29.304: ┗OBSBasic::OBSInit: 2501.6 ms
01:49:29.304: ┣OBSBasic::InitBasicConfig: 0.627 ms
01:49:29.304: ┣OBSBasic::ResetAudio: 0.263 ms
01:49:29.304: ┣OBSBasic::ResetVideo: 845.292 ms
01:49:29.304: ┣OBSBasic::InitOBSCallbacks: 0.004 ms
01:49:29.304: ┣OBSBasic::InitHotkeys: 0.056 ms
01:49:29.304: ┣obs_load_all_modules: 606.966 ms
01:49:29.304: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.501 ms
01:49:29.304: ┃ ┣obs_init_module(enc-amf.dll): 0.463 ms
01:49:29.304: ┃ ┣obs_init_module(frontend-tools.dll): 1.65 ms
01:49:29.304: ┃ ┣obs_init_module(image-source.dll): 0.003 ms
01:49:29.304: ┃ ┣obs_init_module(obs-browser.dll): 0.099 ms
01:49:29.304: ┃ ┣obs_init_module(obs-ffmpeg.dll): 14.797 ms
01:49:29.304: ┃ ┣obs_init_module(obs-filters.dll): 0.011 ms
01:49:29.304: ┃ ┣obs_init_module(obs-outputs.dll): 0.009 ms
01:49:29.304: ┃ ┣obs_init_module(obs-qsv11.dll): 96.206 ms
01:49:29.304: ┃ ┣obs_init_module(obs-text.dll): 0.409 ms
01:49:29.304: ┃ ┣obs_init_module(obs-transitions.dll): 0.004 ms
01:49:29.304: ┃ ┣obs_init_module(obs-vst.dll): 0.002 ms
01:49:29.304: ┃ ┣obs_init_module(obs-x264.dll): 0.002 ms
01:49:29.304: ┃ ┣obs_init_module(rtmp-services.dll): 0.498 ms
01:49:29.304: ┃ ┣obs_init_module(text-freetype2.dll): 0.106 ms
01:49:29.304: ┃ ┣obs_init_module(vlc-video.dll): 0.033 ms
01:49:29.304: ┃ ┣obs_init_module(win-capture.dll): 0.193 ms
01:49:29.304: ┃ ┣obs_init_module(win-decklink.dll): 2.871 ms
01:49:29.304: ┃ ┣obs_init_module(win-dshow.dll): 1.995 ms
01:49:29.304: ┃ ┣obs_init_module(win-mf.dll): 57.713 ms
01:49:29.304: ┃ ┣obs_init_module(win-wasapi.dll): 0.005 ms
01:49:29.304: ┃ ┗reset_win32_symbol_paths: 0.081 ms
01:49:29.304: ┣OBSBasic::ResetOutputs: 0.331 ms
01:49:29.304: ┣OBSBasic::CreateHotkeys: 0.18 ms
01:49:29.304: ┣OBSBasic::InitService: 0.117 ms
01:49:29.304: ┣OBSBasic::InitPrimitives: 0.236 ms
01:49:29.304: ┗OBSBasic::Load: 1007.21 ms
01:49:29.304: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.007 ms, max=3027.82 ms, 99th percentile=0.151 ms, 99.9983% below 25 ms
01:49:29.304: audio_thread(Audio): min=0 ms, median=0.367 ms, max=9.402 ms, 99th percentile=1.523 ms
01:49:29.304: ┗receive_audio: min=0.002 ms, median=0.313 ms, max=8.739 ms, 99th percentile=1.412 ms, 0.851719 calls per parent call
01:49:29.304: ┣buffer_audio: min=0 ms, median=0.001 ms, max=1.506 ms, 99th percentile=0.003 ms
01:49:29.304: ┗do_encode: min=0.095 ms, median=0.308 ms, max=8.737 ms, 99th percentile=1.398 ms
01:49:29.304: ┗encode(Track1): min=0.094 ms, median=0.29 ms, max=8.715 ms, 99th percentile=1.321 ms
01:49:29.304: obs_video_thread(16.6667 ms): min=0.27 ms, median=1.199 ms, max=3015.25 ms, 99th percentile=16.869 ms, 98.9687% below 16.667 ms
01:49:29.304: ┣tick_sources: min=0.001 ms, median=0.025 ms, max=938.884 ms, 99th percentile=0.222 ms
01:49:29.304: ┣render_displays: min=0.001 ms, median=0.212 ms, max=34.079 ms, 99th percentile=0.593 ms
01:49:29.304: ┗output_frame: min=0.265 ms, median=0.934 ms, max=3015.06 ms, 99th percentile=16.554 ms
01:49:29.304: ┣gs_context(video->graphics): min=0.091 ms, median=0.464 ms, max=3014.54 ms, 99th percentile=16.072 ms
01:49:29.304: ┃ ┣render_video: min=0.03 ms, median=0.07 ms, max=16.327 ms, 99th percentile=0.489 ms
01:49:29.304: ┃ ┃ ┣render_main_texture: min=0.003 ms, median=0.04 ms, max=16.278 ms, 99th percentile=0.202 ms
01:49:29.304: ┃ ┃ ┣render_output_texture: min=0.003 ms, median=0.011 ms, max=1.779 ms, 99th percentile=0.022 ms
01:49:29.304: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.012 ms, max=1.574 ms, 99th percentile=0.026 ms
01:49:29.304: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.003 ms, max=12.532 ms, 99th percentile=0.362 ms
01:49:29.304: ┃ ┣download_frame: min=0 ms, median=0.002 ms, max=199.335 ms, 99th percentile=15.801 ms
01:49:29.304: ┃ ┗gs_flush: min=0.013 ms, median=0.331 ms, max=3014.47 ms, 99th percentile=0.78 ms
01:49:29.304: ┗output_video_data: min=0.001 ms, median=0.449 ms, max=2.833 ms, 99th percentile=0.767 ms
01:49:29.304: video_thread(video): min=0 ms, median=1.593 ms, max=460.049 ms, 99th percentile=2.59 ms
01:49:29.304: ┗receive_video: min=0 ms, median=1.671 ms, max=28.713 ms, 99th percentile=2.611 ms, 0.873644 calls per parent call
01:49:29.304: ┗do_encode: min=0.933 ms, median=1.67 ms, max=28.712 ms, 99th percentile=2.61 ms
01:49:29.304: ┗encode(streaming_h264): min=0.925 ms, median=1.638 ms, max=28.668 ms, 99th percentile=2.566 ms
01:49:29.304: =================================================
01:49:29.304: == Profiler Time Between Calls ==================
01:49:29.305: obs_hotkey_thread(25 ms): min=24.103 ms, median=25.085 ms, max=3052.8 ms, 94.2858% within ±2% of 25 ms (0.00757512% lower, 5.70659% higher)
01:49:29.305: obs_video_thread(16.6667 ms): min=1.387 ms, median=16.667 ms, max=3015.26 ms, 91.6486% within ±2% of 16.667 ms (4.01639% lower, 4.33502% higher)
01:49:29.305: =================================================
01:49:29.544: Number of memory leaks: 9



here is another log...again trying to capture several games...number of memory leaks 9...
will try now just capture any application in full screen...
 

SumDim

Member
Memory leaks are not a good thing. To fix the leaks, what's needed is the module name, source file name, and source code line number. So as a user, you are not going to get that information. It needs to be determined through developer debugging session. The best you can do is take on a "black box" testing approach by performing operations with the mindset of snuffing out memory leaks. You need to be very detailed oriented in your approach and note the exact steps. Do that with opening OBS, doing an operation, and then closing OBS. The more detailed the better and most importantly, it must be reproducible.

However, I beleve its a waste of time. You as the user shouldn't be subjected to doing this sort of work. What's needed is for OBS Studio to have a debugging version with memory allocation/frees kept in a runtime report to assist in locating the leaks.
 
when using logitech c 922 pro i cant use any type of text or browser source ,logo...web cam will frese instantly...man WHAT THE MESS IS THIS...
 
MAN ...WHEN I WAS JUST PLAYING GAMES AND NOTHING MORE I WAS BEEN THE HAPPIEST GAMER IN ALL WORLD...THIS IS SUFFERING AND DUMB SITUATION FOR ME...
 

SumDim

Member
I know, it can be a royal pain in the ass to deal with this kind of crap. The key is though to keep a positive mindset out of this and make really small minor adjustments and not move too fast.
Streaming is a delicate thing. There is no doubt in my mind you got extremely good hardware to do anything out there. I have almost the same system configuration.

Let me sift through this log file and make recommendations.... give me a few minutes.
 
yep ok man....
also do i need to make some adjustments on you tube stream page?i did nothing there just added streaming key to obs...if you can give me some pics of obs settings or anything else that will help...
here is my email if you need draganpajic@hotmail.com
 
Number of memory leaks: 2 is not 5 since last log...i know what it is...my logitech web cam C922 pro cant work together whit any type of source added in obs...from there are memory leaks...eliminated all source will have non of memory leaks...
 

SumDim

Member
Audio
--------------------------------------------------
Change your audio settings to 48khz in the Audio Category.
Make sure all your Windows sound devices are set to 48Khz. You can set that in the Advanced Properties tab for each device in Recording/Playback tabs.
YouTube uses AAC 48khz and 96khz stereo. So to avoid having the CPU resample and do more work, change to 48khz,

Graphics Card
-------------------------------------------------------
If you haven't, go download Nvidia GeForce Experience and get a new GTX 1080 driver.

Streaming
--------------------------------------------------------------------------
Lets shoot for 1920x1080 at 60fps

Base resolution: 1920x1080 (lets start here first)
Output resolution: 1920x1080
Filter: Bilinear (for 1:1 mapping, fast, avoid scaling)
Common FPS: 60fps

Output Streaming
Audio Track 1
Encoder x264 (lets start here first)
Rate Control: CBR
Bitrate: 16000-18000 (lets start at 16000)
Keyframe: 2
CPU Usage: fast (lets start here first)
Profile None
Tune None

Create a scene called "Test"
Add a C922 Webcam source (see settings below)
Add Game Capture full screen

Logitech C922: These settings work perfectly fine for me
----------------------------------------------------------------------------------
Custom Resolution: 640x480
FPS: Match Output FPS
Format: Any (mine is set to I420, you are using YUY2)
YUV Color space: Default
YUV Color Range: Full
Buffering: AutoDetect

Suggestion to make life easier
--------------------------------------------------------------------:
Go buy another monitor. Make sure same manufacturer and model number, same frequency.
Get two. Three even better!
One for game. The other for OBS Studio, the other for Google Chrome to watch YouTube stream.
 
Bitrate: 16000-18000 (lets start at 16000)
ok will configure in same way like your advice...
is not too much 16000 of bitrate?i trust you but....will try like that...
also c 922 pro have issues whit all text or sources that i will add in obs,will freeze after some sec...no text add or logo all is ok...
 

SumDim

Member
I tested out dual C922 and C920 a while ago. I didn't get any memory leaks. The only problem I had was that OBS added 21 milliseconds to the audio buffer for each device.
No idea why because I have the damn things muted. I also set the audio monitoring to muted too. In both cases, there should be no audio buffering required because there is nothing to capture.

In regards to bitrate, sure, why not try. Bitrate is a suggestion to the RTSP server that you both will agree to that contract. Its adaptive in nature. If the server wavers, its going to let you know. If you start to fail, its going to let you know too. You know those red, green, yellow stream lights? Those are probably YouTube's way of bitrate quality.

If 16,000 doesn't work, then its not a big deal. We'll just keep lowering it. If it does work, it means we'll start raising it higher! I'm basing this on your 20Mbps upload number and giving headroom for downspikes in quality (no .throughput is ever constant, there's always a percentage envelope to work with). Also, realize that when you do a Speedtest, its kind of a bogus number in that locality is near you, the route shorter, stuff like that).
 
Last edited:

SumDim

Member
None of those logs did with I told you to do.
They all show you didn't change from 44khz to 48khz for audio
They all show you didn't make a new Scene called Test with only the C922 and GameCapture

Go through that list above and put a (yes/no) next to it and repost.
 
upload_2017-7-15_2-26-19.png



upload_2017-7-15_2-27-11.png
 
Top