Question / Help Losing frames randomly during stream

roshmaster

New Member
I upgraded my internet and I get around 3.1 mbit upload speed. I think that the dropped frames are from spikes in the internet but I am not sure. I've tried tweaking the bitrate to 1000 and it doesn't seem to help. I can't for the life of me figure out how to get the stream to stop dropping frames randomly. Here is my log:

Code:
00:29:46: Open Broadcaster Software v0.541b - 64bit ( ^ω^)
00:29:46: -------------------------------
00:29:46: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
00:29:46: CPU Speed: 3500MHz
00:29:46: Physical Memory:  16334MB Total, 11550MB Free
00:29:46: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
00:29:46: monitor 1: pos={0, 0}, size={1920, 1200}
00:29:46: monitor 2: pos={-1680, 0}, size={1680, 1050}
00:29:46: Windows Version: 6.1 Build 7601 S
00:29:46: Aero is Disabled
00:29:46: -------------------------------
00:29:46: OBS Modules:
00:29:46: Base Address     Module
00:29:46: 000000003F5E0000 OBS.exe
00:29:46: 00000000F0750000 OBSApi.dll
00:29:46: 00000000F0F30000 DShowPlugin.dll
00:29:46: 00000000F2F40000 GraphicsCapture.dll
00:29:46: 00000000F3040000 NoiseGate.dll
00:29:46: 00000000F2E30000 PSVPlugin.dll
00:29:46: ------------------------------------------
00:29:46: Adapter 1
00:29:46:   Video Adapter: NVIDIA GeForce GTX 660 
00:29:46:   Video Adapter Dedicated Video Memory: 2091319296
00:29:46:   Video Adapter Shared System Memory: 2147479552
00:29:46: =====Stream Start: 2013-07-18, 00:29:46===============================================
00:29:46:   Multithreaded optimizations: On
00:29:46:   Base resolution: 1920x1200
00:29:46:   Output resolution: 960x600
00:29:46: ------------------------------------------
00:29:46: Loading up D3D10...
00:29:46: Playback device Default
00:29:46: ------------------------------------------
00:29:46: Using desktop audio input: USB HEADPHONES (Generic USB Audio Device   )
00:29:46: ------------------------------------------
00:29:46: Using auxilary audio input: Microphone (Generic USB Audio Device   )
00:29:46: ------------------------------------------
00:29:46: Audio Encoding: AAC
00:29:46:     bitrate: 128
00:29:46: Using Monitor Capture
00:29:46: ------------------------------------------
00:29:46: Video Encoding: x264
00:29:46:     fps: 60
00:29:46:     width: 960, height: 600
00:29:46:     preset: ultrafast
00:29:46:     CBR: no
00:29:46:     CFR: no
00:29:46:     max bitrate: 2000
00:29:46:     buffer size: 2000
00:29:46:     quality: 10
00:29:46: ------------------------------------------
00:29:47: Using RTMP service: Twitch / Justin.tv
00:29:47:   Server selection: rtmp://live-iad-backup.justin.tv/app
00:29:48: SO_SNDBUF was at 8192
00:29:48: SO_SNDBUF is now 65536
00:31:22: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 524288
00:47:53: Total frames rendered: 65127, number of frames that lagged: 479 (0.74%) (it's okay for some frames to lag)
00:47:53: RTMPPublisher::SocketLoop: Aborting due to bStopping
00:47:53: Number of times waited to send: 283, Waited for a total of 933941 bytes
00:47:53: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 3212 (4.9%), Total 3212 (4.9%)
00:47:53: =====Stream End: 2013-07-18, 00:47:53=================================================
00:47:55: 
00:47:55: Profiler results:
00:47:55: 
00:47:55: ==============================================================
00:47:55: frame - [100%] [avg time: 6.037 ms (cpu time: avg 3.304 ms, total 215188 ms)] [avg calls per frame: 1] [children: 91.5%] [unaccounted: 8.48%]
00:47:55: | scene->Preprocess - [79.5%] [avg time: 4.801 ms (cpu time: avg 2.263 ms, total 147421 ms)] [avg calls per frame: 1]
00:47:55: | video encoding and uploading - [12%] [avg time: 0.724 ms (cpu time: avg 0.659 ms, total 42978.3 ms)] [avg calls per frame: 1] [children: 11.5%] [unaccounted: 0.497%]
00:47:55: | | CopyResource - [0.248%] [avg time: 0.015 ms (cpu time: avg 0.014 ms, total 951.605 ms)] [avg calls per frame: 0]
00:47:55: | | conversion to 4:2:0 - [0.199%] [avg time: 0.012 ms (cpu time: avg 0.004 ms, total 280.804 ms)] [avg calls per frame: 0]
00:47:55: | | call to encoder - [10.8%] [avg time: 0.651 ms (cpu time: avg 0.621 ms, total 40466.7 ms)] [avg calls per frame: 0]
00:47:55: | | sending stuff out - [0.265%] [avg time: 0.016 ms (cpu time: avg 0.012 ms, total 811.203 ms)] [avg calls per frame: 0]
00:47:55: | Convert444Threads - [553%] [avg time: 33.379 ms (cpu time: avg 0.903 ms, total 58874.8 ms)] [avg calls per frame: 1]
00:47:55: ==============================================================
00:47:55:
 

hilalpro

Member
Try running a little tool called shaperprobe and post the log/results from it. Also try using game capture/window capture with aero ON instead of monitor capture if you don't really have to capture the whole monitor and change the preset back to veryfast.
 

roshmaster

New Member
I'm not sure why the log says I am set to "ultrafast" because I looked at the advanced option and I have it set to veryfast. Perhaps I pasted a log that was run before I made the changes back to default after tweaking a bunch. I re-tested under the veryfast setting and am getting the same results.

I downloaded shaperprobe and this is the results I got:

DiffProbe release. January 2012. Build 1008.
Shaper Detection Module.

Connected to server 217.163.1.100.

Estimating capacity:
Upstream: 3383 Kbps.
Downstream: 4513 Kbps.

The measurement will take upto 2.5 minutes. Please wait.

Checking for traffic shapers:

Upstream: No shaper detected.
Median received rate: 3285 Kbps.

Downstream: Burst size: 51-226 KB;
Shaping rate: 3920 Kbps.
 

FerretBomb

Active Member
Run a 6MB test at http://testmy.net/upload to get a better idea of your actual throughput. Speedtest tests based on dead-file transfers, while livestreaming relies on constant throughput. Many ISPs rely on 'burst mode', where your transfers run well below your rated speed for the most part, but will briefly SPIKE far above your rated. Streaming cannot use these spikes.

If you are DROPPING frames, the issue is with your network; either bitrate set too high (most likely, as people expect their speedtest results to be accurate, and aren't), poor line quality/packet loss issues, or an issue with the receiving Twitch server.
If you are LAGGING frames, that issue is on your local system. You appear to be doing both.
 

Kharay

Member
Do not take TestMy.net's results at face value though; whereas it is more accurate for the purposes of streaming I have proven that TestMy.net has equally many issues as SpeedTest. Take its result and interpret it, do not take it too literal.
 
Top