Question / Help Stream FPS not constant?

Nullzone

New Member
I am having some issues with my stream and the the FPS not being constant when reaching the viewers.
It's a very odd thing, since i can't figure out what is actually causing it.
To describe it a bit, i stream with 60 FPS, but when watching the stream it either does not look like 60, or it is at 60 but goes down to something that looks like 40-50'ish.
I have been messing around with tons of settings, asking other streamers for their setup, ETC. but with no luck.

Just to give you an idea of what i mean here is example 1:
Open Broadcaster Software v0.472b - 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
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 680
Video Adapter Dedicated Video Memory: 2091581440
Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
device: AVerMedia HD Capture C985 Bus 7,
device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#6&10623253&0&002000e6#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
chosen type: YV12, usingFourCC: true, res: 1920x1080 - 1920x1080, fps: 15-30, fourCC: 'YV12'

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
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: 2293, outputRateWindowTime: 1000, dropThreshold: 2793
Total frames rendered: 10321, number of frames that lagged: 28 (0.27%) (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:66 Avg QP:30.30 size: 58008
x264: frame P:7935 Avg QP:32.68 size: 5986
x264: frame B:2260 Avg QP:32.85 size: 273
x264: consecutive B-frames: 69.8% 2.1% 1.1% 27.0%
x264: mb I I16..4: 25.5% 48.2% 26.3%
x264: mb P I16..4: 4.9% 5.2% 0.3% P16..4: 15.0% 5.1% 1.7% 0.0% 0.0% skip:67.7%
x264: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 1.3% 0.3% 0.0% direct: 0.2% skip:98.1% L0:49.6% L1:37.4% BI:13.0%
x264: 8x8 transform intra:49.8% inter:35.0%
x264: coded y,uvDC,uvAC intra: 45.5% 17.2% 5.2% inter: 4.5% 2.0% 0.2%
x264: i16 v,h,dc,p: 29% 34% 26% 10%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 28% 39% 2% 4% 2% 4% 2% 5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 26% 19% 5% 5% 5% 6% 4% 6%
x264: i8c dc,h,v,p: 75% 15% 9% 1%
x264: Weighted P-Frames: Y:1.8% UV:0.6%
x264: kb/s:2424.47
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 3.437 ms] [avg calls per frame: 1] [children: 98.7%] [unaccounted: 1.34%]
| scene->Preprocess - [13.6%] [avg time: 0.466 ms] [avg calls per frame: 1]
| video encoding and uploading - [85.1%] [avg time: 2.925 ms] [avg calls per frame: 1] [children: 28.8%] [unaccounted: 56.3%]
| | CopyResource - [1.89%] [avg time: 0.065 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0582%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [26.7%] [avg time: 0.917 ms] [avg calls per frame: 0]
| | sending stuff out - [0.175%] [avg time: 0.006 ms] [avg calls per frame: 0]
==============================================================
http://www.twitch.tv/tobiidk/b/369233390
This was the last test i did before going to bed, what i got from this is that the entire test does not hit 60 FPS at any point, and it looks somewhat close to 30-40'ish fps?
I used "game capture" for the source.

Example 2:
Open Broadcaster Software v0.473b (network test 1) - 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
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 680
Video Adapter Dedicated Video Memory: 2091581440
Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using text output
------------------------------------------
device: AVerMedia HD Capture C985 Bus 7,
device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#6&10623253&0&002000e6#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-ams.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 10283, number of frames that lagged: 7 (0.07%) (it's okay for some frames to lag)
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%)
x264: frame I:62 Avg QP:30.52 size: 42046
x264: frame P:5429 Avg QP:32.52 size: 8029
x264: frame B:4732 Avg QP:34.96 size: 1655
x264: consecutive B-frames: 20.0% 52.4% 7.2% 20.3%
x264: mb I I16..4: 24.9% 53.0% 22.1%
x264: mb P I16..4: 8.4% 9.8% 0.3% P16..4: 23.5% 9.1% 2.7% 0.0% 0.0% skip:46.2%
x264: mb B I16..4: 0.8% 0.5% 0.0% B16..8: 11.7% 2.6% 0.1% direct: 1.3% skip:82.9% L0:38.0% L1:55.8% BI: 6.2%
x264: 8x8 transform intra:52.2% inter:39.8%
x264: coded y,uvDC,uvAC intra: 38.3% 17.1% 5.6% inter: 4.4% 2.7% 0.3%
x264: i16 v,h,dc,p: 30% 34% 27% 10%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 26% 42% 2% 4% 3% 4% 2% 5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 25% 19% 5% 5% 6% 6% 5% 6%
x264: i8c dc,h,v,p: 76% 14% 9% 1%
x264: Weighted P-Frames: Y:2.4% UV:0.6%
x264: kb/s:2526.61
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using text output
------------------------------------------
device: AVerMedia HD Capture C985 Bus 7,
device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#6&10623253&0&002000e6#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
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
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 7267, number of frames that lagged: 15 (0.21%) (it's okay for some frames to lag)
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%)
x264: frame I:41 Avg QP:28.62 size: 41839
x264: frame P:3511 Avg QP:31.49 size: 8497
x264: frame B:3656 Avg QP:34.19 size: 1617
x264: consecutive B-frames: 15.1% 47.8% 12.0% 25.1%
x264: mb I I16..4: 26.6% 50.2% 23.2%
x264: mb P I16..4: 8.0% 9.9% 0.3% P16..4: 25.8% 10.0% 2.9% 0.0% 0.0% skip:43.1%
x264: mb B I16..4: 0.9% 0.6% 0.0% B16..8: 11.6% 2.4% 0.1% direct: 1.4% skip:83.1% L0:39.1% L1:54.9% BI: 6.1%
x264: 8x8 transform intra:53.2% inter:41.9%
x264: coded y,uvDC,uvAC intra: 38.2% 17.0% 6.0% inter: 4.6% 2.8% 0.4%
x264: i16 v,h,dc,p: 32% 35% 24% 9%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 26% 40% 2% 4% 3% 4% 2% 5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 27% 17% 5% 5% 5% 6% 5% 6%
x264: i8c dc,h,v,p: 75% 14% 10% 1%
x264: Weighted P-Frames: Y:1.8% UV:0.7%
x264: kb/s:2481.54
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 3.363 ms] [avg calls per frame: 1] [children: 88.3%] [unaccounted: 11.7%]
| scene->Preprocess - [13.3%] [avg time: 0.448 ms] [avg calls per frame: 1]
| video encoding and uploading - [75%] [avg time: 2.522 ms] [avg calls per frame: 1] [children: 27.9%] [unaccounted: 47.1%]
| | CopyResource - [0.506%] [avg time: 0.017 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0595%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [27.2%] [avg time: 0.914 ms] [avg calls per frame: 0]
| | sending stuff out - [0.149%] [avg time: 0.005 ms] [avg calls per frame: 0]
==============================================================
http://www.twitch.tv/tobiidk/b/369228163
This one is a bit better, the FPS is 60 and it looks pretty smooth.
But a bit into the movie the FPS goes down for a few seconds, then back up. Same towards the end.
For this one i used the "AverMedia Live Gamer HD" as source, so the overall quality is a bit worse.

As mention, i have done several tests with different settings. But i have yet to succeed at having a constant fluid stream. :(

Here is what i try to achieve:
http://www.twitch.tv/theluda/b/369093790

Here is my specs if they are of any use:
Processor: Intel Core i7-3770k @ 4.8GHz
Ram: Corsair Dominator Platinum 16gb DDR3 ram @ 1866
Harddisk: 2TB 7200RPM Weston Digital
Graphics Card: EVGA 680

Hope you can see something in the log's that i can't, i will continue to mess around with settings.
I am kinda leaning towards some hardware issues, maybe my overclocking?

Cheers
-Nullzone
 

hilalpro

Member
obs reports no frame lags, analyzing the vod shows that the fps bounces around 59 60.. i would just recommend not to watch your stream while streaming.
 

Nullzone

New Member
hilalpro said:
obs reports no frame lags, analyzing the vod shows that the fps bounces around 59 60.. i would just recommend not to watch your stream while streaming.
I never actually watch my stream while streaming, but usually look at the videos after.
Example 1 does not look anything like 60 fps tho, could it be a twitch replay thing?
 

hilalpro

Member
it can't be just that because twitch player usually can play 60fps streams. give cfr from advanced options a try using game capture and post a vod
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Here is what happened: the avermedia needs to be set to 1280x720 to run at 60fps. The device source defaults to whatever your stream is at, which is 1920x1080, and the avermedia C985 doesn't support 60fps at that resolution, it only supports 60fps at 1280x720 and lower.

So here is what you need to do: in video settings, manually set your base resolution to 1280x720. Then go back into the properties of the device source, and make sure it's also set to 1280x720 at 60fps. Then you'll be playing at 60fps.
 

Nullzone

New Member
Jim said:
Here is what happened: the avermedia needs to be set to 1280x720 to run at 60fps. The device source defaults to whatever your stream is at, which is 1920x1080, and the avermedia C985 doesn't support 60fps at that resolution, it only supports 60fps at 1280x720 and lower.

So here is what you need to do: in video settings, manually set your base resolution to 1280x720. Then go back into the properties of the device source, and make sure it's also set to 1280x720 at 60fps. Then you'll be playing at 60fps.
I did that in example two, but example one is game capture.
And i much rather use game capture since the avermedia has some quality loss on input.
I will be doing some tests with the CFR option on, and see if it's better.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Ah, I probably should have read the post a little more thoroughly before responding, my apologies. CFR just duplicates frames to force a constant output rate, it doesn't actually cause the input of the frames to be constant. So if you're only able to capture at like 30 FPS despite setting it to 60fps, it will duplicate frames to ensure the output is 60fps.

Though neither of your logs show you using game capture. They're both avermedia.
 

Nullzone

New Member
So this is my latest test, almost 6 hours:
Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory:  16330MB Total, 11716MB Free
stepping id: 9, 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 680
  Video Adapter Dedicated Video Memory: 2091581440
  Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: faster
    CBR: no
    CFR: yes
    max bitrate: 3000
    buffer size: 3000
    quality: 9
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1933, outputRateWindowTime: 1000, dropThreshold: 2433
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Socket buffer is full (396407 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396407 / 400384 bytes), waiting to send 4104 bytes
Using Monitor Capture
SharedTexCapture hooked
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Socket buffer is full (399683 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
RTMPPublisher::BufferedSend: Socket buffer is full (399683 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400155 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400155 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399748 / 400384 bytes), waiting to send 2252 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399748 / 400384 bytes), waiting to send 2252 bytes
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Socket buffer is full (400199 / 400384 bytes), waiting to send 303 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400199 / 400384 bytes), waiting to send 303 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399085 / 400384 bytes), waiting to send 2528 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399085 / 400384 bytes), waiting to send 2528 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398580 / 400384 bytes), waiting to send 3909 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398580 / 400384 bytes), waiting to send 3909 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397445 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398830 / 400384 bytes), waiting to send 3548 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396910 / 400384 bytes), waiting to send 3840 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396910 / 400384 bytes), waiting to send 3840 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397066 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397066 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396431 / 400384 bytes), waiting to send 4097 bytes
SharedTexCapture hooked
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Socket buffer is full (398084 / 400384 bytes), waiting to send 3580 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398084 / 400384 bytes), waiting to send 3580 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396503 / 400384 bytes), waiting to send 4003 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396503 / 400384 bytes), waiting to send 4003 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399738 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398076 / 400384 bytes), waiting to send 4104 bytes
SharedTexCapture hooked
SharedTexCapture hooked
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Socket buffer is full (398395 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398395 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397629 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397629 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (397831 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398713 / 400384 bytes), waiting to send 3987 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (398713 / 400384 bytes), waiting to send 3987 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399156 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399854 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396834 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396834 / 400384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396607 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396607 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400081 / 400384 bytes), waiting to send 3774 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400081 / 400384 bytes), waiting to send 3774 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (399938 / 400384 bytes), waiting to send 4104 bytes
SharedTexCapture hooked
Total frames rendered: 1257008, number of frames that lagged: 850 (0.07%) (it's okay for some frames to lag)
Total duplicated CFR frames: 23076
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 255 (0.02%), Number of p-frames dropped: 150 (0.012%), Total 405 (0.032%)
x264: frame I:6621  Avg QP:29.66  size: 48578
x264: frame P:638614 Avg QP:32.39  size:  8092
x264: frame B:613043 Avg QP:35.32  size:  2060
x264: consecutive B-frames: 15.5% 56.4%  6.7% 21.4%
x264: mb I  I16..4: 25.6% 48.6% 25.8%
x264: mb P  I16..4: -10.5% -13.1% -0.9%  P16..4: -27.0% -7.7% -1.5% -0.0% -0.0%    skip:-54.4%
x264: mb B  I16..4: -1.4% -1.1% -0.0%  B16..8: -19.0% -2.6% -0.1%  direct:-3.3%  skip:-78.1%  L0:38.5% L1:58.4% BI: 3.0%
x264: 8x8 transform intra:52.4% inter:42.5%
x264: coded y,uvDC,uvAC intra: 36.4% 19.5% 5.0% inter: 5.7% 2.4% 0.2%
x264: i16 v,h,dc,p: 31% 35% 20% 13%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 25% 37%  4%  4%  3%  6%  3%  5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 27% 20%  5%  5%  5%  6%  4%  5%
x264: i8c dc,h,v,p: 77% 14%  8%  1%
x264: Weighted P-Frames: Y:2.6% UV:0.7%
x264: ref P L0: 80.1% 19.9%
x264: ref B L0: 83.9% 16.1%
x264: ref B L1: 97.9%  2.1%
x264: kb/s:2575.75
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 2.351 ms] [avg calls per frame: 1] [children: 89.2%] [unaccounted: 10.8%]
| scene->Preprocess - [0.255%] [avg time: 0.006 ms] [avg calls per frame: 1]
| video encoding and uploading - [88.9%] [avg time: 2.09 ms] [avg calls per frame: 1] [children: 38.2%] [unaccounted: 50.7%]
| | CopyResource - [0.468%] [avg time: 0.011 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0851%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [37.4%] [avg time: 0.88 ms] [avg calls per frame: 1]
| | sending stuff out - [0.255%] [avg time: 0.006 ms] [avg calls per frame: 1]
==============================================================
And it's the same as before, it does not run fluid 60 fps, i asked a mate and he agree that it looks somewhat 45'ish.
I was monitoring my CPU from start till end, and it was only close to 70%. So not even maxing that out.

If you wan't to take a look here is a link: http://www.twitch.tv/tobiidk/b/369675034

Though neither of your logs show you using game capture. They're both avermedia.
Hm, that could be me uploading the wrong log maybe, but this one should definitely be game capture.

Is there any chance this could be caused by hardware/overclocking?

----edit-----
I start to think that this is a GPU thing.. /:
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Your GPU and CPU should be fine. The time between your frames was literally 2 milliseconds. You could handle rendering at 300-500 FPS with that render speed. Encoding on the other hand is a different story, as you -do- however have your preset on "faster", and that -will- increase your CPU usage. I'm sort of skeptical of using anything but "veryfast" for real time streaming usually, even on a good system.
 

Jott

New Member
I acutally have the same thing, ive been trying to get a fluid 60 fps stream but it dosen't really go my way. Ive been trying with pretty much every settings. I got 200 fps+ ingame while streaming but it dosen't really feels like it's fluid "60" fps that is showing up in the stream window.

It seems if you increase the buffer the stream get a more "real" 60 fps feeling, like if you put your bitrate to 3000 and you buffer to 6000, but then the bandwidht usage increases ALOT causing me to
get a choppy MS while playing multiplayer games.

The issue i have is that i can almost almost get my stream to run good, but sometimes it feels like the fps goes down to like 40 instead of 60 as it should be all the time even though 60 fps is showing in the OBS main screen. My cpu usage is around 70-80 while streaming, and the game i trying to stream is Path of Exile. I use Dxtory to cap the picture and OBS for the broadcasting part, ive been trying with screenregion/gamecaputre aswell but it went even worse then with Dxtory.

Computer specs:

460 x2 SLI

Intel i7 930 @ 4.12 ghz

6 gb ddr3 ram @ 1600 mhz

30 mb/s download, 6 mb/s upload.
 

Bensam123

Member
Fraps shows your stream varying between 45-60fps...

What is the refresh rate of your primary monitor?

As far as I know, game capture wont run faster then the FPS on your screen, so your stream FPS will slow down if your in game FPS drops down that far.
 

Nullzone

New Member
Bensam123 said:
Fraps shows your stream varying between 45-60fps...

What is the refresh rate of your primary monitor?

As far as I know, game capture wont run faster then the FPS on your screen, so your stream FPS will slow down if your in game FPS drops down that far.
ATM i use a 60 Hz monitor, but the game run stable 80+ FPS. So it does never dip under 60.
I have noticed when i tab out of the game from time to time, that the FPS counter is actually showing 45-50 and then goes back up to 60.
But how is that the case if the log state that the FPS is 59-60? :S
I am going to stream with two screens and monitor the OBS fps counter very close to see if it's actually at 60 fps.
I will return with the result when that is done.
 

purpledawggg

New Member
Been having a somewhat similar issue except mine is with full-screen on twitch. Just watching the stream in its regular size on twitch the stream appears to be a fluid 60ish fps, but you when click full-screen it seems the fps is cut in half (so it looks like 30 fps). Here's an example from today using a test twitch account.

http://www.twitch.tv/testdawggg/b/371606589

I can post a log when I get out of classes if that may help.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
What I've heard is that the hardware accelerated encoding in flash can cause viewing problems. You might want to try disabling it by right clicking the flash control, settings, then disable hardware acceleration, and see if it helps at all. Not sure why it's causing problems for some people, it's supposed to be for performance, but a lot of people seem to be having issues with it.
 

purpledawggg

New Member
Jim said:
What I've heard is that the hardware accelerated encoding in flash can cause viewing problems. You might want to try disabling it by right clicking the flash control, settings, then disable hardware acceleration, and see if it helps at all. Not sure why it's causing problems for some people, it's supposed to be for performance, but a lot of people seem to be having issues with it.

Yeah I tried messing around with that a few days ago after it was brought up, sadly it didn't help at all (using google chrome to view twitch streams). Watching other people's streams both in full-screen and not in full-screen the fps stays at a fluid 60 (from what I can see). Also tried playing around with CFR and other options in OBS but to no avail. I'll get my log post in the next hour or so when I get back home.

EDIT: Really long logs from today.

Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3503MHz
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
monitor 1: pos={0, 0}, size={1920, 1080}
monitor 2: pos={1920, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: AMD Radeon HD 7900 Series
Video Adapter Dedicated Video Memory: 3193106432
Video Adapter Shared System Memory: 4005572608
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{1d3f0f7b-e205-48e3-9f41-f8bf6a90e643}
------------------------------------------
Using desktop audio input: Speakers (2- Logitech G35 Headset)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 256
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad.justin.tv/app
bufferTime: 1877, outputRateWindowTime: 1000, dropThreshold: 2377
Total frames rendered: 871, number of frames that lagged: 5 (0.57%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:4 Avg QP:18.83 size: 18549
x264: frame P:243 Avg QP:24.17 size: 1808
x264: frame B:564 Avg QP:25.76 size: 296
x264: consecutive B-frames: 6.9% 0.0% 2.6% 90.5%
x264: mb I I16..4: 76.5% 13.7% 9.8%
x264: mb P I16..4: 2.5% 1.9% 0.2% P16..4: 4.2% 1.5% 0.5% 0.0% 0.0% skip:89.2%
x264: mb B I16..4: 0.2% 0.1% 0.0% B16..8: 1.7% 0.3% 0.0% direct: 0.3% skip:97.3% L0:43.7% L1:49.7% BI: 6.5%
x264: 8x8 transform intra:34.9% inter:42.5%
x264: coded y,uvDC,uvAC intra: 24.8% 10.6% 3.9% inter: 0.6% 0.3% 0.0%
x264: i16 v,h,dc,p: 71% 15% 11% 3%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 11% 31% 2% 6% 7% 3% 4% 3%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 20% 17% 6% 6% 7% 5% 6% 6%
x264: i8c dc,h,v,p: 81% 8% 10% 1%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:380.06
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{1d3f0f7b-e205-48e3-9f41-f8bf6a90e643}
------------------------------------------
Using desktop audio input: Speakers (2- Logitech G35 Headset)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 256
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 7
------------------------------------------
Total frames rendered: 185, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
x264: frame I:1 Avg QP:15.00 size: 1000
x264: frame P:31 Avg QP:15.00 size: 40
x264: frame B:93 Avg QP:17.90 size: 37
x264: consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
x264: mb I I16..4: 100.0% 0.0% 0.0%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
x264: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98% 0% 2% 0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
x264: i8c dc,h,v,p: 100% 0% 0% 0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:21.80
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{1d3f0f7b-e205-48e3-9f41-f8bf6a90e643}
------------------------------------------
Using desktop audio input: Speakers (2- Logitech G35 Headset)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 256
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 7
------------------------------------------
Total frames rendered: 517, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
x264: frame I:2 Avg QP:13.50 size: 627
x264: frame P:115 Avg QP:15.03 size: 40
x264: frame B:340 Avg QP:17.88 size: 37
x264: consecutive B-frames: 0.7% 0.0% 0.0% 99.3%
x264: mb I I16..4: 100.0% 0.0% 0.0%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
x264: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98% 0% 2% 0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
x264: i8c dc,h,v,p: 100% 0% 0% 0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:19.36
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{1d3f0f7b-e205-48e3-9f41-f8bf6a90e643}
------------------------------------------
Using desktop audio input: Speakers (2- Logitech G35 Headset)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 256
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad.justin.tv/app
bufferTime: 1835, outputRateWindowTime: 1000, dropThreshold: 2335
Total frames rendered: 9448, number of frames that lagged: 4 (0.04%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:50 Avg QP:28.84 size: 45506
x264: frame P:4284 Avg QP:31.71 size: 6787
x264: frame B:5054 Avg QP:32.43 size: 837
x264: consecutive B-frames: 15.5% 36.9% 4.1% 43.5%
x264: mb I I16..4: 32.7% 39.7% 27.6%
x264: mb P I16..4: 7.6% 5.7% 0.4% P16..4: 18.0% 6.0% 2.1% 0.0% 0.0% skip:60.2%
x264: mb B I16..4: 0.4% 0.2% 0.0% B16..8: 5.6% 1.1% 0.1% direct: 0.7% skip:92.0% L0:38.6% L1:54.7% BI: 6.7%
x264: 8x8 transform intra:41.0% inter:25.5%
x264: coded y,uvDC,uvAC intra: 35.6% 16.5% 3.0% inter: 3.0% 1.2% 0.0%
x264: i16 v,h,dc,p: 33% 32% 26% 8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 20% 45% 2% 5% 3% 5% 3% 5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 20% 24% 6% 6% 6% 6% 5% 6%
x264: i8c dc,h,v,p: 77% 14% 8% 1%
x264: Weighted P-Frames: Y:0.9% UV:0.0%
x264: kb/s:1809.45
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{1d3f0f7b-e205-48e3-9f41-f8bf6a90e643}
------------------------------------------
Using desktop audio input: Speakers (2- Logitech G35 Headset)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 256
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 7
------------------------------------------
Total frames rendered: 429, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
x264: frame I:2 Avg QP:13.50 size: 627
x264: frame P:93 Avg QP:15.03 size: 40
x264: frame B:274 Avg QP:17.88 size: 37
x264: consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
x264: mb I I16..4: 100.0% 0.0% 0.0%
x264: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
x264: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98% 0% 2% 0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
x264: i8c dc,h,v,p: 100% 0% 0% 0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:19.65
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{1d3f0f7b-e205-48e3-9f41-f8bf6a90e643}
------------------------------------------
Using desktop audio input: Speakers (2- Logitech G35 Headset)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- Logitech G35 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 256
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 7
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad.justin.tv/app
bufferTime: 1407, outputRateWindowTime: 1000, dropThreshold: 1907
SharedTexCapture hooked
Total frames rendered: 11489, number of frames that lagged: 10 (0.09%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:50 Avg QP:18.98 size: 21809
x264: frame P:3754 Avg QP:23.93 size: 4117
x264: frame B:7626 Avg QP:23.08 size: 464
x264: consecutive B-frames: 5.4% 15.8% 3.2% 75.6%
x264: mb I I16..4: 67.5% 20.0% 12.5%
x264: mb P I16..4: 4.2% 3.1% 0.2% P16..4: 10.9% 3.9% 1.2% 0.0% 0.0% skip:76.4%
x264: mb B I16..4: 0.2% 0.1% 0.0% B16..8: 2.5% 0.7% 0.0% direct: 0.3% skip:96.2% L0:40.6% L1:52.9% BI: 6.5%
x264: 8x8 transform intra:37.5% inter:26.6%
x264: coded y,uvDC,uvAC intra: 32.5% 16.1% 2.8% inter: 1.3% 0.5% 0.0%
x264: i16 v,h,dc,p: 43% 30% 20% 7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 23% 43% 2% 5% 3% 5% 3% 5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 24% 24% 5% 5% 5% 6% 4% 5%
x264: i8c dc,h,v,p: 74% 16% 10% 1%
x264: Weighted P-Frames: Y:0.3% UV:0.1%
x264: kb/s:839.33
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 3.094 ms] [avg calls per frame: 1] [children: 83.1%] [unaccounted: 16.9%]
| scene->Preprocess - [0.0646%] [avg time: 0.002 ms] [avg calls per frame: 1]
| video encoding and uploading - [83.1%] [avg time: 2.57 ms] [avg calls per frame: 1] [children: 52.2%] [unaccounted: 30.9%]
| | CopyResource - [0.356%] [avg time: 0.011 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0646%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [51.5%] [avg time: 1.593 ms] [avg calls per frame: 0]
| | sending stuff out - [0.259%] [avg time: 0.008 ms] [avg calls per frame: 0]
==============================================================
 

Mr.Niceguy

New Member
Interesting thread.

OP since iam at work i cant go onto twitch, could you tell me which game you play ?

I have the same issues with an Intel I7 3770 and a GeForce 670 GTX.. iam really sad for not getting
720p HD 60 fps QUality 10 ... makes me angry..
 
When i watch your Left 4 dead 2 vod with firefox it is at around 44 ish for me and when i use chrome it is at 60Fps.

edit : and after watching it a fourth time i finally get 60fps even in firefox , wth?
 

purpledawggg

New Member
Dariofubar said:
When i watch your Left 4 dead 2 vod with firefox it is at around 44 ish for me and when i use chrome it is at 60Fps.

edit : and after watching it a fourth time i finally get 60fps even in firefox , wth?

Not really sure :/, from what I've read firefox has the hardware acceleration issue, with regards to flash player, resulting in fps not being 60. For me, watching it not in full-screen using chrome it looks 60, but once I hit full-screen I can tell right away that it isn't 60 (at least I think I can).
 
Top