Question / Help Suddenly dropping frames

tijnn

New Member
Hello all,

Not long ago I made a post here about tweaking my stream @ viewtopic.php?f=5&t=4794

Recently I was streaming World of Warcraft raiding 10 man and I heard a sound on the background. It appeared that OBS stopped streaming and restarted itself. From that moment I noticed that I was dropping frames. I stopped streaming for that night and decided to give it another go the next day. Once again I noticed my OBS was dropping frames and I have no idea what is causing this. This is the log for the session that day

20:12:31: Open Broadcaster Software v0.522b - 64bit ( ^ω^)
20:12:31: -------------------------------
20:12:31: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
20:12:31: CPU Speed: 3534MHz
20:12:31: Physical Memory: 16346MB Total, 12554MB Free
20:12:31: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
20:12:31: monitor 1: pos={0, 0}, size={1680, 1050}
20:12:31: Windows Version: 6.1 Build 7601 S
20:12:31: Aero is Disabled
20:12:31: -------------------------------
20:12:31: OBS Modules:
20:12:31: Base Address Module
20:12:31: 000000003F940000 OBS.exe
20:12:31: 00000000F7BA0000 OBSApi.dll
20:12:31: 00000000F7B70000 DShowPlugin.dll
20:12:31: 00000000F7E60000 GraphicsCapture.dll
20:12:31: 00000000F7E40000 NoiseGate.dll
20:12:31: ------------------------------------------
20:12:31: Adapter 1
20:12:31: Video Adapter: NVIDIA GeForce GTX 670
20:12:31: Video Adapter Dedicated Video Memory: 2091581440
20:12:31: Video Adapter Shared System Memory: 2147479552
20:12:31: =====Stream Start: 2013-06-27, 20:12:31===============================================
20:12:31: Multithreaded optimizations: On
20:12:31: Base resolution: 1680x1050
20:12:31: Output resolution: 1680x1050
20:12:31: ------------------------------------------
20:12:31: Loading up D3D10...
20:12:31: Playback device Default
20:12:31: ------------------------------------------
20:12:31: Using desktop audio input: Luidsprekers (VIA High Definition Audio)
20:12:31: ------------------------------------------
20:12:31: Using auxilary audio input: Microfoon (VIA High Definition Audio)
20:12:31: ------------------------------------------
20:12:31: Audio Encoding: AAC
20:12:31: bitrate: 128
20:12:31: ------------------------------------------
20:12:31: device: Logitech HD Webcam C270,
20:12:31: device id \\?\usb#vid_046d&pid_0825&mi_00#7&287b1893&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
20:12:31: chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
20:12:31: audio device: (null),
20:12:31: audio device id (null),
20:12:31:
20:12:31: Using directshow input
20:12:31: Using graphics capture
20:12:32: ------------------------------------------
20:12:32: Video Encoding: x264
20:12:32: fps: 30
20:12:32: width: 1680, height: 1050
20:12:32: preset: veryfast
20:12:32: CBR: yes
20:12:32: CFR: no
20:12:32: max bitrate: 3000
20:12:32: ------------------------------------------
20:12:32: SharedTexCapture hooked
20:12:34: Using RTMP service: Twitch / Justin.tv
20:12:34: Server selection: rtmp://live-ams.justin.tv/app
20:12:35: SO_SNDBUF was at 8192
20:12:35: SO_SNDBUF is now 65536
20:22:47: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
20:31:38: Total frames rendered: 34322, number of frames that lagged: 4 (0.01%) (it's okay for some frames to lag)
20:31:38: RTMPPublisher::SocketLoop: Aborting due to bStopping
20:31:38: Number of times waited to send: 45, Waited for a total of 164464 bytes
20:31:38: Number of b-frames dropped: 259 (0.76%), Number of p-frames dropped: 226 (0.66%), Total 485 (1.4%)
20:31:38: =====Stream End: 2013-06-27, 20:31:38=================================================
20:31:39:
20:31:39: Profiler results:
20:31:39:
20:31:39: ==============================================================
20:31:39: frame - [100%] [avg time: 3.362 ms] [avg calls per frame: 1] [children: 96.2%] [unaccounted: 3.84%]
20:31:39: | scene->Preprocess - [21.3%] [avg time: 0.717 ms] [avg calls per frame: 1]
20:31:39: | video encoding and uploading - [74.8%] [avg time: 2.516 ms] [avg calls per frame: 1] [children: 73%] [unaccounted: 1.87%]
20:31:39: | | CopyResource - [4.64%] [avg time: 0.156 ms] [avg calls per frame: 0]
20:31:39: | | conversion to 4:2:0 - [0.238%] [avg time: 0.008 ms] [avg calls per frame: 0]
20:31:39: | | call to encoder - [67.1%] [avg time: 2.255 ms] [avg calls per frame: 0]
20:31:39: | | sending stuff out - [1.01%] [avg time: 0.034 ms] [avg calls per frame: 0]
20:31:39: ==============================================================
20:31:39:

As you can see I have b-frames drops. What is this exactly?

Information about my computer, internet and stream settings can be found at the old topic: viewtopic.php?f=5&t=4794

All the help is appreciated, thanks!
 

dodgepong

Administrator
Community Helper
Dropped frames are a result of an insufficient connection to the streaming server to transmit all the information to it you need to in a timely manner. Usually, this is because of too high a bit rate, but occasionally it's cause by server overload, and maybe even router issues.

It's possible that your internet service just had a small dip, or someone sharing your internet connection started taking too much bandwidth. If the problem persists, I recommend changing servers to see if that fixes it, or possibly lowering your bit rate a bit.
 

tijnn

New Member
hilalpro said:
How much more ping time does streaming cause on your connection to that twitch ingest?
I am not sure what you mean by this. Could you explain?

@dodgepong

Thank you for you comment. I will try to turn the bitrate down a bit (even though this should be fine for my connection). I was thinking on trying 2700 then. If this still causes issues (which I didn't had for a long time) I will try a different server.
 
Top