I've setup my own rtmp server (https://obsproject.com/forum/viewtopic.php?f=18&t=2651). It's working, I can see the stream. But the stream is unwatchable. First few seconds are OK, but then its freezing for 10s (more or less). I'm streaming from a laptop (HP pavilion, quad core 1,6+dual graphics). The OBS doesen't report any problem, frames aren't droping but the stream is really bad. My connection is 10/20Mbps. Here is my log:
Open Broadcaster Software v0.48.007b (experimental test build) - 64bit ( ^ω^)
-------------------------------
CPU Name: AMD A6-3410MX APU with Radeon(tm) HD Graphics
CPU Speed: 1597MHz
Physical Memory: 3562MB Total, 1811MB Free
stepping id: 0, model 1, family 15, type 0, extmodel 8, extfamily 1, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1600, 900}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: AMD Radeon HD 6520G
Video Adapter Dedicated Video Memory: 1583030272
Video Adapter Shared System Memory: 1599551488
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
Using Window Capture
Total frames rendered: 1020, number of frames that lagged: 6 (0.59%) (it's okay for some frames to lag)
Total duplicated frames: 13 (1.27%)
=====Stream End=======================================================================
Using automatic low latency mode
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 10153, number of frames that lagged: 306 (3.01%) (it's okay for some frames to lag)
Total duplicated frames: 357 (3.52%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 10, Waited for a total of 38316 bytes
Number of b-frames dropped: 33 (0.33%), Number of p-frames dropped: 35 (0.35%), Total 68 (0.67%)
=====Stream End=======================================================================
Using automatic low latency mode
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: yes
CFR: no
max bitrate: 2000
------------------------------------------
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 771, number of frames that lagged: 1 (0.13%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
okay, this is strange
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (39 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 2, Waited for a total of 8200 bytes
Number of b-frames dropped: 34 (5.3%), Number of p-frames dropped: 34 (5.3%), Total 68 (11%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
Total frames rendered: 168, number of frames that lagged: 1 (0.60%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
Total frames rendered: 1588, number of frames that lagged: 25 (1.57%) (it's okay for some frames to lag)
Total duplicated frames: 4 (0.25%)
=====Stream End=======================================================================
Using automatic low latency mode
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: yes
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 2198, number of frames that lagged: 4 (0.18%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 0, Waited for a total of 0 bytes
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: 11.106 ms] [avg calls per frame: 1] [children: 92.8%] [unaccounted: 7.24%]
| scene->Preprocess - [72.8%] [avg time: 8.08 ms] [avg calls per frame: 1]
| video encoding and uploading - [20%] [avg time: 2.222 ms] [avg calls per frame: 1] [children: 19.1%] [unaccounted: 0.918%]
| | CopyResource - [1.41%] [avg time: 0.157 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.126%] [avg time: 0.014 ms] [avg calls per frame: 0]
| | call to encoder - [17.3%] [avg time: 1.923 ms] [avg calls per frame: 1]
| | sending stuff out - [0.234%] [avg time: 0.026 ms] [avg calls per frame: 1]
==============================================================
Open Broadcaster Software v0.48.007b (experimental test build) - 64bit ( ^ω^)
-------------------------------
CPU Name: AMD A6-3410MX APU with Radeon(tm) HD Graphics
CPU Speed: 1597MHz
Physical Memory: 3562MB Total, 1811MB Free
stepping id: 0, model 1, family 15, type 0, extmodel 8, extfamily 1, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1600, 900}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: AMD Radeon HD 6520G
Video Adapter Dedicated Video Memory: 1583030272
Video Adapter Shared System Memory: 1599551488
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
Using Window Capture
Total frames rendered: 1020, number of frames that lagged: 6 (0.59%) (it's okay for some frames to lag)
Total duplicated frames: 13 (1.27%)
=====Stream End=======================================================================
Using automatic low latency mode
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 10153, number of frames that lagged: 306 (3.01%) (it's okay for some frames to lag)
Total duplicated frames: 357 (3.52%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 10, Waited for a total of 38316 bytes
Number of b-frames dropped: 33 (0.33%), Number of p-frames dropped: 35 (0.35%), Total 68 (0.67%)
=====Stream End=======================================================================
Using automatic low latency mode
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: yes
CFR: no
max bitrate: 2000
------------------------------------------
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 771, number of frames that lagged: 1 (0.13%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
okay, this is strange
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (39 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 2, Waited for a total of 8200 bytes
Number of b-frames dropped: 34 (5.3%), Number of p-frames dropped: 34 (5.3%), Total 68 (11%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
Total frames rendered: 168, number of frames that lagged: 1 (0.60%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: no
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
Total frames rendered: 1588, number of frames that lagged: 25 (1.57%) (it's okay for some frames to lag)
Total duplicated frames: 4 (0.25%)
=====Stream End=======================================================================
Using automatic low latency mode
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1600x900
Output resolution: 912x514
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers and Headphones (IDT High Definition Audio CODEC)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using Window Capture
------------------------------------------
Video Encoding: x264
fps: 45
width: 912, height: 514
preset: veryfast
CBR: no
CFR: yes
max bitrate: 2000
buffer size: 2000
quality: 6
------------------------------------------
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 2198, number of frames that lagged: 4 (0.18%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 0, Waited for a total of 0 bytes
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: 11.106 ms] [avg calls per frame: 1] [children: 92.8%] [unaccounted: 7.24%]
| scene->Preprocess - [72.8%] [avg time: 8.08 ms] [avg calls per frame: 1]
| video encoding and uploading - [20%] [avg time: 2.222 ms] [avg calls per frame: 1] [children: 19.1%] [unaccounted: 0.918%]
| | CopyResource - [1.41%] [avg time: 0.157 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.126%] [avg time: 0.014 ms] [avg calls per frame: 0]
| | call to encoder - [17.3%] [avg time: 1.923 ms] [avg calls per frame: 1]
| | sending stuff out - [0.234%] [avg time: 0.026 ms] [avg calls per frame: 1]
==============================================================