Question / Help Frame drop and 16:10

Chocapicc

New Member
Hey all. That's my speed: Link

So. Here is the log:

Open Broadcaster Software v0.449a [test 3] - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3410MHz
Physical Memory: 4013MB Total, 1276MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 670
Video Adapter Dedicated Video Memory: 2091581440
Video Adapter Shared System Memory: 1835593728
------------------------------------------
Adapter 2
Video Adapter: Intel(R) HD Graphics Family
Video Adapter Dedicated Video Memory: 67108864
Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
device: Live! Cam Chat HD (VF0700), chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 5-30, fourCC: 00000000

------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 2000
buffer size: 2000
------------------------------------------
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Głośniki (Creative SB X-Fi)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Line-In 2/Mic 2 (Creative SB X-Fi)
using shared texture capture
using shared texture capture
Total frames rendered: 5836, number of frames that lagged: 2 (0.03%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
device: Live! Cam Chat HD (VF0700), chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 5-30, fourCC: 00000000

------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 2000
buffer size: 2000
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Głośniki (Creative SB X-Fi)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Line-In 2/Mic 2 (Creative SB X-Fi)
Send Buffer Size: 1460
bufferTime: 2968, outputRateWindowTime: 1000, dropThreshold: 3568
Total frames rendered: 425, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Number of b-frames dropped: 148 (%15), Number of p-frames dropped: 150 (%16), Total 298 (%31)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
device: Live! Cam Chat HD (VF0700), chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 5-30, fourCC: 00000000

------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 2000
buffer size: 2000
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Głośniki (Creative SB X-Fi)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Line-In 2/Mic 2 (Creative SB X-Fi)
Send Buffer Size: 5840
bufferTime: 2737, outputRateWindowTime: 1000, dropThreshold: 3337
Total frames rendered: 741, number of frames that lagged: 1 (0.13%) (it's okay for some frames to lag)
Number of b-frames dropped: 215 (%12), Number of p-frames dropped: 166 (%9.6), Total 381 (%22)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
device: Live! Cam Chat HD (VF0700), chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 5-30, fourCC: 00000000

------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
quality: 10
preset: faster
i444: no
max bitrate: 2000
buffer size: 2000
------------------------------------------
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Głośniki (Creative SB X-Fi)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Line-In 2/Mic 2 (Creative SB X-Fi)
using shared texture capture
Send Buffer Size: 11680
bufferTime: 2806, outputRateWindowTime: 1000, dropThreshold: 3406
Total frames rendered: 2174, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Number of b-frames dropped: 864 (%17), Number of p-frames dropped: 945 (%18), Total 1809 (%35)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
device: Live! Cam Chat HD (VF0700), chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 5-30, fourCC: 00000000

------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
quality: 8
preset: veryfast
i444: no
max bitrate: 2000
buffer size: 2000
------------------------------------------
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Głośniki (Creative SB X-Fi)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Line-In 2/Mic 2 (Creative SB X-Fi)
using shared texture capture
Send Buffer Size: 5840
bufferTime: 2877, outputRateWindowTime: 1000, dropThreshold: 3477
Total frames rendered: 1867, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Number of b-frames dropped: 768 (%17), Number of p-frames dropped: 759 (%17), Total 1527 (%34)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
device: Live! Cam Chat HD (VF0700), chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 5-30, fourCC: 00000000

------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
quality: 8
preset: veryfast
i444: no
max bitrate: 2000
buffer size: 2000
------------------------------------------
using shared texture capture
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Głośniki (Creative SB X-Fi)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Line-In 2/Mic 2 (Creative SB X-Fi)
Send Buffer Size: 5840
bufferTime: 3020, outputRateWindowTime: 1000, dropThreshold: 3620
Total frames rendered: 3557, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Number of b-frames dropped: 1515 (%18), Number of p-frames dropped: 1338 (%16), Total 2853 (%33)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1200
Output resolution: 1280x800
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
device: Live! Cam Chat HD (VF0700), chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 5-30, fourCC: 00000000

------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 800
quality: 8
preset: veryfast
i444: no
max bitrate: 1500
buffer size: 1000
------------------------------------------
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Głośniki (Creative SB X-Fi)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Line-In 2/Mic 2 (Creative SB X-Fi)
using shared texture capture
Total frames rendered: 506, 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: 1280x800
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
device: Live! Cam Chat HD (VF0700), chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 5-30, fourCC: 00000000

------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 800
quality: 8
preset: veryfast
i444: no
max bitrate: 1500
buffer size: 1000
------------------------------------------
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Głośniki (Creative SB X-Fi)
Warning -- MMDeviceAudioSource::GetBuffer: got a discontinuity flag. device = Line-In 2/Mic 2 (Creative SB X-Fi)
using shared texture capture
Not using send buffering
bufferTime: 4084, outputRateWindowTime: 1000, dropThreshold: 4684
Total frames rendered: 4478, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Number of b-frames dropped: 467 (%4.3), Number of p-frames dropped: 291 (%2.7), Total 758 (%7)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 4.672 ms] [avg calls per frame: 1] [children: 85.6%] [unaccounted: 14.4%]
| scene->Preprocess - [6.12%] [avg time: 0.286 ms] [avg calls per frame: 1]
| video encoding and uploading - [79.5%] [avg time: 3.712 ms] [avg calls per frame: 1] [children: 40.2%] [unaccounted: 39.2%]
| | CopyResource - [0.492%] [avg time: 0.023 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.578%] [avg time: 0.027 ms] [avg calls per frame: 0]
| | call to encoder - [39.2%] [avg time: 1.83 ms] [avg calls per frame: 0]
==============================================================

My questions: How to fight with dropped frames. Trust me. Tried a lot of setting and still nothing. Some advice what settings use?

Second: I have 16:10 monitor 1920x1200. How to stream in 720p with this resolution. When I'm setting 1280x720p I can't turn off aspect ratio in game source.

Streaming DotA 2 by game source. Can't use dxtory cause of massive fps lag and screen region cause of only one monitor.
 

Muf

Forum Moderator
Chocapicc said:
Second: I have 16:10 monitor 1920x1200. How to stream in 720p with this resolution. When I'm setting 1280x720p I can't turn off aspect ratio in game source.
You can set your monitor resolution to 1920x1080. You will get black bars, but your viewers won't. Alternatively, you can just stream at 1280x800, and (some of) your viewers will get black bars (no big deal). Or you can stream at 1280x720, and crop off part of the picture at the top and/or bottom (I wouldn't do this).
 

Chocapicc

New Member
So if I see black bars on preview my wievers won't see it on live? Didn't know. Nice :)

Still. Any ideas with frames?
 

R1CH

Forum Admin
Developer
If you have black bars on your preview you're doing something wrong. Muf is referring to the twitch.tv video player which only shows 16:9. Try 1152x720.
 

Chocapicc

New Member
With this version I have this:

Open Broadcaster Software v0.432a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3410MHz
Physical Memory: 4013MB Total, 1465MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 670
Video Adapeter Dedicated Video Memory: 2091581440
Video Adapeter Shared System Memory: 1835593728
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1152x720
Output resolution: 1152x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Line-In 2/Mic 2 (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
chosen type: RGB24, usingFourCC: false, res: 960x544 - 960x544, fps: 5-30, fourCC: 00000000

Warning -- OBS::CreateImageSource: Could not find image source class 'GraphicsCapture'
Warning -- Could not create image source 'Game Capture [experimental]' in scene 'Scene'
------------------------------------------
Video Encoding: x264
fps: 30
width: 1152, height: 720
quality: 10
preset: veryfast
i444: no
max bitrate: 2000
buffer size: 1000
------------------------------------------
Total frames rendered: 52, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Exception Fault - Stack Trace:
Main
 

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 dropped frames issue
 
Top