Krxz
Member
Hello community,
So as the title says I have several skipped frames problems apparently as well as slow server.
PC RIG
-i5 3750k 3.4Ghz not OCed
-8 GB G.skill RAM
-Radeon 7950HD
Testmynet results to Amsterdam: 4.7Mbps
OBS Settings:
-Downscaled 720p60fps
-2000-2800rates (I can do anything in between no issue)
-x264: veryfast
-server: NL
-JVTping: NL(42ms), GE(60ms), UK(42ms) So I guess I can pick any.
Games I stream: Payday 2, League of Legends, APB Reloaded.
I don't understand where this can come from. Is my config to low for 720p60fps? It shouldn't be. Upload wise, I think I am more then fine. I've pulled off 3500 rates and 4000 rates. People said my stream was freezing every 2 secs, even on 2000 rates. So after I checked the log analyzer I found these issues.
It also mentioned slow scenes? Almost all my scenes are global scenes except the actual game captures and 1 or 2 wallpapers.
Log1: I believe this Payday 2
Thanks in advance, Log 2 and 3 following
So as the title says I have several skipped frames problems apparently as well as slow server.
PC RIG
-i5 3750k 3.4Ghz not OCed
-8 GB G.skill RAM
-Radeon 7950HD
Testmynet results to Amsterdam: 4.7Mbps
OBS Settings:
-Downscaled 720p60fps
-2000-2800rates (I can do anything in between no issue)
-x264: veryfast
-server: NL
-JVTping: NL(42ms), GE(60ms), UK(42ms) So I guess I can pick any.
Games I stream: Payday 2, League of Legends, APB Reloaded.
I don't understand where this can come from. Is my config to low for 720p60fps? It shouldn't be. Upload wise, I think I am more then fine. I've pulled off 3500 rates and 4000 rates. People said my stream was freezing every 2 secs, even on 2000 rates. So after I checked the log analyzer I found these issues.
It also mentioned slow scenes? Almost all my scenes are global scenes except the actual game captures and 1 or 2 wallpapers.
Log1: I believe this Payday 2
Code:
20:39:20: Open Broadcaster Software v0.571b - 64bit ( ^ω^)
20:39:20: -------------------------------
20:39:20: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
20:39:20: CPU Speed: 3400MHz
20:39:20: Physical Memory: 8140MB Total, 5506MB Free
20:39:20: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
20:39:20: monitor 1: pos={0, 0}, size={1920, 1080}
20:39:20: Windows Version: 6.2 Build 9200
20:39:20: Aero is Enabled
20:39:20: -------------------------------
20:39:20: OBS Modules:
20:39:20: Base Address Module
20:39:20: 000000006BD50000 OBS.exe
20:39:20: 00000000BA9A0000 OBSApi.dll
20:39:20: 00000000C5580000 DShowPlugin.dll
20:39:20: 00000000C7370000 GraphicsCapture.dll
20:39:20: 00000000C5440000 NoiseGate.dll
20:39:20: 00000000C5420000 PSVPlugin.dll
20:39:20: 00000000C1F70000 scenesw.dll
20:39:20: 00000000C1CD0000 WebSocketAPIPlugin.dll
20:39:20: ------------------------------------------
20:39:20: Adapter 1
20:39:20: Video Adapter: AMD Radeon HD 7900 Series
20:39:20: Video Adapter Dedicated Video Memory: 3202523136
20:39:20: Video Adapter Shared System Memory: 3999481856
20:39:20: Using fixed low latency mode, factor 20
20:39:20: =====Stream Start: 2013-10-08, 20:39:20===============================================
20:39:20: Multithreaded optimizations: On
20:39:20: Base resolution: 1920x1080
20:39:20: Output resolution: 1280x720
20:39:20: ------------------------------------------
20:39:20: Loading up D3D10 on AMD Radeon HD 7900 Series...
20:39:20: ------------------------------------------
20:39:20: Audio Format: 48000hz
20:39:20: Playback device {0.0.0.00000000}.{15192ab2-8b4c-4aef-bf0b-c0713b40d621}
20:39:20: ------------------------------------------
20:39:20: Using desktop audio input: Line 1 (Virtual Audio Cable)
20:39:20: ------------------------------------------
20:39:20: Using auxilary audio input: Microphone (Logitech G35 Headset)
20:39:20: ------------------------------------------
20:39:20: Audio Encoding: AAC
20:39:20: bitrate: 128
20:39:20: Using text output
20:39:20: Using text output
20:39:20: Using text output
20:39:20: Using text output
20:39:20: Using bitmap image
20:39:20: Using bitmap image
20:39:20: Using bitmap image
20:39:21: Using bitmap image
20:39:21: Using bitmap image
20:39:21: Using bitmap image
20:39:21: Using Window Capture
20:39:21: Using Window Capture
20:39:21: Using bitmap image
20:39:21: Using bitmap image
20:39:21: ------------------------------------------
20:39:21: Video Encoding: x264
20:39:21: fps: 60
20:39:21: width: 1280, height: 720
20:39:21: preset: veryfast
20:39:21: profile: high
20:39:21: keyint: 120
20:39:21: CBR: yes
20:39:21: CFR: no
20:39:21: max bitrate: 2800
20:39:21: buffer size: 2800
20:39:21: ------------------------------------------
20:39:21: MMDeviceAudioSource: Frequency for device 'Line 1 (Virtual Audio Cable)' is 352800, samples per sec is 44100
20:39:21: MMDeviceAudioSource: Frequency for device 'Microphone (Logitech G35 Headset)' is 176400, samples per sec is 44100
20:39:22: Using RTMP service: Twitch / Justin.tv
20:39:22: Server selection: rtmp://live-ams.justin.tv/app
20:39:22: Interface: Qualcomm Atheros AR8161 PCI-E Gigabit Ethernet Controller (NDIS 6.30) (ethernet, 100 mbps)
20:39:23: Completed handshake with rtmp://live-ams.justin.tv/app in 430 ms.
20:39:24: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:39:24: New Scene
20:39:24: Using graphics capture
20:39:24: SharedTexCapture hooked
20:39:24: SO_SNDBUF was at 81920
20:39:24: SO_SNDBUF is now 65536
20:40:36: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:40:36: New Scene
20:40:36: PERFORMANCE WARNING: Scene change took 714 ms, maybe some sources should be global sources?
20:40:47: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:40:47: New Scene
20:40:47: Using graphics capture
20:40:47: SharedTexCapture hooked
20:43:34: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:43:34: New Scene
20:43:42: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:43:42: New Scene
20:43:42: Using graphics capture
20:43:42: SharedTexCapture hooked
20:45:05: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 374784)
21:22:29: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:22:29: New Scene
21:22:38: Total frames encoded: 155789, total frames duplicated: 12607 (8.09%)
21:22:38: Number of frames skipped due to encoder lag: 4484 (2.88%)
21:22:38: Total frames rendered: 147771, number of late frames: 4366 (2.95%) (it's okay for some frames to be late)
21:22:38: RTMPPublisher::SocketLoop: Graceful loop exit
21:22:39: Average send payload: 18874 bytes, average send interval: 51 ms
21:22:39: Number of times waited to send: 0, Waited for a total of 0 bytes
21:22:39: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:22:39: Number of bytes sent: 952881279
21:22:39:
21:22:39: Profiler time results:
21:22:39:
21:22:39: ==============================================================
21:22:39: video thread frame - [100%] [avg time: 0.958 ms] [children: 87.4%] [unaccounted: 12.6%]
21:22:39: | scene->Preprocess - [87.4%] [avg time: 0.837 ms]
21:22:39: GPU download and conversion - [100%] [avg time: 3.002 ms] [children: 40.9%] [unaccounted: 59.1%]
21:22:39: | flush - [38.4%] [avg time: 1.154 ms]
21:22:39: | CopyResource - [2.27%] [avg time: 0.068 ms]
21:22:39: | conversion to 4:2:0 - [0.233%] [avg time: 0.007 ms]
21:22:39: Convert444Threads - [100%] [avg time: 0.919 ms] [children: 98%] [unaccounted: 1.96%]
21:22:39: | Convert444toNV12 - [98%] [avg time: 0.901 ms]
21:22:39: encoder thread frame - [100%] [avg time: 3.197 ms]
21:22:39: ==============================================================
21:22:39:
21:22:39:
21:22:39: Profiler CPU results:
21:22:39:
21:22:39: ==============================================================
21:22:39: video thread frame - [cpu time: avg 0.158 ms, total 23421.9 ms] [avg calls per frame: 1]
21:22:39: | scene->Preprocess - [cpu time: avg 0.115 ms, total 17046.9 ms] [avg calls per frame: 1]
21:22:39: GPU download and conversion - [cpu time: avg 0.137 ms, total 20375 ms] [avg calls per frame: 1]
21:22:39: | flush - [cpu time: avg 0.113 ms, total 16781.3 ms] [avg calls per frame: 1]
21:22:39: | CopyResource - [cpu time: avg 0.007 ms, total 1171.88 ms] [avg calls per frame: 1]
21:22:39: | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 296.875 ms] [avg calls per frame: 1]
21:22:39: Convert444Threads - [cpu time: avg 0.589 ms, total 174141 ms] [avg calls per frame: 2]
21:22:39: | Convert444toNV12 - [cpu time: avg 0.585 ms, total 172875 ms] [avg calls per frame: 2]
21:22:39: encoder thread frame - [cpu time: avg 1.031 ms, total 160703 ms] [avg calls per frame: 1]
21:22:39: ==============================================================
21:22:39:
21:22:39: =====Stream End: 2013-10-08, 21:22:39=================================================
21:22:53: Using fixed low latency mode, factor 20
21:22:53: =====Stream Start: 2013-10-08, 21:22:53===============================================
21:22:53: Multithreaded optimizations: On
21:22:53: Base resolution: 1920x1080
21:22:53: Output resolution: 1280x720
21:22:53: ------------------------------------------
21:22:53: Loading up D3D10 on AMD Radeon HD 7900 Series...
21:22:53: ------------------------------------------
21:22:53: Audio Format: 48000hz
21:22:53: Playback device {0.0.0.00000000}.{15192ab2-8b4c-4aef-bf0b-c0713b40d621}
21:22:53: ------------------------------------------
21:22:53: Using desktop audio input: Line 1 (Virtual Audio Cable)
21:22:53: ------------------------------------------
21:22:53: Using auxilary audio input: Microphone (Logitech G35 Headset)
21:22:53: ------------------------------------------
21:22:53: Audio Encoding: AAC
21:22:53: bitrate: 128
21:22:53: Using text output
21:22:53: Using text output
21:22:53: Using text output
21:22:53: Using text output
21:22:53: Using bitmap image
21:22:53: Using bitmap image
21:22:53: Using bitmap image
21:22:53: Using bitmap image
21:22:53: Using bitmap image
21:22:53: Using bitmap image
21:22:53: Using Window Capture
21:22:53: Using Window Capture
21:22:53: Using bitmap image
21:22:53: Using bitmap image
21:22:53: ------------------------------------------
21:22:53: Video Encoding: x264
21:22:53: fps: 60
21:22:53: width: 1280, height: 720
21:22:53: preset: veryfast
21:22:53: profile: high
21:22:53: keyint: 120
21:22:53: CBR: yes
21:22:53: CFR: no
21:22:53: max bitrate: 2500
21:22:53: buffer size: 2500
21:22:53: ------------------------------------------
21:22:53: MMDeviceAudioSource: Frequency for device 'Line 1 (Virtual Audio Cable)' is 352800, samples per sec is 44100
21:22:53: MMDeviceAudioSource: Frequency for device 'Microphone (Logitech G35 Headset)' is 176400, samples per sec is 44100
21:22:54: Using RTMP service: Twitch / Justin.tv
21:22:54: Server selection: rtmp://live-ams.justin.tv/app
21:22:54: Interface: Qualcomm Atheros AR8161 PCI-E Gigabit Ethernet Controller (NDIS 6.30) (ethernet, 100 mbps)
21:22:55: Completed handshake with rtmp://live-ams.justin.tv/app in 442 ms.
21:22:56: SO_SNDBUF was at 81920
21:22:56: SO_SNDBUF is now 65536
21:23:01: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:23:01: New Scene
21:23:01: Using graphics capture
21:23:01: SharedTexCapture hooked
21:26:10: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:26:10: New Scene
21:26:19: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:26:19: New Scene
21:26:19: Using graphics capture
21:26:23: SharedTexCapture hooked
21:28:15: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 335872)
21:29:25: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:29:25: New Scene
21:29:25: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:29:25: New Scene
21:29:25: Using graphics capture
21:29:26: SharedTexCapture hooked
21:29:36: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:29:36: New Scene
21:29:45: Total frames encoded: 24698, total frames duplicated: 579 (2.34%)
21:29:45: Number of frames skipped due to encoder lag: 124 (0.50%)
21:29:45: Total frames rendered: 24416, number of late frames: 63 (0.26%) (it's okay for some frames to be late)
21:29:45: RTMPPublisher::SocketLoop: Graceful loop exit
21:29:46: Average send payload: 16894 bytes, average send interval: 51 ms
21:29:46: Number of times waited to send: 0, Waited for a total of 0 bytes
21:29:46: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:29:46: Number of bytes sent: 134867722
21:29:46:
21:29:46: Profiler time results:
21:29:46:
21:29:46: ==============================================================
21:29:46: video thread frame - [100%] [avg time: 0.843 ms] [children: 86.8%] [unaccounted: 13.2%]
21:29:46: | scene->Preprocess - [86.8%] [avg time: 0.732 ms]
21:29:46: GPU download and conversion - [100%] [avg time: 1.289 ms] [children: 82.2%] [unaccounted: 17.8%]
21:29:46: | flush - [79.8%] [avg time: 1.029 ms]
21:29:46: | CopyResource - [2.02%] [avg time: 0.026 ms]
21:29:46: | conversion to 4:2:0 - [0.31%] [avg time: 0.004 ms]
21:29:46: Convert444Threads - [100%] [avg time: 0.884 ms] [children: 98.2%] [unaccounted: 1.81%]
21:29:46: | Convert444toNV12 - [98.2%] [avg time: 0.868 ms]
21:29:46: encoder thread frame - [100%] [avg time: 1.946 ms]
21:29:46: ==============================================================
21:29:46:
21:29:46:
21:29:46: Profiler CPU results:
21:29:46:
21:29:46: ==============================================================
21:29:46: video thread frame - [cpu time: avg 0.103 ms, total 2515.63 ms] [avg calls per frame: 1]
21:29:46: | scene->Preprocess - [cpu time: avg 0.071 ms, total 1734.38 ms] [avg calls per frame: 1]
21:29:46: GPU download and conversion - [cpu time: avg 0.161 ms, total 3953.13 ms] [avg calls per frame: 1]
21:29:46: | flush - [cpu time: avg 0.143 ms, total 3515.63 ms] [avg calls per frame: 1]
21:29:46: | CopyResource - [cpu time: avg 0.003 ms, total 78.125 ms] [avg calls per frame: 1]
21:29:46: | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 62.5 ms] [avg calls per frame: 1]
21:29:46: Convert444Threads - [cpu time: avg 0.656 ms, total 32015.6 ms] [avg calls per frame: 2]
21:29:46: | Convert444toNV12 - [cpu time: avg 0.653 ms, total 31859.4 ms] [avg calls per frame: 2]
21:29:46: encoder thread frame - [cpu time: avg 0.877 ms, total 21656.3 ms] [avg calls per frame: 1]
21:29:46: ==============================================================
21:29:46:
21:29:46: =====Stream End: 2013-10-08, 21:29:46=================================================
21:29:55: Using fixed low latency mode, factor 20
21:29:55: =====Stream Start: 2013-10-08, 21:29:55===============================================
21:29:55: Multithreaded optimizations: On
21:29:55: Base resolution: 1920x1080
21:29:55: Output resolution: 1280x720
21:29:55: ------------------------------------------
21:29:55: Loading up D3D10 on AMD Radeon HD 7900 Series...
21:29:55: ------------------------------------------
21:29:55: Audio Format: 48000hz
21:29:55: Playback device {0.0.0.00000000}.{15192ab2-8b4c-4aef-bf0b-c0713b40d621}
21:29:55: ------------------------------------------
21:29:55: Using desktop audio input: Line 1 (Virtual Audio Cable)
21:29:55: ------------------------------------------
21:29:55: Using auxilary audio input: Microphone (Logitech G35 Headset)
21:29:55: ------------------------------------------
21:29:55: Audio Encoding: AAC
21:29:55: bitrate: 128
21:29:55: Using text output
21:29:55: Using text output
21:29:55: Using text output
21:29:55: Using text output
21:29:55: Using bitmap image
21:29:55: Using bitmap image
21:29:55: Using bitmap image
21:29:55: Using bitmap image
21:29:55: Using bitmap image
21:29:55: Using bitmap image
21:29:55: Using Window Capture
21:29:55: Using Window Capture
21:29:55: Using bitmap image
21:29:56: Using bitmap image
21:29:56: ------------------------------------------
21:29:56: Video Encoding: x264
21:29:56: fps: 60
21:29:56: width: 1280, height: 720
21:29:56: preset: veryfast
21:29:56: profile: high
21:29:56: keyint: 120
21:29:56: CBR: yes
21:29:56: CFR: no
21:29:56: max bitrate: 2000
21:29:56: buffer size: 2000
21:29:56: ------------------------------------------
21:29:56: MMDeviceAudioSource: Frequency for device 'Line 1 (Virtual Audio Cable)' is 352800, samples per sec is 44100
21:29:56: MMDeviceAudioSource: Frequency for device 'Microphone (Logitech G35 Headset)' is 176400, samples per sec is 44100
21:29:57: Using RTMP service: Twitch / Justin.tv
21:29:57: Server selection: rtmp://live-ams.justin.tv/app
21:29:57: Interface: Qualcomm Atheros AR8161 PCI-E Gigabit Ethernet Controller (NDIS 6.30) (ethernet, 100 mbps)
21:29:57: Completed handshake with rtmp://live-ams.justin.tv/app in 398 ms.
21:30:00: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:30:00: New Scene
21:30:00: Using graphics capture
21:30:01: SharedTexCapture hooked
21:30:02: SO_SNDBUF was at 81920
21:30:02: SO_SNDBUF is now 65536
21:31:06: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:31:06: New Scene
21:31:17: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:31:17: New Scene
21:31:17: Using graphics capture
21:31:18: SharedTexCapture hooked
21:32:01: GraphicsCaptureSource::NewCapture: eliminating old capture
21:32:01: SharedTexCapture hooked
21:32:35: GraphicsCaptureSource::NewCapture: eliminating old capture
21:32:35: SharedTexCapture hooked
21:33:01: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 272384)
21:38:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:38:46: New Scene
21:39:28: Total frames encoded: 34310, total frames duplicated: 2358 (6.87%)
21:39:28: Number of frames skipped due to encoder lag: 1149 (3.35%)
21:39:28: Total frames rendered: 32997, number of late frames: 278 (0.84%) (it's okay for some frames to be late)
21:39:28: RTMPPublisher::SocketLoop: Graceful loop exit
21:39:28: Average send payload: 13722 bytes, average send interval: 51 ms
21:39:28: Number of times waited to send: 0, Waited for a total of 0 bytes
21:39:28: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:39:28: Number of bytes sent: 150932299
21:39:28:
21:39:28: Profiler time results:
21:39:28:
21:39:28: ==============================================================
21:39:28: video thread frame - [100%] [avg time: 1.032 ms] [children: 86.2%] [unaccounted: 13.8%]
21:39:28: | scene->Preprocess - [86.2%] [avg time: 0.89 ms]
21:39:28: GPU download and conversion - [100%] [avg time: 1.57 ms] [children: 79.9%] [unaccounted: 20.1%]
21:39:28: | flush - [76.8%] [avg time: 1.205 ms]
21:39:28: | CopyResource - [2.87%] [avg time: 0.045 ms]
21:39:28: | conversion to 4:2:0 - [0.255%] [avg time: 0.004 ms]
21:39:28: Convert444Threads - [100%] [avg time: 0.955 ms] [children: 98%] [unaccounted: 1.99%]
21:39:28: | Convert444toNV12 - [98%] [avg time: 0.936 ms]
21:39:28: encoder thread frame - [100%] [avg time: 3.26 ms]
21:39:28: ==============================================================
21:39:28:
21:39:28:
21:39:28: Profiler CPU results:
21:39:28:
21:39:28: ==============================================================
21:39:28: video thread frame - [cpu time: avg 0.173 ms, total 5718.75 ms] [avg calls per frame: 1]
21:39:28: | scene->Preprocess - [cpu time: avg 0.123 ms, total 4062.5 ms] [avg calls per frame: 1]
21:39:28: GPU download and conversion - [cpu time: avg 0.156 ms, total 5156.25 ms] [avg calls per frame: 1]
21:39:28: | flush - [cpu time: avg 0.129 ms, total 4265.63 ms] [avg calls per frame: 1]
21:39:28: | CopyResource - [cpu time: avg 0.007 ms, total 250 ms] [avg calls per frame: 1]
21:39:28: | conversion to 4:2:0 - [cpu time: avg 0.003 ms, total 109.375 ms] [avg calls per frame: 1]
21:39:28: Convert444Threads - [cpu time: avg 0.643 ms, total 42406.3 ms] [avg calls per frame: 2]
21:39:28: | Convert444toNV12 - [cpu time: avg 0.638 ms, total 42093.8 ms] [avg calls per frame: 2]
21:39:28: encoder thread frame - [cpu time: avg 0.975 ms, total 33437.5 ms] [avg calls per frame: 1]
21:39:28: ==============================================================
21:39:28:
21:39:28: =====Stream End: 2013-10-08, 21:39:28=================================================
21:40:02: Memory Leaks Were Detected.
21:40:02:
Thanks in advance, Log 2 and 3 following