Question / Help 0% dropped frames, 41% lagged frames

Razswe

New Member
How is this possible?

"Total frames rendered: 28628, number of frames that lagged: 11726 (40.96%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)"

I've been having a really odd problem the past few streams where it seems to lag a lot for some people and it takes ages to load the past broadcast.

Specs:
i7-2600k (BIOS clocked to 4Ghz)
8Gb RAM (Why does the log say I have 4Gb?)
Nvidia GTX580 (1920x1080)

Connection:
2550302312.png


Full log below:

Open Broadcaster Software v0.47a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3410MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 580
Video Adapter Dedicated Video Memory: 1560739840
Video Adapter Shared System Memory: 2684235776
------------------------------------------
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: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mic in at rear panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
device: Logitech HD Webcam C525,
device id \\?\usb#vid_046d&pid_0826&mi_02#7&a724412&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 59
width: 1920, height: 1080
preset: veryfast
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 10
------------------------------------------
timestamps for 'Mic in at rear panel (Pink) (Realtek High Definition Audio)' just decided to go wacky. reverting to desktop time. PRAISE WONDERFUL DEVICE DRIVERS
++++++++++++++++++++++++++++++++++++++++++++++++++++++
New Scene
------------------------------------------
device: Logitech HD Webcam C525,
device id \\?\usb#vid_046d&pid_0826&mi_02#7&a724412&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Using Window Capture
Using Window Capture
Total frames rendered: 24258, number of frames that lagged: 5949 (24.52%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mic in at rear panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
device: Logitech HD Webcam C525,
device id \\?\usb#vid_046d&pid_0826&mi_02#7&a724412&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Using Window Capture
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 59
width: 1920, height: 1080
preset: veryfast
CBR: no
CFR: no
max bitrate: 4000
buffer size: 4000
quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1937, outputRateWindowTime: 1000, dropThreshold: 2437
++++++++++++++++++++++++++++++++++++++++++++++++++++++
New Scene
------------------------------------------
device: Logitech HD Webcam C525,
device id \\?\usb#vid_046d&pid_0826&mi_02#7&a724412&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Using Monitor Capture
Total frames rendered: 28628, number of frames that lagged: 11726 (40.96%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
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: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mic in at rear panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
device: Logitech HD Webcam C525,
device id \\?\usb#vid_046d&pid_0826&mi_02#7&a724412&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 59
width: 1920, height: 1080
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 2221, outputRateWindowTime: 1000, dropThreshold: 2721
Total frames rendered: 53383, number of frames that lagged: 8523 (15.97%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
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: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mic in at rear panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
device: Logitech HD Webcam C525,
device id \\?\usb#vid_046d&pid_0826&mi_02#7&a724412&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Using Monitor Capture
------------------------------------------
Video Encoding: x264
fps: 59
width: 1920, height: 1080
preset: veryfast
CBR: no
CFR: no
max bitrate: 2500
buffer size: 2500
quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1919, outputRateWindowTime: 1000, dropThreshold: 2419
Total frames rendered: 245, number of frames that lagged: 4 (1.63%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
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: 14.153 ms] [avg calls per frame: 1] [children: 98.8%] [unaccounted: 1.22%]
| scene->Preprocess - [48.6%] [avg time: 6.875 ms] [avg calls per frame: 1]
| video encoding and uploading - [50.2%] [avg time: 7.106 ms] [avg calls per frame: 1] [children: 22%] [unaccounted: 28.2%]
| | CopyResource - [0.0848%] [avg time: 0.012 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0777%] [avg time: 0.011 ms] [avg calls per frame: 0]
| | call to encoder - [21.8%] [avg time: 3.083 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0636%] [avg time: 0.009 ms] [avg calls per frame: 0]
==============================================================
 

hilalpro

Member
update obs to the latest version and run the 64bit one.

frame lags shouldn't really be your concern because that's how win7's monitor capture works. using game capture will drastically make your pc lag less frames, you're not lagging that much frames to begin with. the viewers should not even be able notice it.

which just leave 2 possibilities. the viewer pc can't play/decode 1080p60fps fast enough which is common. or they don't have a good connection to twitch.
 

Razswe

New Member
Trying to find downloads for x64 but there are none. All download links only have 1 installer .exe and they all want to install themselves onto program files (x86).

It's not just the viewers, if I watch the recording afterwards I can see the start/stopping in the video too. Buffers insanely long after being uploaded to twitch :(
 

Krazy

Town drunk
The installer installs both 32 and 64 bit versions of the app.

Look in the OBS installation folder. There is a folder called 64-bit.
 

Razswe

New Member
Found it thanks, still no progress though :/

Trying stream now and it keeps stopping, even had dropped frames... Tried all variants of window/game capture mode.
High-end machine and 100Mb/s connection, won't work.
 

Razswe

New Member
I saw this in the log moments ago:

=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mic in at rear panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
fps: 59
width: 1920, height: 1080
preset: superfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 7
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 2055, outputRateWindowTime: 1000, dropThreshold: 2555
RTMPPublisher::BufferedSend: Socket buffer is full (396421 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396421 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399162 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
RTMPPublisher::BufferedSend: Socket buffer is full (397050 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398783 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398435 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399667 / 400384 bytes), waiting to send 2393 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398771 / 400384 bytes), waiting to send 2154 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399211 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396383 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398140 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398496 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399455 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398693 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400308 / 400384 bytes), waiting to send 366 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398131 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399041 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400133 / 400384 bytes), waiting to send 406 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400054 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396515 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397692 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399907 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400269 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398635 / 400384 bytes), waiting to send 3821 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398438 / 400384 bytes), waiting to send 3256 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396859 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398181 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398680 / 400384 bytes), waiting to send 2665 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399558 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399542 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400155 / 400384 bytes), waiting to send 384 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397499 / 400384 bytes), waiting to send 3211 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398748 / 400384 bytes), waiting to send 3814 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397200 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398238 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398145 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398770 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397188 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398915 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396355 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398892 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396289 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396323 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400371 / 400384 bytes), waiting to send 1581 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396545 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397044 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396839 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399137 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396710 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399776 / 400384 bytes), waiting to send 897 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397832 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400330 / 400384 bytes), waiting to send 373 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400083 / 400384 bytes), waiting to send 327 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396961 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398303 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398303 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396406 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397855 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397196 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396987 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397497 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398328 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399245 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400235 / 400384 bytes), waiting to send 1111 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400114 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398604 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397235 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399995 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397349 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400217 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396427 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398350 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398319 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397358 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397767 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396518 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397879 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399551 / 400384 bytes), waiting to send 3334 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398438 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399143 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397982 / 400384 bytes), waiting to send 3013 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398806 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399294 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398464 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
RTMPPublisher::BufferedSend: Socket buffer is full (400107 / 400384 bytes), waiting to send 389 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399369 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399290 / 400384 bytes), waiting to send 3215 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397021 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399106 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399569 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400038 / 400384 bytes), waiting to send 372 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399752 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399444 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397278 / 400384 bytes), waiting to send 3166 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399099 / 400384 bytes), waiting to send 1607 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397055 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397286 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399219 / 400384 bytes), waiting to send 3338 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400048 / 400384 bytes), waiting to send 2368 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398046 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398311 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396323 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400085 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396555 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398846 / 400384 bytes), waiting to send 1644 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400122 / 400384 bytes), waiting to send 1305 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397834 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398988 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398771 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396826 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399517 / 400384 bytes), waiting to send 1283 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399904 / 400384 bytes), waiting to send 3660 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399733 / 400384 bytes), waiting to send 2255 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398796 / 400384 bytes), waiting to send 2947 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397005 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397081 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396594 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396594 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396431 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396917 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399381 / 400384 bytes), waiting to send 1542 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399447 / 400384 bytes), waiting to send 1494 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400362 / 400384 bytes), waiting to send 86 bytes
Total frames rendered: 4151, number of frames that lagged: 1651 (39.77%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 70 (1.7%), Number of p-frames dropped: 199 (4.9%), Total 269 (6.6%)
x264: frame I:20 Avg QP:30.06 size: 81772
x264: frame P:1853 Avg QP:31.55 size: 10871
x264: frame B:2227 Avg QP:25.15 size: 1349
x264: consecutive B-frames: 23.2% 12.8% 0.9% 63.1%
x264: mb I I16..4: 45.2% 37.7% 17.1%
x264: mb P I16..4: 9.8% 8.0% 0.2% P16..4: 19.1% 0.0% 0.0% 0.0% 0.0% skip:62.9%
x264: mb B I16..4: 0.6% 0.2% 0.0% B16..8: 5.9% 0.0% 0.0% direct: 1.0% skip:92.3% L0:46.1% L1:52.1% BI: 1.8%
x264: 8x8 transform intra:43.6% inter:34.8%
x264: coded y,uvDC,uvAC intra: 15.6% 11.7% 2.7% inter: 1.9% 1.9% 0.2%
x264: i16 v,h,dc,p: 38% 39% 14% 9%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 22% 30% 7% 4% 4% 6% 4% 8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 30% 15% 5% 5% 6% 6% 4% 7%
x264: i8c dc,h,v,p: 67% 18% 13% 2%
x264: Weighted P-Frames: Y:1.1% UV:0.2%
x264: kb/s:2430.29
=====Stream End=======================================================================
 

hilalpro

Member
frame drops are probably caused by the frankfurt ingest server. change that to something else.

also if your channel is twitch.tv/razswe the vods loads just fine.
 

Razswe

New Member
Tried switching to London UK server (Although Frankfurt had better ping), same result starting and stopping, 0% frames dropped, 50% frames lagged:

Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3410MHz
Physical Memory: 8104MB Total, 4442MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 580
Video Adapter Dedicated Video Memory: 1560739840
Video Adapter Shared System Memory: 2684235776
------------------------------------------
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: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mic in at rear panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
Using Window Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
fps: 59
width: 1920, height: 1080
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 3000
quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-lhr.justin.tv/app
bufferTime: 2223, outputRateWindowTime: 1000, dropThreshold: 2723
Total frames rendered: 3531, number of frames that lagged: 1763 (49.93%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:19 Avg QP:39.04 size: 32108
x264: frame P:3161 Avg QP:42.03 size: 5261
x264: frame B:293 Avg QP:36.83 size: 704
x264: consecutive B-frames: 87.6% 3.2% 0.6% 8.6%
x264: mb I I16..4: 57.1% 38.1% 4.8%
x264: mb P I16..4: 9.0% 7.0% 0.0% P16..4: 6.8% 1.8% 0.4% 0.0% 0.0% skip:75.0%
x264: mb B I16..4: 0.3% 0.1% 0.0% B16..8: 2.7% 0.4% 0.0% direct: 0.2% skip:96.2% L0:42.7% L1:54.7% BI: 2.6%
x264: 8x8 transform intra:43.4% inter:29.1%
x264: coded y,uvDC,uvAC intra: 11.3% 23.0% 6.1% inter: 0.7% 2.4% 0.1%
x264: i16 v,h,dc,p: 56% 30% 11% 3%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 18% 56% 2% 2% 2% 3% 2% 3%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 23% 24% 4% 4% 5% 5% 4% 4%
x264: i8c dc,h,v,p: 81% 10% 9% 0%
x264: Weighted P-Frames: Y:0.1% UV:0.0%
x264: kb/s:1935.31
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 17.988 ms] [avg calls per frame: 1] [children: 99.2%] [unaccounted: 0.828%]
| scene->Preprocess - [52.4%] [avg time: 9.428 ms] [avg calls per frame: 1]
| video encoding and uploading - [46.8%] [avg time: 8.411 ms] [avg calls per frame: 1] [children: 16.9%] [unaccounted: 29.9%]
| | CopyResource - [0.0834%] [avg time: 0.015 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.161%] [avg time: 0.029 ms] [avg calls per frame: 0]
| | call to encoder - [16.6%] [avg time: 2.987 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0556%] [avg time: 0.01 ms] [avg calls per frame: 0]
==============================================================
 

hilalpro

Member
you're doing window capture with aero disabled. it should be enabled with a transparent theme if you want it to work at intended.

only disable aero if you're doing a whole monitor capture.
 

Razswe

New Member
So, I'm streaming several games which of one is League of Legends, this game have different window sizes depending if you are in a game or in between which is not supported by OBS Game Capture. So I have to use full monitor to stream that.

I want performance though and to make sure I get that I wanted to try the game capture or window capture with aero but now I can't even brute force it to enable even with the added 3 registry values etc. :(
 

Razswe

New Member
I just tried a short test with Dead Space 3 while a friend with 100Mb connection was watching. It was not viewable at all, was more of a powerpoint then anything else, it completely froze on stream every 5sec. Here is the log:

Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3410MHz
Physical Memory:  8104MB Total, 5936MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 580
  Video Adapter Dedicated Video Memory: 1560739840
  Video Adapter Shared System Memory: 2684235776
------------------------------------------
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: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mic in at rear panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
------------------------------------------
    device: Logitech HD Webcam C525,
    device id \\?\usb#vid_046d&pid_0826&mi_02#7&a724412&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Using Window Capture
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 59
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 10
------------------------------------------
Total frames rendered: 1034, number of frames that lagged: 6 (0.58%) (it's okay for some frames to lag)
x264: frame I:4     Avg QP:22.09  size:149270
x264: frame P:246   Avg QP:21.58  size:   259
x264: frame B:727   Avg QP:20.73  size:   100
x264: consecutive B-frames:  0.7%  0.0%  0.0% 99.3%
x264: mb I  I16..4: 65.8%  5.3% 28.9%
x264: mb P  I16..4:  0.2%  0.0%  0.0%  P16..4:  0.2%  0.0%  0.0%  0.0%  0.0%    skip:99.6%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:46.6% L1:51.1% BI: 2.3%
x264: 8x8 transform intra:4.5% inter:19.2%
x264: coded y,uvDC,uvAC intra: 26.9% 25.9% 22.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 60% 38%  3%  0%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 40% 27%  4%  2%  2%  2%  2%  5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 35% 13%  4%  4%  3%  4%  3%  5%
x264: i8c dc,h,v,p: 64% 25% 10%  1%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:353.68
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Högtalare (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Mic in at rear panel (Pink) (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
------------------------------------------
    device: Logitech HD Webcam C525,
    device id \\?\usb#vid_046d&pid_0826&mi_02#7&a724412&0&0002#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    chosen type: RGB24, usingFourCC: false, res: 1280x960 - 1280x960, fps: 5-30, fourCC: 00000000

Using directshow input
Using Window Capture
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 59
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 3045, outputRateWindowTime: 1000, dropThreshold: 3545
RTMPPublisher::BufferedSend: Socket buffer is full (536456 / 536576 bytes), waiting to send 377 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (536456 / 536576 bytes), waiting to send 377 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535985 / 536576 bytes), waiting to send 1751 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535985 / 536576 bytes), waiting to send 1751 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535587 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535587 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (534355 / 536576 bytes), waiting to send 3294 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (534355 / 536576 bytes), waiting to send 3294 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (536502 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
RTMPPublisher::BufferedSend: Socket buffer is full (535797 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (536571 / 536576 bytes), waiting to send 3784 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535689 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535519 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535073 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (534698 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
RTMPPublisher::BufferedSend: Socket buffer is full (534698 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535330 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (536326 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (533345 / 536576 bytes), waiting to send 3694 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535009 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535055 / 536576 bytes), waiting to send 2389 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (534012 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (534907 / 536576 bytes), waiting to send 3131 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (534927 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (535086 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (536421 / 536576 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (536534 / 536576 bytes), waiting to send 522 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (534538 / 536576 bytes), waiting to send 3459 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (536388 / 536576 bytes), waiting to send 4097 bytes
Total frames rendered: 18146, number of frames that lagged: 9360 (51.58%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 242 (1.3%), Number of p-frames dropped: 126 (0.7%), Total 368 (2%)
x264: frame I:312   Avg QP:29.71  size: 45577
x264: frame P:8918  Avg QP:31.53  size: 13128
x264: frame B:8867  Avg QP:32.47  size:  2127
x264: consecutive B-frames: 25.4% 22.3% 16.8% 35.5%
x264: mb I  I16..4: 35.7% 58.6%  5.7%
x264: mb P  I16..4:  8.6%  9.4%  0.2%  P16..4: 17.0%  5.4%  1.3%  0.0%  0.0%    skip:58.1%
x264: mb B  I16..4:  0.6%  0.3%  0.0%  B16..8:  8.3%  1.2%  0.0%  direct: 0.7%  skip:88.8%  L0:36.8% L1:59.2% BI: 4.0%
x264: 8x8 transform intra:52.3% inter:43.4%
x264: coded y,uvDC,uvAC intra: 30.3% 21.8% 4.4% inter: 2.6% 2.5% 0.1%
x264: i16 v,h,dc,p: 40% 33% 19%  8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 27% 36%  3%  3%  3%  5%  3%  5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 29% 17%  5%  6%  5%  8%  4%  6%
x264: i8c dc,h,v,p: 70% 17% 11%  1%
x264: Weighted P-Frames: Y:7.2% UV:4.5%
x264: kb/s:3395.37
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 17.373 ms] [avg calls per frame: 1] [children: 99.1%] [unaccounted: 0.875%]
| scene->Preprocess - [54.3%] [avg time: 9.441 ms] [avg calls per frame: 1]
| video encoding and uploading - [44.8%] [avg time: 7.78 ms] [avg calls per frame: 1] [children: 17.9%] [unaccounted: 26.9%]
| | CopyResource - [0.0806%] [avg time: 0.014 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0518%] [avg time: 0.009 ms] [avg calls per frame: 0]
| | call to encoder - [17.7%] [avg time: 3.073 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0633%] [avg time: 0.011 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Monitor capture is probably to blame. it's the most inefficient method of capture. If you're playing a game like dead space, use window capture (preferably aero on, though aero off can sometimes be better), or game capture.
 

Razswe

New Member
Thanks for taking your time Jim first off!

I will try to experiment with window capture but my windows is seriously bugged it seems because I simply cannot turn Aero ON :( I've done every force fix out there and still nothing so I can't get Aero enabled unless I reinstall windows.

It is just so frustrating knowing I have a great gaming PC, one of the best connections in the world and still I cannot get a stable stream and it all started a month ago without me doing anything :(
 

hilalpro

Member
1080p 60 fps is usually not the most stable stream.
if you want pure stability on monitor capture i would suggest that you lower the fps to 25 and the bitrate/buf to 2944 also 192 kbps audio is a little waste of bandwith considering 128 is already transparent so change it back to that. as for the quality it should be 9.

25 fps is really not a bad value for 1080p. most people will run into flash player problems and they can't even watch a stable/smooth stream at 60 or even 45/30. that value will also make frames not lag nearly as much on your end. it's basically beneficial for both the streamer and the viewer, i hope this helps.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Aero is turned on in windows itself by switching to the aero window theme. And yea, 1080p 60fps as hilal said requires a ton of CPU and bandwidth.
 

Razswe

New Member
Thanks for the suggestions Hilalpro!

I'm going to reinstall my machine today when I get home and then I'll try some of your suggested values although with Aero and game capture or window capture. I have but one question though since my time with x-split regarding downscale:

My monitor have 1080p as default resolution and from what I've heard, you should, if possible ofc, stay with original resolution since downscaling uses some resources. Second issue with downscaling was that you could see odd pixels on stream because downscaling was not really 100% with your original resolution in terms of graphics. Is this true for OBS as well?

The setting I "want" when I stream is having a 4k bitrate/buffer with 25-30fps at 1080p. If I could achieve this with most games I would be very happy. I do however realize that htings like League of Legends and FPS games are extremely different in terms of streaming.

Jim, I know aero is a windows feature but it is also a bugged feature for those of us whom forced it "off" at some point because you can't get it back in some cases without reinstalling windows which is what I'm doing today :)
 
Top