Question / Help Dropped frames in OBS Studio, but not in XSplit

Excelsior

New Member
I have done days of troubleshooting and have found that OBS has a huge amount of dropped frames vs XSPLIT as seen in image here.

Any suggestions?

http://www.ddz.net/obs/obsframes.jpg
 

Attachments

  • obsframes.jpg
    obsframes.jpg
    114.5 KB · Views: 28

Excelsior

New Member
13:44:39.020: CPU Name: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
13:44:39.020: CPU Speed: 3998MHz
13:44:39.020: Physical Cores: 4, Logical Cores: 8
13:44:39.020: Physical Memory: 16325MB Total, 10109MB Free
13:44:39.020: Windows Version: 10.0 Build 14393 (revision: 576; 64-bit)
13:44:39.020: Running as administrator: false
13:44:39.020: Aero is Enabled (Aero is always on for windows 8 and above)
13:44:39.020: Portable mode: false
13:44:39.027: OBS 17.0.0 (64bit, windows)
13:44:39.027: ---------------------------------
13:44:39.028: ---------------------------------
13:44:39.028: audio settings reset:
13:44:39.028: samples per sec: 44100
13:44:39.028: speakers: 2
13:44:39.029: ---------------------------------
13:44:39.029: Initializing D3D11..
13:44:39.029: Available Video Adapters:
13:44:39.030: Adapter 1: NVIDIA GeForce GTX 1080
13:44:39.030: Dedicated VRAM: 4245356544
13:44:39.030: Shared VRAM: 4264058880
13:44:39.030: output 1: pos={0, 0}, size={1920, 1080}, attached=true
13:44:39.030: output 2: pos={-1920, 0}, size={1920, 1200}, attached=true
13:44:39.030: output 3: pos={1920, 0}, size={1920, 1200}, attached=true
13:44:39.032: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
13:44:39.423: D3D11 loaded sucessfully, feature level used: 45056
13:44:39.770: ---------------------------------
13:44:39.770: video settings reset:
13:44:39.770: base resolution: 1920x1080
13:44:39.770: output resolution: 1920x1080
13:44:39.770: downscale filter: Bicubic
13:44:39.770: fps: 30/1
13:44:39.770: format: NV12
13:44:39.771: ---------------------------------
13:44:39.773: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
13:44:39.774: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
13:44:39.774: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
13:44:39.778: NVENC supported
13:44:39.835: Couldn't find VLC installation, VLC video source disabled
13:44:39.839: No blackmagic support
13:44:39.877: ---------------------------------
13:44:39.877: Loaded Modules:
13:44:39.877: win-wasapi.dll
13:44:39.877: win-mf.dll
13:44:39.877: win-dshow.dll
13:44:39.877: win-decklink.dll
13:44:39.877: win-capture.dll
13:44:39.877: vlc-video.dll
13:44:39.877: text-freetype2.dll
13:44:39.877: rtmp-services.dll
13:44:39.877: obs-x264.dll
13:44:39.877: obs-transitions.dll
13:44:39.877: obs-text.dll
13:44:39.877: obs-qsv11.dll
13:44:39.877: obs-outputs.dll
13:44:39.877: obs-filters.dll
13:44:39.877: obs-ffmpeg.dll
13:44:39.877: image-source.dll
13:44:39.877: frontend-tools.dll
13:44:39.877: enc-amf.dll
13:44:39.877: coreaudio-encoder.dll
13:44:39.877: ==== Startup complete ===============================================
13:44:39.878: All scene data cleared
13:44:39.878: ------------------------------------------------
13:44:39.894: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
13:44:39.898: WASAPI: Device 'Microphone (3- ATR USB microphone )' initialized
13:44:39.955: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
13:44:40.020: Switched to scene 'Scene'
13:44:40.020: ------------------------------------------------
13:44:40.020: Loaded scenes:
13:44:40.020: - scene 'Scene':
13:44:40.020: - source: 'Image' (image_source)
13:44:40.020: ------------------------------------------------
13:44:40.358: Update check: last known remote version is 17.0.0
13:44:49.568: ---------------------------------
13:44:49.568: [x264 encoder: 'streaming_h264'] preset: faster
13:44:49.568: [x264 encoder: 'streaming_h264'] x264 param: brames=5 failed
13:44:49.568: [x264 encoder: 'streaming_h264'] settings:
13:44:49.568: rate_control: CBR
13:44:49.568: bitrate: 2500
13:44:49.568: buffer size: 2500
13:44:49.568: crf: 0
13:44:49.568: fps_num: 30
13:44:49.568: fps_den: 1
13:44:49.568: width: 1920
13:44:49.568: height: 1080
13:44:49.568: keyint: 60
13:44:49.568: vfr: off
13:44:49.568:
13:44:49.568: [x264 encoder: 'streaming_h264'] custom settings: brames=5 scenecut=0
13:44:49.574: [Media Foundation AAC: 'Track1']: encoder created
13:44:49.574: bitrate: 160
13:44:49.574: channels: 2
13:44:49.574: sample rate: 44100
13:44:49.574: bits-per-sample: 16
13:44:49.574:
13:44:49.574: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-ord.twitch.tv/app...
13:44:49.691: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (2) I218-V (ethernet, 1000 mbps)
13:44:50.513: [rtmp stream: 'adv_stream'] Connection to rtmp://live-ord.twitch.tv/app successful
13:44:50.521: ==== Streaming Start ===============================================
13:45:41.985: [rtmp stream: 'adv_stream'] User stopped the stream
13:45:41.985: Output 'adv_stream': stopping
13:45:41.985: Output 'adv_stream': Total encoded frames: 1572
13:45:41.985: Output 'adv_stream': Total drawn frames: 1572
13:45:41.985: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 504 (32.1%)
13:45:41.985: [rtmp stream: 'adv_stream'] Freeing 60 remaining packets
13:45:41.986: ==== Streaming Stop ================================================
13:46:30.906: ==== Shutting down ==================================================
13:46:30.909: Switched to scene '(null)'
13:46:30.910: WASAPI: Device 'Speakers (High Definition Audio Device)' Terminated
13:46:30.914: WASAPI: Device 'Microphone (3- ATR USB microphone )' Terminated
13:46:30.916: All scene data cleared
13:46:30.916: ------------------------------------------------
13:46:30.942: Freeing OBS context data
13:46:30.972: == Profiler Results =============================
13:46:30.972: run_program_init: 1050.4 ms
13:46:30.972: ┣OBSApp::AppInit: 1.487 ms
13:46:30.972: ┃ ┗OBSApp::InitLocale: 0.724 ms
13:46:30.972: ┗OBSApp::OBSInit: 1042.29 ms
13:46:30.972: ┣obs_startup: 1.182 ms
13:46:30.972: ┗OBSBasic::OBSInit: 1023.16 ms
13:46:30.972: ┣OBSBasic::InitBasicConfig: 0.326 ms
13:46:30.972: ┣OBSBasic::ResetAudio: 0.183 ms
13:46:30.972: ┣OBSBasic::ResetVideo: 743.739 ms
13:46:30.972: ┣OBSBasic::InitOBSCallbacks: 0.009 ms
13:46:30.972: ┣OBSBasic::InitHotkeys: 0.031 ms
13:46:30.972: ┣obs_load_all_modules: 105.534 ms
13:46:30.972: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.448 ms
13:46:30.972: ┃ ┣obs_init_module(enc-amf.dll): 0.366 ms
13:46:30.972: ┃ ┣obs_init_module(frontend-tools.dll): 0.998 ms
13:46:30.972: ┃ ┣obs_init_module(image-source.dll): 0.003 ms
13:46:30.972: ┃ ┣obs_init_module(obs-ffmpeg.dll): 1.172 ms
13:46:30.972: ┃ ┣obs_init_module(obs-filters.dll): 0.005 ms
13:46:30.972: ┃ ┣obs_init_module(obs-outputs.dll): 0.002 ms
13:46:30.972: ┃ ┣obs_init_module(obs-qsv11.dll): 49.063 ms
13:46:30.972: ┃ ┣obs_init_module(obs-text.dll): 0.466 ms
13:46:30.972: ┃ ┣obs_init_module(obs-transitions.dll): 0.004 ms
13:46:30.972: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
13:46:30.972: ┃ ┣obs_init_module(rtmp-services.dll): 0.187 ms
13:46:30.972: ┃ ┣obs_init_module(text-freetype2.dll): 0.037 ms
13:46:30.972: ┃ ┣obs_init_module(vlc-video.dll): 0.035 ms
13:46:30.972: ┃ ┣obs_init_module(win-capture.dll): 0.04 ms
13:46:30.972: ┃ ┣obs_init_module(win-decklink.dll): 3.313 ms
13:46:30.972: ┃ ┣obs_init_module(win-dshow.dll): 2.961 ms
13:46:30.972: ┃ ┣obs_init_module(win-mf.dll): 30.847 ms
13:46:30.972: ┃ ┣obs_init_module(win-wasapi.dll): 0.004 ms
13:46:30.972: ┃ ┗reset_win32_symbol_paths: 0.44 ms
13:46:30.972: ┣OBSBasic::ResetOutputs: 0.405 ms
13:46:30.972: ┣OBSBasic::CreateHotkeys: 0.022 ms
13:46:30.972: ┣OBSBasic::InitService: 0.171 ms
13:46:30.972: ┣OBSBasic::InitPrimitives: 0.165 ms
13:46:30.972: ┗OBSBasic::Load: 142.033 ms
13:46:30.972: obs_hotkey_thread(25 ms): min=0.001 ms, median=0.004 ms, max=0.929 ms, 99th percentile=0.059 ms, 100% below 25 ms
13:46:30.972: audio_thread(Audio): min=0 ms, median=0.121 ms, max=1.729 ms, 99th percentile=0.48 ms
13:46:30.972: ┗receive_audio: min=0.002 ms, median=0.091 ms, max=1.568 ms, 99th percentile=0.401 ms, 0.446457 calls per parent call
13:46:30.972: ┣buffer_audio: min=0 ms, median=0.001 ms, max=0.043 ms, 99th percentile=0.002 ms
13:46:30.972: ┗do_encode: min=0.076 ms, median=0.089 ms, max=1.45 ms, 99th percentile=0.398 ms
13:46:30.972: ┗encode(Track1): min=0.071 ms, median=0.079 ms, max=1.414 ms, 99th percentile=0.368 ms
13:46:30.972: obs_video_thread(33.3333 ms): min=0.207 ms, median=1.13 ms, max=115.158 ms, 99th percentile=2.563 ms, 99.97% below 33.333 ms
13:46:30.972: ┣tick_sources: min=0 ms, median=0.007 ms, max=113.815 ms, 99th percentile=0.175 ms
13:46:30.972: ┣render_displays: min=0.001 ms, median=0.184 ms, max=1.735 ms, 99th percentile=0.492 ms
13:46:30.972: ┗output_frame: min=0.202 ms, median=0.929 ms, max=3.24 ms, 99th percentile=2.087 ms
13:46:30.972: ┣gs_context(video->graphics): min=0.087 ms, median=0.355 ms, max=1.565 ms, 99th percentile=1.133 ms
13:46:30.972: ┃ ┣render_video: min=0.017 ms, median=0.135 ms, max=1.259 ms, 99th percentile=0.82 ms
13:46:30.972: ┃ ┃ ┣render_main_texture: min=0.006 ms, median=0.012 ms, max=0.206 ms, 99th percentile=0.053 ms
13:46:30.972: ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.009 ms, max=0.457 ms, 99th percentile=0.032 ms
13:46:30.972: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.013 ms, max=0.197 ms, 99th percentile=0.049 ms
13:46:30.972: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.006 ms, max=1.136 ms, 99th percentile=0.711 ms
13:46:30.972: ┃ ┣download_frame: min=0 ms, median=0.006 ms, max=1.207 ms, 99th percentile=0.856 ms
13:46:30.972: ┃ ┗gs_flush: min=0.014 ms, median=0.048 ms, max=1.064 ms, 99th percentile=0.51 ms
13:46:30.972: ┗output_video_data: min=0.409 ms, median=0.556 ms, max=2.193 ms, 99th percentile=0.974 ms
13:46:30.972: video_thread(video): min=0 ms, median=0.004 ms, max=10.915 ms, 99th percentile=3.77 ms
13:46:30.972: ┗receive_video: min=0.001 ms, median=1.249 ms, max=10.906 ms, 99th percentile=5.42 ms, 0.463803 calls per parent call
13:46:30.972: ┗do_encode: min=1.074 ms, median=1.249 ms, max=10.904 ms, 99th percentile=5.418 ms
13:46:30.972: ┗encode(streaming_h264): min=1.064 ms, median=1.236 ms, max=10.902 ms, 99th percentile=5.38 ms
13:46:30.972: =================================================
13:46:30.972: == Profiler Time Between Calls ==================
13:46:30.972: obs_hotkey_thread(25 ms): min=24.627 ms, median=25.038 ms, max=25.72 ms, 98.7687% within ±2% of 25 ms (0% lower, 1.23125% higher)
13:46:30.972: obs_video_thread(33.3333 ms): min=18.171 ms, median=33.333 ms, max=115.166 ms, 99.88% within ±2% of 33.333 ms (0.060024% lower, 0.060024% higher)
13:46:30.972: =================================================
13:46:31.005: Number of memory leaks: 0
 

Excelsior

New Member
It happens on my closest one in Dallas as well. I was doing the swap to Chicago as a test and forgot to set it back. Running that tool again so I can post results. Thank you for the assist.
 

Excelsior

New Member
To save a little time, I posted the results now, which is the same as what I always get.
 

Attachments

  • tt.jpg
    tt.jpg
    138.5 KB · Views: 28

EBrito

Active Member
Quality = 0
It should be at least 70 to stream.


Try using Restream.io

You stream to Restream.io and they send it to Twitch.
 

Excelsior

New Member
hitting up the suggested test, meanwhile here is this to restream

14:54:50.576: CPU Name: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
14:54:50.576: CPU Speed: 3998MHz
14:54:50.576: Physical Cores: 4, Logical Cores: 8
14:54:50.576: Physical Memory: 16325MB Total, 11217MB Free
14:54:50.576: Windows Version: 10.0 Build 14393 (revision: 576; 64-bit)
14:54:50.576: Running as administrator: false
14:54:50.576: Aero is Enabled (Aero is always on for windows 8 and above)
14:54:50.576: Portable mode: false
14:54:50.582: OBS 17.0.0 (64bit, windows)
14:54:50.582: ---------------------------------
14:54:50.583: ---------------------------------
14:54:50.583: audio settings reset:
14:54:50.583: samples per sec: 44100
14:54:50.583: speakers: 2
14:54:50.584: ---------------------------------
14:54:50.584: Initializing D3D11..
14:54:50.584: Available Video Adapters:
14:54:50.585: Adapter 1: NVIDIA GeForce GTX 1080
14:54:50.585: Dedicated VRAM: 4245356544
14:54:50.585: Shared VRAM: 4264058880
14:54:50.585: output 1: pos={0, 0}, size={1920, 1080}, attached=true
14:54:50.585: output 2: pos={-1920, 0}, size={1920, 1200}, attached=true
14:54:50.585: output 3: pos={1920, 0}, size={1920, 1200}, attached=true
14:54:50.587: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
14:54:50.983: D3D11 loaded sucessfully, feature level used: 45056
14:54:51.325: ---------------------------------
14:54:51.325: video settings reset:
14:54:51.325: base resolution: 1920x1080
14:54:51.325: output resolution: 1920x1080
14:54:51.325: downscale filter: Bicubic
14:54:51.325: fps: 30/1
14:54:51.325: format: NV12
14:54:51.326: ---------------------------------
14:54:51.328: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
14:54:51.329: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
14:54:51.329: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
14:54:51.332: NVENC supported
14:54:51.392: Couldn't find VLC installation, VLC video source disabled
14:54:51.396: No blackmagic support
14:54:51.436: ---------------------------------
14:54:51.436: Loaded Modules:
14:54:51.436: win-wasapi.dll
14:54:51.436: win-mf.dll
14:54:51.436: win-dshow.dll
14:54:51.436: win-decklink.dll
14:54:51.436: win-capture.dll
14:54:51.436: vlc-video.dll
14:54:51.436: text-freetype2.dll
14:54:51.436: rtmp-services.dll
14:54:51.436: obs-x264.dll
14:54:51.436: obs-transitions.dll
14:54:51.436: obs-text.dll
14:54:51.436: obs-qsv11.dll
14:54:51.436: obs-outputs.dll
14:54:51.436: obs-filters.dll
14:54:51.436: obs-ffmpeg.dll
14:54:51.436: image-source.dll
14:54:51.436: frontend-tools.dll
14:54:51.436: enc-amf.dll
14:54:51.436: coreaudio-encoder.dll
14:54:51.436: ==== Startup complete ===============================================
14:54:51.437: All scene data cleared
14:54:51.437: ------------------------------------------------
14:54:51.460: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
14:54:51.468: WASAPI: Device 'Microphone (3- ATR USB microphone )' initialized
14:54:51.511: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
14:54:51.593: Switched to scene 'Scene'
14:54:51.594: ------------------------------------------------
14:54:51.594: Loaded scenes:
14:54:51.594: - scene 'Scene':
14:54:51.594: - source: 'Image' (image_source)
14:54:51.594: - source: 'Text (GDI+)' (text_gdiplus)
14:54:51.594: ------------------------------------------------
14:54:52.030: Update check: last known remote version is 17.0.0
14:55:13.788: ---------------------------------
14:55:13.788: [x264 encoder: 'streaming_h264'] preset: faster
14:55:13.788: [x264 encoder: 'streaming_h264'] settings:
14:55:13.788: rate_control: CBR
14:55:13.788: bitrate: 2500
14:55:13.788: buffer size: 2500
14:55:13.788: crf: 0
14:55:13.788: fps_num: 30
14:55:13.788: fps_den: 1
14:55:13.788: width: 1920
14:55:13.788: height: 1080
14:55:13.788: keyint: 60
14:55:13.788: vfr: off
14:55:13.788:
14:55:13.788: [x264 encoder: 'streaming_h264'] custom settings: bframes=5
14:55:13.794: [Media Foundation AAC: 'Track1']: encoder created
14:55:13.794: bitrate: 160
14:55:13.794: channels: 2
14:55:13.794: sample rate: 44100
14:55:13.794: bits-per-sample: 16
14:55:13.794:
14:55:13.794: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://us-central.restream.io/live...
14:55:13.794: [rtmp stream: 'adv_stream'] Binding to IPv4
14:55:13.796: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (2) I218-V (ethernet, 1000 mbps)
14:55:15.487: [rtmp stream: 'adv_stream'] Connection to rtmp://us-central.restream.io/live successful
14:55:15.495: ==== Streaming Start ===============================================
14:55:38.573: [Media Source 'Media Source']: settings:
14:55:38.573: input:
14:55:38.573: input_format: (null)
14:55:38.573: is_looping: no
14:55:38.573: is_forcing_scale: yes
14:55:38.573: is_hw_decoding: yes
14:55:38.573: is_clear_on_media_end: yes
14:55:38.573: restart_on_activate: yes
14:55:38.575: User added source 'Media Source' (ffmpeg_source) to scene 'Scene'
14:56:07.460: [Media Source 'Media Source']: settings:
14:56:07.460: input: O:/OBS/recordings/Freefall.mp4
14:56:07.460: input_format: (null)
14:56:07.460: is_looping: yes
14:56:07.460: is_forcing_scale: yes
14:56:07.460: is_hw_decoding: yes
14:56:07.460: is_clear_on_media_end: yes
14:56:07.460: restart_on_activate: yes
14:59:12.171: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
14:59:35.064: [rtmp stream: 'adv_stream'] User stopped the stream
14:59:35.064: Output 'adv_stream': stopping
14:59:35.065: Output 'adv_stream': Total encoded frames: 7839
14:59:35.065: Output 'adv_stream': Total drawn frames: 7838
14:59:35.065: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 1353 (17.3%)
14:59:35.068: ==== Streaming Stop ================================================
 

Excelsior

New Member
WIN 24,0,0,186

RMTP Default Success 2s
RMTP Port 1935 Success 1.7s
RMTP Port 80 Success 1s
RMTP Port 443 Success 2.3s
RMTPT (Tunneling) Default Success 14.9s
RMTPT (Tunneling) Port 80 Success 14.9s
RMTPT (Tunneling) Port 443 Success 14.9s
RMTPT (Tunneling) Port 1935 Failed 14.2s

WIN 24,0,0,186

RTMP DEFAULT Success
RTMP 80 Success
RTMP 443 Success
RTMP 1935 Success
RTMPT DEFAULT Failed
RTMPT 80 Success
RTMPT 443 Success
RTMPT 1935 Success
 
Top