Question / Help Dropping a lot of frames

bigbucket990

New Member
Hi.
For a while i've been having problems streaming and thought that it was due to my bitrate being set to 1500 with a 3mb upload so yesterday i switched to a 12mb upload service.

When I tried to stream with 4k bitrate i kept dropping frames so i used the Auto Setting Wizard and it set my bitrate to 1988 (even though my speed test shows 18mb upload) but i keep dropping around 60% of the frames.

The reason i'm creating this thread is just to confirm if the problem is only bandwidth instability or if there's something else that you guys can check through this log.
https://gist.github.com/536d227261f433c1563f6d1140187b09
Code:
22:38:11.420: CPU Name: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
22:38:11.421: CPU Speed: 3312MHz
22:38:11.421: Physical Cores: 4, Logical Cores: 4
22:38:11.421: Physical Memory: 16316MB Total, 9006MB Free
22:38:11.421: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
22:38:11.421: Running as administrator: false
22:38:11.421: Aero is Enabled (Aero is always on for windows 8 and above)
22:38:11.421: Portable mode: false
22:38:11.431: OBS 20.0.1 (64bit, windows)
22:38:11.431: ---------------------------------
22:38:11.431: ---------------------------------
22:38:11.431: audio settings reset:
22:38:11.431:     samples per sec: 48000
22:38:11.431:     speakers:        2
22:38:11.433: ---------------------------------
22:38:11.433: Initializing D3D11...
22:38:11.433: Available Video Adapters:
22:38:11.434:     Adapter 1: NVIDIA GeForce GTX 960
22:38:11.434:       Dedicated VRAM: 4260036608
22:38:11.434:       Shared VRAM:    4259823616
22:38:11.434:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
22:38:11.434:       output 2: pos={1920, 20}, size={1680, 1050}, attached=true
22:38:11.436: Loading up D3D11 on adapter NVIDIA GeForce GTX 960 (0)
22:38:11.459: D3D11 loaded successfully, feature level used: 45056
22:38:12.124: ---------------------------------
22:38:12.124: video settings reset:
22:38:12.124:     base resolution:   1920x1080
22:38:12.124:     output resolution: 1152x648
22:38:12.124:     downscale filter:  Lanczos
22:38:12.124:     fps:               30/1
22:38:12.124:     format:            NV12
22:38:12.126: Audio monitoring device:
22:38:12.126:     name: Default
22:38:12.126:     id: default
22:38:12.126: ---------------------------------
22:38:12.127: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
22:38:12.128: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
22:38:12.129: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
22:38:12.129: Failed to initialize module 'enc-amf.dll'
22:38:12.134: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:38:12.134: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
22:38:12.134: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:38:12.135: Failed to load 'en-US' text for module: 'obs-browser.dll'
22:38:12.135: [browser_source: 'Version: 1.29.0']
22:38:12.136: NVENC supported
22:38:12.170: Couldn't find VLC installation, VLC video source disabled
22:38:12.174: No blackmagic support
22:38:12.197: ---------------------------------
22:38:12.197:   Loaded Modules:
22:38:12.197:     win-wasapi.dll
22:38:12.197:     win-mf.dll
22:38:12.197:     win-dshow.dll
22:38:12.197:     win-decklink.dll
22:38:12.197:     win-capture.dll
22:38:12.197:     vlc-video.dll
22:38:12.197:     text-freetype2.dll
22:38:12.197:     rtmp-services.dll
22:38:12.197:     obs-x264.dll
22:38:12.197:     obs-vst.dll
22:38:12.197:     obs-transitions.dll
22:38:12.197:     obs-text.dll
22:38:12.197:     obs-qsv11.dll
22:38:12.197:     obs-outputs.dll
22:38:12.197:     obs-filters.dll
22:38:12.197:     obs-ffmpeg.dll
22:38:12.197:     obs-browser.dll
22:38:12.197:     image-source.dll
22:38:12.197:     frontend-tools.dll
22:38:12.197:     enc-amf.dll
22:38:12.197:     coreaudio-encoder.dll
22:38:12.197: ---------------------------------
22:38:12.197: ==== Startup complete ===============================================
22:38:12.201: All scene data cleared
22:38:12.201: ------------------------------------------------
22:38:12.220: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
22:38:12.221: [WASAPISource::TryInitialize]:[Microphone (Yeti Stereo Microphone)] Failed to activate client context: 88890004
22:38:12.221: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{caa2f4e0-c7a0-46ef-af27-e226e0707749}' not found.  Waiting for device
22:38:12.264: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds
22:38:13.301: warning: deprecated pixel format used, make sure you did set range correctly
22:38:13.401: Switched to scene 'HotS'
22:38:13.401: [game-capture: 'HotS Jogo'] attempting to hook process: HeroesOfTheStorm_x64.exe
22:38:13.410: [game-capture: 'HotS Jogo'] shared texture capture successful
22:38:13.411: ------------------------------------------------
22:38:13.411: Loaded scenes:
22:38:13.411: - scene 'HotS':
22:38:13.411:     - source: 'HotS Jogo' (game_capture)
22:38:13.411:     - source: 'Display Capture 2' (monitor_capture)
22:38:13.411:     - source: 'Webcam' (dshow_input)
22:38:13.411:     - source: 'Chat' (browser_source)
22:38:13.411:     - source: 'Follow' (browser_source)
22:38:13.411:     - source: 'testando drop' (text_gdiplus)
22:38:13.411: - scene 'WoW e Diablo':
22:38:13.411:     - source: 'Jogo aleatorio' (game_capture)
22:38:13.411:     - source: 'Webcam' (dshow_input)
22:38:13.411:     - source: 'Chat' (browser_source)
22:38:13.411:     - source: 'Follow' (browser_source)
22:38:13.411:     - source: 'Chat block' (image_source)
22:38:13.411:     - source: 'Display Capture' (monitor_capture)
22:38:13.411: - scene 'PS4':
22:38:13.411:     - source: 'Webcam' (dshow_input)
22:38:13.411:     - source: 'Chat' (browser_source)
22:38:13.411:     - source: 'Follow' (browser_source)
22:38:13.411: - scene 'Switch':
22:38:13.411:     - source: 'HD60' (dshow_input)
22:38:13.411:     - source: 'Webcam' (dshow_input)
22:38:13.412:     - source: 'Chat' (browser_source)
22:38:13.412:     - source: 'Follow' (browser_source)
22:38:13.412:     - source: 'Sem Spoilers' (text_gdiplus)
22:38:13.412: - scene 'DotA':
22:38:13.412:     - source: 'Window Capture' (window_capture)
22:38:13.412:     - source: 'HotS Jogo' (game_capture)
22:38:13.412:     - source: 'Webcam' (dshow_input)
22:38:13.412:     - source: 'Chat' (browser_source)
22:38:13.412:     - source: 'Follow' (browser_source)
22:38:13.412: - scene 'Wii U':
22:38:13.412:     - source: 'Wii U smash' (dshow_input)
22:38:13.412:     - source: 'Placar' (image_source)
22:38:13.412:     - source: 'Placar Doubles' (image_source)
22:38:13.412:     - source: 'Player Esquerda Baixo' (text_gdiplus)
22:38:13.412:     - source: 'Player Esquerda Cima' (text_gdiplus)
22:38:13.412:     - source: 'Player Direita Baixo' (text_gdiplus)
22:38:13.412:     - source: 'Player direita cima' (text_gdiplus)
22:38:13.412:     - source: '0' (text_gdiplus)
22:38:13.412:     - source: '1' (text_gdiplus)
22:38:13.412:     - source: '2' (text_gdiplus)
22:38:13.412:     - source: '0' (text_gdiplus)
22:38:13.412:     - source: '1' (text_gdiplus)
22:38:13.412:     - source: '2' (text_gdiplus)
22:38:13.412: - scene 'Tela Casting':
22:38:13.412:     - source: 'fundo caster' (image_source)
22:38:13.412:     - source: 'Webcam Torneio' (dshow_input)
22:38:13.412:     - source: 'Painel Caster' (image_source)
22:38:13.412: - scene 'Tela Espera':
22:38:13.412:     - source: 'Tela de Espera' (image_source)
22:38:13.412: - scene 'camera amiibos':
22:38:13.412:     - source: 'Camera Amiibos' (dshow_input)
22:38:13.412: - scene 'Teste':
22:38:13.412:     - source: 'Display Capture 3' (monitor_capture)
22:38:13.412: - scene 'SC':
22:38:13.412:     - source: 'StarCraft' (game_capture)
22:38:13.412:     - source: 'Display Capture 2' (monitor_capture)
22:38:13.412:     - source: 'Webcam' (dshow_input)
22:38:13.412:     - source: 'Chat' (browser_source)
22:38:13.412:     - source: 'Follow' (browser_source)
22:38:13.412: ------------------------------------------------
22:38:13.480: ---------------------------------
22:38:13.480: [DShow Device: 'Webcam'] settings updated:
22:38:13.480:     video device: Logitech HD Webcam C270
22:38:13.480:     video path: \\?\usb#vid_046d&pid_0825&mi_00#6&32a6af67&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
22:38:13.480:     resolution: 1280x960
22:38:13.480:     fps: 30.00 (interval: 333333)
22:38:13.480:     format: I420
22:38:15.195: ---------------------------------
22:38:15.195: [DShow Device: 'HD60'] settings updated:
22:38:15.195:     video device: Elgato Game Capture HD
22:38:15.195:     video path: __elgato
22:38:15.195:     resolution: 1920x1080
22:38:15.195:     fps: 30.00 (interval: 333333)
22:38:15.195:     format: UYVY
22:38:15.202:     using video device audio: yes
22:38:15.202:     sample rate: 0
22:38:15.202:     channels: 0
22:38:15.202:     audio type: WaveOut
22:38:15.220: DShow: Run failed (0x8004025F):
22:38:40.847: ---------------------------------
22:38:40.847: [NVENC encoder: 'simple_h264_stream'] settings:
22:38:40.847:     rate_control: CBR
22:38:40.847:     bitrate:      1988
22:38:40.847:     cqp:          0
22:38:40.847:     keyint:       60
22:38:40.847:     preset:       default
22:38:40.847:     profile:      main
22:38:40.847:     level:        auto
22:38:40.847:     width:        1152
22:38:40.847:     height:       648
22:38:40.847:     2-pass:       true
22:38:40.847:     b-frames:     2
22:38:40.847:     GPU:          0
22:38:40.847:
22:38:41.027: [Media Foundation AAC: 'simple_aac']: encoder created
22:38:41.027:     bitrate: 128
22:38:41.027:     channels: 2
22:38:41.027:     sample rate: 48000
22:38:41.027:     bits-per-sample: 16
22:38:41.027:
22:38:41.027: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-rio.twitch.tv/app...
22:38:41.144: [rtmp stream: 'simple_stream'] Interface: Intel(R) Ethernet Connection (2) I219-V (ethernet, 1000 mbps)
22:38:43.065: [rtmp stream: 'simple_stream'] Connection to rtmp://live-rio.twitch.tv/app successful
22:38:43.065: [rtmp stream: 'simple_stream'] New socket loop enabled by user
22:38:43.070: ==== Streaming Start ===============================================
22:46:22.567: [rtmp stream: 'simple_stream'] Stream shutdown timeout reached (30 second(s))
22:46:22.567: [rtmp stream: 'simple_stream'] User stopped the stream
22:46:40.186: socket_thread_windows: Normal exit
22:46:40.186: WriteN, RTMP send error 10035 (98 bytes)
22:46:40.186: WriteN, RTMP send error 10038 (42 bytes)
22:46:40.186: Output 'simple_stream': stopping
22:46:40.186: Output 'simple_stream': Total frames output: 5087 (14278 attempted)
22:46:40.186: Output 'simple_stream': Total drawn frames: 14374
22:46:40.186: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 9191 (64.4%)
22:46:40.186: [rtmp stream: 'simple_stream'] Freeing 8839 remaining packets
22:46:40.190: ==== Streaming Stop ================================================


Thx for the help in advance.

BigBucket990
 

SumDim

Member
I'm going to put this out there so you set your expectations correctly...
- You got a slow i5
- You got a slow GTX 960

To play todays high end games, you need faster equipment along with that 12Mbps upload link.
If you really want to exploit that 12Mbps, you need faster CPU and GPU.

To give you an idea of what you can do, you will be able to do 1920x1080 @ 60fps with a Ryzen 7 1600+ and GTX 1060+ on that 12Mbps

These days, to do good quality 1080p streaming:
- Your CPU should be above 11,000 Passmark
- Your GPU should be above 8,500 Passmark

With what you got, you should stick to only doing 720p@60fps

Keep it simple:
- Play your game at 1920x1080
- Set Video Base resolution to 1920x1080
- Set Video Output resolution to 1280x720
- Set downscale filter to Lanczos
- Set FPS to 60

Run AutoWizard again and use the bitrate it recommends along with either x264 (software) or NVENC (hardware) recommendation.
I would lean more towards NVENC if the GTX 960 supports it, since you are using a slower i5.

Good luck and have fun
 
Top