Question / Help Frame Drops!

ruxxar

New Member
I'm going to have to jump on the bandwagon of dropped frames complaints. I get a ton of dropped frames in heavy motion and engagement scenes. This only happened with the recent version of OBS.

I decided to upgrade from 0.44a to the latest to test out gamecapture. In 0.44a I never had framedrops at all.

In 0.44a, what happened in high motion scenes was first that the bitrate increased, and if the bitrate maxed out as according to the set bitrate and buffer, the quality would instead lower itself automatically instead of dropping frames.

With the new version something is amiss as this is no longer happening. As I review the footage I see that the video just freezes instead.

The version that I'm using with framedrops is 0.448a.

Again, I repeat that the older version did not have this issue.

I have to mention that in the old version I was using window capture as opposed to game capture in the new version. I don't know if this is important information.

Here's the log :

Open Broadcaster Software v0.448a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3300MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 570
Video Adapeter Dedicated Video Memory: 1293352960
Video Adapeter Shared System Memory: 2952957952
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line In (ASUS Xonar Essence ST Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
------------------------------------------
Using audio/video sync fix
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
quality: 5
preset: veryfast
i444: no
max bitrate: 3000
buffer size: 1000
------------------------------------------
Warning -- SharedTexCapture::Init: Could not open file mapping
Total frames rendered: 3269, number of frames that lagged: 1 (0.03%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line In (ASUS Xonar Essence ST Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
------------------------------------------
Using audio/video sync fix
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 3000
buffer size: 1000
------------------------------------------
Total frames rendered: 197, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line In (ASUS Xonar Essence ST Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
------------------------------------------
Using audio/video sync fix
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 3000
buffer size: 1000
------------------------------------------
Total frames rendered: 160, number of frames that lagged: 1 (0.63%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line In (ASUS Xonar Essence ST Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
------------------------------------------
Using audio/video sync fix
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 3000
buffer size: 1000
------------------------------------------
using shared texture capture
Total frames rendered: 15092, number of frames that lagged: 40 (0.27%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line In (ASUS Xonar Essence ST Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
------------------------------------------
Using audio/video sync fix
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 3000
buffer size: 1000
------------------------------------------
using shared texture capture
Total frames rendered: 213, number of frames that lagged: 1 (0.47%) (it's okay for some frames to lag)
=====Stream End=======================================================================
Send Buffer Size: 1460
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line In (ASUS Xonar Essence ST Audio Device)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
------------------------------------------
Using audio/video sync fix
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 3000
buffer size: 1000
------------------------------------------
using shared texture capture
Total frames rendered: 382361, number of frames that lagged: 48 (0.01%) (it's okay for some frames to lag)
Number of b-frames dropped: 29838, Number of p-frames dropped: 0
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 2.138 ms] [avg calls per frame: 1] [children: 78.7%] [unaccounted: 21.3%]
| scene->Preprocess - [0.0468%] [avg time: 0.001 ms] [avg calls per frame: 1]
| video encoding and uploading - [78.7%] [avg time: 1.682 ms] [avg calls per frame: 1] [children: 40.7%] [unaccounted: 37.9%]
| | CopyResource - [0.561%] [avg time: 0.012 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [2.1%] [avg time: 0.045 ms] [avg calls per frame: 0]
| | call to encoder - [38.1%] [avg time: 0.814 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
If you are sure that this is not necessarily your internet connection, please try the new version in the daily builds section, it contains new frame dropping code: viewtopic.php?f=6&t=68 . I need people who have this issue to test it out. If that doesn't help, also try raising the "send buffer size" in advanced and see if that makes any difference at all. Please report back to me on your results either way.
 

Tak0r

Member
I Have massive frame drops and this happens too in high movement scenes. My ingame framerates are about 80-100 in WOW and I Stream with 60 FPS. Frame drops also occur at 30 FPS. I will gladly help to pinpoint this Problem.

Log:

Open Broadcaster Software v0.449a [test 2] - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
------------------------------------------
Adapter 1
Video Adapter: AMD Radeon HD 7800 Series
Video Adapeter Dedicated Video Memory: 2115178496
Video Adapeter Shared System Memory: 3971502080
------------------------------------------
Adapter 2
Video Adapter: Intel(R) HD Graphics 4000
Video Adapeter Dedicated Video Memory: 67108864
Video Adapeter Shared System Memory: 1711276032
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1200
Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 800
quality: 7
preset: faster
i444: no
max bitrate: 2500
buffer size: 3000
------------------------------------------
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Mikrofon (Realtek High Definition Audio)
using shared texture capture
Total frames rendered: 56659, number of frames that lagged: 5 (0.01%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1200
Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 800
quality: 7
preset: faster
i444: no
max bitrate: 2500
buffer size: 3000
------------------------------------------
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Mikrofon (Realtek High Definition Audio)
using shared texture capture
Total frames rendered: 34295, number of frames that lagged: 2 (0.01%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1200
Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 800
quality: 7
preset: faster
i444: no
max bitrate: 2500
buffer size: 3000
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 1460
bufferTime: 2409, outputRateWindowTime: 1000, dropThreshold: 2909
Total frames rendered: 1127, number of frames that lagged: 1 (0.09%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1200
Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 800
quality: 7
preset: faster
i444: no
max bitrate: 2500
buffer size: 3000
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 1460
bufferTime: 2442, outputRateWindowTime: 1000, dropThreshold: 2942
using shared texture capture
using shared texture capture
using shared texture capture
Total frames rendered: 195052, number of frames that lagged: 9 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1200
Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 800
quality: 7
preset: faster
i444: no
max bitrate: 2500
buffer size: 3000
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 1460
bufferTime: 2513, outputRateWindowTime: 1000, dropThreshold: 3013
Total frames rendered: 35839, number of frames that lagged: 1 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 2.281 ms] [avg calls per frame: 1] [children: 84.3%] [unaccounted: 15.7%]
| scene->Preprocess - [0.0877%] [avg time: 0.002 ms] [avg calls per frame: 1]
| video encoding and uploading - [84.3%] [avg time: 1.922 ms] [avg calls per frame: 1] [children: 45.1%] [unaccounted: 39.1%]
| | CopyResource - [0.395%] [avg time: 0.009 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.132%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [44.6%] [avg time: 1.017 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.

Viewer's reportet that it lagged here and there too.

My System Specs are

http://www.sysprofile.de/id83798

best regards
 

Niamor

Member
Mr_KyleG said:
As Jim said, please use the newest test build 449a which can be found HERE

He is using it.

I also tried the test version and it's even worst, it drops frames I'm not even sending in like 5sec I did drop 800 frames while only streaming at 30 frames per second.
 

Mr_KyleG

New Member
Niamor said:
Mr_KyleG said:
As Jim said, please use the newest test build 449a which can be found HERE

He is using it.

I also tried the test version and it's even worst, it drops frames I'm not even sending in like 5sec I did drop 800 frames while only streaming at 30 frames per second.
What ingest server are you using? Should always use the closest server to you.
 

Tak0r

Member
I'm using the Frankfurt node which is clearly the closest one. I even determined it with jtvping and get around 15-20 ms ping rates. Next one is Amsterdam with around 25-30 ms ping Times.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Could you do it again, but this time use test3? I just posted it. Also, I don't understand why, but I can't seem to replicate any real issue with frame dropping.

For example, speedtest.net will report that I have a 3.0mb/s upload rate. Now that doesn't mean I can always get 3.0mb/s rate, that means that's the highest it was able to do in the time it was testing. In reality, over long transfer periods, I can only sustain about 2100 because of factors like servers and changing network conditions. The thing is, though, that I've never had any sort of issue below 2100, so I'm having real difficulty understanding if this is actually a problem or not, because the frame drop code checks out on my end.
 

ruxxar

New Member
Alright, so I've narrowed down the problem. It's definitely related to the network.

The problem is that my network card is simply not able to offer enough throughput without using buffered frames.

I have an upload speed of 5Mbps. In OBS I set the bitrate to 3000 and buffer to 1000. In older versions I never had frame drops.

What I now came to realize, was that in the older version I was actually using a very high send buffer, and that the reason I never dropped frames was actually because of the send buffer.

When later versions came out, i was influenced by a post where R1CH was and probably some others mentioned that the sendbuffer shouldn't need to be set very high.

So I turned it down to 1460(the lowest suggestion) without ever thinking about that having an effect. I was fiddling with all my other settings and thought something was broken in OBS.

Well turns out it was the sendbuffer all along. I came to this suspicion when I was watching my streaming bitrate in OBS. It seemed very low, and never went over 3000 in the newer version, when in previous versions it used to spike up to 4000 and even above!

I then started doing captures while increasing the sendbuffer until I no longer dropped frames. I tried the sendbuffers of 1460, 8192 and 16384.

On each sendbuffer value I tried doing very fast motions ingame in Far cry 3. On the 2 lowest settings I was dropping frames, but while on 16384 I was not dropping a single frame.

So it seems that, at least for me, I've tracked down the core of the issue for my sake, and I can now play happily without frame drops for the moment.

I hope this information helps you out.
 

Niamor

Member
Hi,

I'm experiencing frame drops and more annoyingly disconnection of my stream since ~2 weeks.
First thought that was because of Twitch and crappy EU servers, but now I don't think so.

I started streaming with OBS 0.432a using Dxtory the game Dark Souls.
For 2-3 weeks I had no issues, no framedrops, no disconnections with or without send buffer.

Then I started using the test version with game capture AND started playing Persona 3 on emulator (pcsx2).
And I do not understand anymore, sometimes I can stream for like 4hrs without any drop frames or disconnections (pretty rare) and most of the time I'm being disconnected a lot (this is so random)

I just used the test3 version and still being disconnected a lot. The longest session without being disconnected was 1h50.
The log : http://pastebin.com/dprJMj87

So I thought that was maybe my internet connection, but I'm pretty sure it's not.

I actually tried going back to 0.432a and Dxtory and it was still dropping, I never tried re-streaming Dark Souls but I will definitely try to see if I'm also dropping frames because I don't think why streaming pcsx2 would be the cause of dropping frames.

I have 5Mbps upload and using a bitrate of 2500kbps.
My cpu usage while streaming is pretty low most of the time (~50%).

So what I'm going to do and try to keep you up to date to fix that issue :
- Trying other streaming software (will be hard OBS is awesome).
- Streaming Dark Souls again.

My main problem here is not really dropping frames, if it's only from time to time, I don't really care, but disconnection is so annoying.

Just have a question, before being disconnected or dropping frames the square turn red and my bitrate is at 0kbps is it normal ?

Anyway thanks for reading.
If you have questions I will be happy to help you as best as I can.
 

Tak0r

Member
I will do a long Stream Session today and test it. After that I will report back!

Edit done my afternoon session with 1920x1200@30 fps. Worked pretty nice with test3.

Settings where:
Quality: 6
Bitrate: 3500
Buffer: 1500
Audio: 128
Process Priority: Above Normal
Preset: faster
Send Buffer: 11680

Since CPU Speed isn't shown correctly. Mine is overclocked to 4,2GHz

Log:
Code:
Open Broadcaster Software v0.449a [test 3] - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 7800 Series
  Video Adapter Dedicated Video Memory: 2115178496
  Video Adapter Shared System Memory: 3971502080
------------------------------------------
Adapter 2
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 800
    quality: 8
    preset: faster
    i444: no
    max bitrate: 2500
    buffer size: 1500
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Mikrofon (Realtek High Definition Audio)
Total frames rendered: 95, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1920x1200
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1200
    quality: 8
    preset: faster
    i444: no
    max bitrate: 3500
    buffer size: 1500
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 11680
bufferTime: 2714, outputRateWindowTime: 1000, dropThreshold: 3314
Total frames rendered: 2391, number of frames that lagged: 281 (11.75%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (%0), Number of p-frames dropped: 0 (%0), Total 0 (%0)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1920x1200
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1200
    quality: 8
    preset: faster
    i444: no
    max bitrate: 3500
    buffer size: 1500
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 11680
bufferTime: 2513, outputRateWindowTime: 1000, dropThreshold: 3113
Total frames rendered: 18753, number of frames that lagged: 25 (0.13%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (%0), Number of p-frames dropped: 0 (%0), Total 0 (%0)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1920x1200
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1200
    quality: 10
    preset: faster
    i444: no
    max bitrate: 3500
    buffer size: 1500
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 11680
bufferTime: 2645, outputRateWindowTime: 1000, dropThreshold: 3245
Total frames rendered: 672, number of frames that lagged: 2 (0.30%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (%0), Number of p-frames dropped: 0 (%0), Total 0 (%0)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1920x1200
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1200
    quality: 8
    preset: faster
    i444: no
    max bitrate: 3500
    buffer size: 1500
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 11680
bufferTime: 2443, outputRateWindowTime: 1000, dropThreshold: 3043
Total frames rendered: 2642, number of frames that lagged: 26 (0.98%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (%0), Number of p-frames dropped: 0 (%0), Total 0 (%0)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1920x1200
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1200
    quality: 8
    preset: faster
    i444: no
    max bitrate: 3500
    buffer size: 1500
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 11680
bufferTime: 2419, outputRateWindowTime: 1000, dropThreshold: 3019
using shared texture capture
Total frames rendered: 161966, number of frames that lagged: 290 (0.18%) (it's okay for some frames to lag)
Number of b-frames dropped: 51 (%0.013), Number of p-frames dropped: 43 (%0.011), Total 94 (%0.024)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1920x1200
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1200
    quality: 6
    preset: faster
    i444: no
    max bitrate: 3500
    buffer size: 1500
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Lautsprecher (Realtek High Definition Audio)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag.  device = Mikrofon (Realtek High Definition Audio)
Send Buffer Size: 11680
bufferTime: 2879, outputRateWindowTime: 1000, dropThreshold: 3479
Total frames rendered: 89664, number of frames that lagged: 56 (0.06%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (%0), Number of p-frames dropped: 0 (%0), Total 0 (%0)
=====Stream End=======================================================================

Edit2:
Eperimented a bit with the Sendbuffer Values!
1460 Gives me Framedrops even on test 3, 2920 works flawlessly currently!
Seems like this value should be something around your bitrate.

Edit3:
2920 Produces Framedrops too under heavy load
back to 11680 worked best so far
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
If you had frame drops with this version, but not 0.432, I need you to do me a favor - try increasing your "send buffer size" in advanced, and please let me know the result. If the values in the box do not work, please also try out sizes 8192 and 16384, and see if that makes any difference.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Okay, I believe we've got it. Try test4, I just posted it on the daily build thread. Seems like a potential fix to the network issues. If you've been getting dropped frames when you feel shouldn't have been, please try it out
 

Niamor

Member
Alright I did some more test and this is pretty much the same, my stream randomly disconnect after some time.
Yesterday I started streaming disconnect 3 times (11mins, 28mins and 12mins) then streamed for like 5hrs without any disconnect or frame drops, I don't get it.
the log : http://pastebin.com/aNY0XRH1

Today streamed again, 1h without any problems then disconnected every 15mins.
the log : http://pastebin.com/FUR0Gp1T

I'm at 90% sure this isn't my connection, even when my connection had some issue and my upload was very low, I was dropping frames and my stream was laggy like hell but it never disconnect (when I was using xsplit).

Sorry if it's maybe not the right place to put it.

I will try FFsplit tonight and see if I'm being disconnected but I'm pretty sure I won't.
 

Tak0r

Member
Did a pretty long Test with test07 and it's fucking awesome!!! No crash, no lag, no framedrops, everything perfekt!!

In my Opinion this version is rdy for release!

Log:
Code:
Open Broadcaster Software v0.449a [test 7] - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 7800 Series
  Video Adapter Dedicated Video Memory: 2115178496
  Video Adapter Shared System Memory: 3971502080
------------------------------------------
Adapter 2
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1200
  Output resolution: 1920x1200
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Mikrofon (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1200
    preset: faster
    CBR: no
    max bitrate: 3500
    buffer size: 1500
    quality: 6
------------------------------------------
bufferTime: 2954, outputRateWindowTime: 1000, dropThreshold: 3454
using shared texture capture
using shared texture capture
using shared texture capture
Total frames rendered: 333604, number of frames that lagged: 370 (0.11%) (it's okay for some frames to lag)
Number of b-frames dropped: 0 (%0), Number of p-frames dropped: 0 (%0), Total 0 (%0)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 5.012 ms] [avg calls per frame: 1] [children: 90.5%] [unaccounted: 9.54%]
| scene->Preprocess - [0.02%] [avg time: 0.001 ms] [avg calls per frame: 1]
| video encoding and uploading - [90.4%] [avg time: 4.533 ms] [avg calls per frame: 1] [children: 53%] [unaccounted: 37.5%]
| | CopyResource - [0.18%] [avg time: 0.009 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0599%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [52.4%] [avg time: 2.626 ms] [avg calls per frame: 0]
| | sending stuff out - [0.319%] [avg time: 0.016 ms] [avg calls per frame: 0]
==============================================================
 
Top