Bug Report Frame Lag Issues

Atsou

New Member
Hello,

I have been trying to fix this frame lag issue for a while now and I have tried several solutions to this problem that I found on these forums, but none of them have worked so far. The CPU is overclocked to 4.5Ghz, the graphics card is overclocked, and the ram is overclocked to 1866.

I have tried the following solutions:

-Ran the game in windowed mode and full screen mode.
-Tried a lower bitrate (2000-2000, 3000-3000,4000-4000, etc...)
-Lowered the resolution down to 720p and down-scaling the resolution to 720 from 1080p.
-Used a different preset (superfast, ultrafast).
-Tried a different FMS URL.
-Swapped to a different streaming website (own3d.tv).
-Changed the fps (20,24,25,30).
-Changed the send buffer to different amounts.
-Unparked my cores.

Here is the video of the log below: http://www.twitch.tv/tmatsou/b/358921576

Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 460
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221106688
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach P11 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 320
Using graphics capture
Warning -- DShowPlugin: Invalid device: name 'Logitech HD Webcam C270', path '\\?\usb#vid_046d&pid_0825&mi_00#7&364e394f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}'
Warning -- D3D10Texture::CreateTexture: CreateTexture2D failed, result = 0x80070057
Using directshow input
Using text output
Using custom x264 settings: "vbvmaxrate=5000"
------------------------------------------
Video Encoding: x264
fps: 60
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 1000
quality: 7
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 179, number of frames that lagged: 102 (56.98%) (it's okay for some frames to lag)
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
RTMPPublisher::SocketLoop: Aborting due to loop exit
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...
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach P11 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 320
Using graphics capture
Warning -- DShowPlugin: Invalid device: name 'Logitech HD Webcam C270', path '\\?\usb#vid_046d&pid_0825&mi_00#7&364e394f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}'
Warning -- D3D10Texture::CreateTexture: CreateTexture2D failed, result = 0x80070057
Using directshow input
Using text output
Using custom x264 settings: "vbvmaxrate=5000"
------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 1000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1458, outputRateWindowTime: 1000, dropThreshold: 1958
Total frames rendered: 43053, number of frames that lagged: 1151 (2.67%) (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: 16.457 ms] [avg calls per frame: 1] [children: 99%] [unaccounted: 1.01%]
| scene->Preprocess - [1.01%] [avg time: 0.167 ms] [avg calls per frame: 1]
| video encoding and uploading - [98%] [avg time: 16.123 ms] [avg calls per frame: 1] [children: 19.3%] [unaccounted: 78.7%]
| | CopyResource - [0.0729%] [avg time: 0.012 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.28%] [avg time: 0.046 ms] [avg calls per frame: 0]
| | call to encoder - [18.6%] [avg time: 3.062 ms] [avg calls per frame: 0]
| | sending stuff out - [0.292%] [avg time: 0.048 ms] [avg calls per frame: 0]
==============================================================

The video to the log below: http://www.twitch.tv/tmatsou/b/358925320

Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 460
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221106688
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach P11 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 320
Using graphics capture
Warning -- DShowPlugin: Invalid device: name 'Logitech HD Webcam C270', path '\\?\usb#vid_046d&pid_0825&mi_00#7&364e394f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}'
Warning -- D3D10Texture::CreateTexture: CreateTexture2D failed, result = 0x80070057
Using directshow input
Using text output
Using custom x264 settings: "vbvmaxrate=5000"
------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1743, outputRateWindowTime: 1000, dropThreshold: 2243
Total frames rendered: 7929, number of frames that lagged: 669 (8.44%) (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: 20.759 ms] [avg calls per frame: 1] [children: 98.9%] [unaccounted: 1.06%]
| scene->Preprocess - [0.829%] [avg time: 0.172 ms] [avg calls per frame: 1]
| video encoding and uploading - [98.1%] [avg time: 20.366 ms] [avg calls per frame: 1] [children: 16.9%] [unaccounted: 81.2%]
| | CopyResource - [0.0578%] [avg time: 0.012 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.159%] [avg time: 0.033 ms] [avg calls per frame: 0]
| | call to encoder - [16.5%] [avg time: 3.429 ms] [avg calls per frame: 0]
| | sending stuff out - [0.198%] [avg time: 0.041 ms] [avg calls per frame: 0]
==============================================================

Shaperprobe result:

DiffProbe release. January 2012. Build 1008.
Shaper Detection Module.

Connected to server 80.239.142.215.

Estimating capacity:
Upstream: 10718 Kbps.
Downstream: 83225 Kbps.

The measurement will take upto 2.5 minutes. Please wait.

Checking for traffic shapers:

Upstream: No shaper detected.
Median received rate: 10490 Kbps.

Downstream: Burst size: 6147-7376 KB;
Shaping rate: 53013 Kbps.

For more information, visit: http://www.cc.gatech.edu/~partha/diffprobe

Speedtest.net & Pingtest result:
2450340332.png
75872800.png
 

hilalpro

Member
don't use that custom setting about the maxrate it doesn't do anything.. but everything back on default and use http://obsproject.com/estimator to help you get the right settings . now to get ride of the video frame lags put obs's threads on high priority and also obs.exe
 

Atsou

New Member
hilalpro said:
don't use that custom setting about the maxrate it doesn't do anything.. but everything back on default and use http://obsproject.com/estimator to help you get the right settings . now to get ride of the video frame lags put obs's threads on high priority and also obs.exe

The reason why I use vbvmaxrate is because of the reasons listed below:

"Custom x264 Encoder Settings: There is only one option you need to put here, “vbvmaxrate”. As I said above in the Encoding tab, the option titled Max Bitrate is infact, not really the max bitrate. Using this option allows you to set a hard limit that will never be exceeded. Generally you want to have about 10-20% of breathing space on what your maximum upload speed is. This lets you do this. (Remember that this does not include the audio bitrate)
*This was written by skyride.

I have used the estimator and my settings are accurate for the type of stream testing that I was doing at the time. I have the obs on high priority class and I will now put the obs threads on high priority as well. I will most the results shortly.

Thank you for taking the time to reply to my post.
 

hilalpro

Member
Atsou said:
hilalpro said:
don't use that custom setting about the maxrate it doesn't do anything.. but everything back on default and use http://obsproject.com/estimator to help you get the right settings . now to get ride of the video frame lags put obs's threads on high priority and also obs.exe

The reason why I use vbvmaxrate is because of the reasons listed below:

"Custom x264 Encoder Settings: There is only one option you need to put here, “vbvmaxrate”. As I said above in the Encoding tab, the option titled Max Bitrate is infact, not really the max bitrate. Using this option allows you to set a hard limit that will never be exceeded. Generally you want to have about 10-20% of breathing space on what your maximum upload speed is. This lets you do this. (Remember that this does not include the audio bitrate)
*This was written by skyride.

I have used the estimator and my settings are accurate for the type of stream testing that I was doing at the time. I have the obs on high priority class and I will now put the obs threads on high priority as well. I will most the results shortly.

Thank you for taking the time to reply to my post.
no problem man. just to clarify things vbvmaxrate=5000 is the same setting you find on the encoding tab. if you really feel like you need the bitrate to be a bit more constant and not jumpy you can use the CBR setting on the advanced tab although it is not recommended. but even then the bitrate is not gonna be 100% constant because of how x264 works.
 

Atsou

New Member
I have done another test based on the recommendations by hilalpro. The changes that I made were recommended to me by the estimator and I changed the priority of OBS in advance settings and in the task manager as well. I still have frame lag.

The video of the log below: http://www.twitch.tv/tmatsou/b/358988267

pen Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 460
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221106688
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach P11 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 320
Using graphics capture
Warning -- DShowPlugin: Invalid device: name 'Logitech HD Webcam C270', path '\\?\usb#vid_046d&pid_0825&mi_00#7&364e394f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}'
Warning -- D3D10Texture::CreateTexture: CreateTexture2D failed, result = 0x80070057
Using directshow input
Using text output
Using custom x264 settings: "vbvmaxrate=5000"
------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1436, outputRateWindowTime: 1000, dropThreshold: 1936
Total frames rendered: 19265, number of frames that lagged: 407 (2.11%) (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: 16.264 ms] [avg calls per frame: 1] [children: 99.1%] [unaccounted: 0.941%]
| scene->Preprocess - [0.959%] [avg time: 0.156 ms] [avg calls per frame: 1]
| video encoding and uploading - [98.1%] [avg time: 15.955 ms] [avg calls per frame: 1] [children: 18.8%] [unaccounted: 79.3%]
| | CopyResource - [0.0615%] [avg time: 0.01 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.234%] [avg time: 0.038 ms] [avg calls per frame: 0]
| | call to encoder - [18.2%] [avg time: 2.963 ms] [avg calls per frame: 0]
| | sending stuff out - [0.271%] [avg time: 0.044 ms] [avg calls per frame: 0]
==============================================================

Edit: Alright, thanks. I'll disable that option in advanced settings.
 

hilalpro

Member
Atsou said:
I have done another test based on the recommendations by hilalpro. The changes that I made were recommended to me by the estimator and I changed the priority of OBS in advance settings and in the task manager as well. I still have frame lag.

The video of the log below: http://www.twitch.tv/tmatsou/b/358988267

pen Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 460
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221106688
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach P11 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 320
Using graphics capture
Warning -- DShowPlugin: Invalid device: name 'Logitech HD Webcam C270', path '\\?\usb#vid_046d&pid_0825&mi_00#7&364e394f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}'
Warning -- D3D10Texture::CreateTexture: CreateTexture2D failed, result = 0x80070057
Using directshow input
Using text output
Using custom x264 settings: "vbvmaxrate=5000"
------------------------------------------
Video Encoding: x264
fps: 30
width: 1920, height: 1080
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1436, outputRateWindowTime: 1000, dropThreshold: 1936
Total frames rendered: 19265, number of frames that lagged: 407 (2.11%) (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: 16.264 ms] [avg calls per frame: 1] [children: 99.1%] [unaccounted: 0.941%]
| scene->Preprocess - [0.959%] [avg time: 0.156 ms] [avg calls per frame: 1]
| video encoding and uploading - [98.1%] [avg time: 15.955 ms] [avg calls per frame: 1] [children: 18.8%] [unaccounted: 79.3%]
| | CopyResource - [0.0615%] [avg time: 0.01 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.234%] [avg time: 0.038 ms] [avg calls per frame: 0]
| | call to encoder - [18.2%] [avg time: 2.963 ms] [avg calls per frame: 0]
| | sending stuff out - [0.271%] [avg time: 0.044 ms] [avg calls per frame: 0]
==============================================================

Edit: Alright, thanks. I'll disable that option in advanced settings.
looking at the log, that definitely helped a lot. i think with a downscale to 1280x720 you should be all set.

btw the audio bitrate 192 kbps aac is more than transparent you don't really need 320kbps
 

Atsou

New Member
I did another test and this time, it was down-sampled to 720p. The test showed very little frame lag however, I would like to stream at 1080p instead of down-sampled 720p. What is causing the frame lag? The 1080p resolution? If so, why is it causing it and what can I do to fix that problem? I have also found some memory leaks during this test.

The video of the log below (1080p down-sampled to 720p): http://www.twitch.tv/tmatsou/b/358999965

Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3309MHz
Physical Memory: 4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 460
Video Adapter Dedicated Video Memory: 1025966080
Video Adapter Shared System Memory: 3221106688
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach P11 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 320
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1918, outputRateWindowTime: 1000, dropThreshold: 2418
RTMPPublisher::BufferedSend: Buffer is full (551862 / 552960 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (551862 / 552960 bytes), waiting to send 4097 bytes
Total frames rendered: 7392, number of frames that lagged: 43 (0.58%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 10053
Number of b-frames dropped: 29 (0.16%), Number of p-frames dropped: 6 (0.034%), Total 35 (0.2%)
=====Stream End=======================================================================
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach P11 Headset)
------------------------------------------
Audio Encoding: AAC
bitrate: 192
Using graphics capture
Using text output
------------------------------------------
Video Encoding: x264
fps: 30
width: 1280, height: 720
preset: veryfast
CBR: no
max bitrate: 4000
buffer size: 4000
quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-iad-backup.justin.tv/app
bufferTime: 1684, outputRateWindowTime: 1000, dropThreshold: 2184
RTMPPublisher::BufferedSend: Buffer is full (533391 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (533391 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (534056 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (534056 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (534332 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (534332 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (533751 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (533751 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (534749 / 536576 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (534749 / 536576 bytes), waiting to send 4097 bytes
Total frames rendered: 18462, number of frames that lagged: 32 (0.17%) (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: 8.758 ms] [avg calls per frame: 1] [children: 98.4%] [unaccounted: 1.63%]
| scene->Preprocess - [1.66%] [avg time: 0.145 ms] [avg calls per frame: 1]
| video encoding and uploading - [96.7%] [avg time: 8.47 ms] [avg calls per frame: 1] [children: 15%] [unaccounted: 81.7%]
| | CopyResource - [0.114%] [avg time: 0.01 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0913%] [avg time: 0.008 ms] [avg calls per frame: 0]
| | call to encoder - [14.4%] [avg time: 1.26 ms] [avg calls per frame: 0]
| | sending stuff out - [0.377%] [avg time: 0.033 ms] [avg calls per frame: 0]
==============================================================

Memory Leaks Were Detected.
 

Krazy

Town drunk
Well, that time you were definitely getting network congestion. Have you tried other servers? Some days are better than others for each particular server and you may have to switch from time to time.

Also, are you watching your stream on the same PC you are streaming from? This will cause performance issues.

Next question: is your CPU overclocked at all? I can't be 100% sure but you might be pushing it on stock clocks trying to stream in 1080p with that CPU.
 

Atsou

New Member
KrazyTrumpeter05 said:
Well, that time you were definitely getting network congestion. Have you tried other servers? Some days are better than others for each particular server and you may have to switch from time to time.

Also, are you watching your stream on the same PC you are streaming from? This will cause performance issues.

Next question: is your CPU overclocked at all? I can't be 100% sure but you might be pushing it on stock clocks trying to stream in 1080p with that CPU.

Yes, I have tried other servers as well. I used JTVping to get the servers in which I get the lowest pings (Ashburn 1, Ashburn 2, and Newyork).

I am not watching the stream at all. I have had a couple of friends with different network connections watch the stream and they were getting small freezes which I assume is the frame lag.

The CPU is overclocked to 4.5Ghz. I have done 12 hour testing with Prime95 and 20 tests on maximum stress using Intelburn. The CPU is stable at the current overclock state. The CPU usage is around 35%-50% maximum while I was streaming.
 

Krazy

Town drunk
You aren't getting enough lagged frames to really be an issue, and on the second test you didn't even have any dropped frames.

I noticed earlier when trying to watch IEM streams this weekend that I got a TON of skipped frames. For whatever damn reason (I think it's somehow related to hardware acceleration) if I had a second stream up in the background, it was then completely smooth. Perhaps you could have your friends try that while then testing your stream? I know it sounds a bit insane and I've been trying to figure out more why the hell this is happening.
 

Atsou

New Member
KrazyTrumpeter05 said:
You aren't getting enough lagged frames to really be an issue, and on the second test you didn't even have any dropped frames.

I noticed earlier when trying to watch IEM streams this weekend that I got a TON of skipped frames. For whatever damn reason (I think it's somehow related to hardware acceleration) if I had a second stream up in the background, it was then completely smooth. Perhaps you could have your friends try that while then testing your stream? I know it sounds a bit insane and I've been trying to figure out more why the hell this is happening.

I was testing it earlier and the friend that was viewing it said that there were small freezes during the stream which is the reason why I checked the log files and discovered that I was getting frame lags. I will ask them to open two streams and try that method sometime tomorrow, but I don't think random people will want to open two streams just to watch some random person play a video game.
 

Krazy

Town drunk
No, they won't. Also have them try disabling hardware acceleration. Right click the flash player and select settings
 

Atsou

New Member
KrazyTrumpeter05 said:
No, they won't. Also have them try disabling hardware acceleration. Right click the flash player and select settings

While these solutions that you offered may work for the viewer, I don't think that it will matter much because the random viewer will join my stream channel and see it lag for a little bit and then he or she will leave the channel.

What is a frame lag and what causes it? And also, what does (it's okay for some frames to lag) mean?
 

Krazy

Town drunk
Like I said, you aren't lagging NEARLY enough frames for it to be causing issues on the stream. Frame lag is from encoding. You'd have to get a lot higher number to start actually noticing issues. The problems we are seeing here seem to be with the flash player. However, they seem to also be intermittent, and I'm not entirely sure what causes them to appear and disappear because most days everything will be 100% finie.
 

Atsou

New Member
KrazyTrumpeter05 said:
Like I said, you aren't lagging NEARLY enough frames for it to be causing issues on the stream. Frame lag is from encoding. You'd have to get a lot higher number to start actually noticing issues. The problems we are seeing here seem to be with the flash player. However, they seem to also be intermittent, and I'm not entirely sure what causes them to appear and disappear because most days everything will be 100% finie.

Alright, I will do a couple of tests with different servers tomorrow and see if the results from today replicate tomorrow. Thank you for answering my questions and have a nice day.
 

Krazy

Town drunk
You're very welcome, hopefully this ends up being temporary, or we can figure out what exactly is causing it.
 

Atsou

New Member
I worked on this issue with hilalpro for a couple of hours today and what hilalpro discovered was that there is a bug in OBS that might have something to do with frame lag (I am not certain about the exact details of the bug).

After several tests, hilalpro recommended me to use high priority in OBS advanced settings and in the windows task manager as well. That seemed to have fixed the issue. The problem was that I was streaming at 4000 bitrate and in some circumstances, the bitrate was reaching up to 5000. Most people don't have very good internet connections and that might have been the cause of the lag that people were experiencing (according to hilalpro). I changed the bitrate to 3500 and the bitrate was hovering around 3000-4000. I think that 3500 bitrate should be good enough for 1080p streaming and therefore, I think that the problem has been fixed. I will post on this thread if the problem persists.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
If it's fixed by using high priority then it's not really a bug, probably just more of a system thing in general. That selection in advanced is there for that specific reason after all
 

Atsou

New Member
Jim said:
If it's fixed by using high priority then it's not really a bug, probably just more of a system thing in general. That selection in advanced is there for that specific reason after all

The frame lag is still there, it's just that it's a little less than before due to changing the setting in the task manager to high priority. The OBS was in high priority before I made the thread here. The problem was the fact that most people don't have very good internet connections and that might have been the reason why it was freezing for some people (I think).
 

Pugget

Twitch
KrazyTrumpeter05 said:
I noticed earlier when trying to watch IEM streams this weekend that I got a TON of skipped frames. For whatever damn reason (I think it's somehow related to hardware acceleration) if I had a second stream up in the background, it was then completely smooth. Perhaps you could have your friends try that while then testing your stream? I know it sounds a bit insane and I've been trying to figure out more why the hell this is happening.

What you experienced was coincidence. IEM experienced source-based ingest starvation on and off all weekend. Don't worry, the world isn't that insane (yet).
 
Top