Question / Help Skipping Frames

Afflictedtran

New Member
Ok so I've bought a new CPU and was able to stream fine until today where its starting to skip frames again. I never really configured my settings correctly. Can you guys give me one last help with my setting?

Code:
01:39:27: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
01:39:27: -------------------------------
01:39:27: CPU Name: AMD FX(tm)-8320 Eight-Core Processor
01:39:27: CPU Speed: 3515MHz
01:39:27: Physical Memory:  4095MB Total, 4095MB Free
01:39:27: stepping id: 0, model 2, family 21, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 2, total cores 2
01:39:27: monitor 1: pos={0, 0}, size={1280, 1024}
01:39:27: Windows Version: 6.0 Build 6002 S
01:39:27: Aero is Disabled
01:39:27: -------------------------------
01:39:27: OBS Modules:
01:39:27: Base Address     Module
01:39:27: 00170000         OBS.exe
01:39:27: 66E50000         OBSApi.dll
01:39:27: 6C050000         DShowPlugin.dll
01:39:27: 6FA60000         GraphicsCapture.dll
01:39:27: 6FF70000         NoiseGate.dll
01:39:27: 6F930000         PSVPlugin.dll
01:39:27: ------------------------------------------
01:39:27: Adapter 1
01:39:27:   Video Adapter: ATI Radeon HD 5570
01:39:27:   Video Adapter Dedicated Video Memory: 1058897920
01:39:27:   Video Adapter Shared System Memory: 1869377536
01:39:27:   Video Adapter Output 1: pos={0, 0}, size={1280, 1024}, attached=true
01:39:27: =====Stream Start: 2014-01-31, 01:39:27===============================================
01:39:27:   Multithreaded optimizations: On
01:39:27:   Base resolution: 1280x1024
01:39:27:   Output resolution: 1024x818
01:39:27: ------------------------------------------
01:39:27: Loading up D3D10 on ATI Radeon HD 5570 (Adapter 1)...
01:39:27: ------------------------------------------
01:39:27: Audio Format: 48000hz
01:39:27: Playback device Default
01:39:27: ------------------------------------------
01:39:27: Using desktop audio input: Speakers (High Definition Audio Device)
01:39:27: ------------------------------------------
01:39:27: Using auxilary audio input: Microphone (High Definition Audio Device)
01:39:27: ------------------------------------------
01:39:27: Audio Encoding: AAC
01:39:27:     bitrate: 128
01:39:27: Using Window Capture
01:39:27: Using Window Capture
01:39:27: Scene buffering time set to 400
01:39:27: ------------------------------------------
01:39:27: Video Encoding: x264
01:39:27:     fps: 60
01:39:27:     width: 1024, height: 818
01:39:27:     preset: veryfast
01:39:27:     profile: main
01:39:27:     keyint: 120
01:39:27:     CBR: yes
01:39:27:     CFR: no
01:39:27:     max bitrate: 1000
01:39:27:     buffer size: 1000
01:39:27: ------------------------------------------
01:39:27: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
01:39:27: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 352800, samples per sec is 44100
01:39:28: Using RTMP service: Twitch / Justin.tv
01:39:28:   Server selection: rtmp://live-dfw.justin.tv/app
01:39:28:   Interface: 802.11n USB Wireless LAN Card (802.11, 189 mbps)
01:39:29: Completed handshake with rtmp://live-dfw.justin.tv/app in 194 ms.
01:39:29: SO_SNDBUF was at 8192
01:39:29: SO_SNDBUF is now 65536
01:39:57: Total frames encoded: 1773, total frames duplicated: 1711 (96.50%)
01:39:57: Number of frames skipped due to encoder lag: 1643 (92.67%)
01:39:57: Total frames rendered: 66, number of late frames: 37 (56.06%) (it's okay for some frames to be late)
01:39:57: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
01:39:57: Average send payload: 2667 bytes, average send interval: 18 ms
01:39:57: Number of times waited to send: 0, Waited for a total of 0 bytes
01:39:57: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
01:39:57: Number of bytes sent: 3885832
01:39:58: 
01:39:58: Profiler time results:
01:39:58: 
01:39:58: ==============================================================
01:39:58: video thread frame - [100%] [avg time: 37.681 ms] [children: 65.2%] [unaccounted: 34.8%]
01:39:58: | scene->Preprocess - [55.3%] [avg time: 20.831 ms]
01:39:58: | GPU download and conversion - [9.9%] [avg time: 3.731 ms] [children: 5.09%] [unaccounted: 4.81%]
01:39:58: | | flush - [4.46%] [avg time: 1.681 ms]
01:39:58: | | CopyResource - [0.401%] [avg time: 0.151 ms]
01:39:58: | | conversion to 4:2:0 - [0.228%] [avg time: 0.086 ms]
01:39:58: Convert444Thread - [100%] [avg time: 1.648 ms] [children: 99.3%] [unaccounted: 0.728%]
01:39:58: | Convert444toNV12 - [99.3%] [avg time: 1.636 ms]
01:39:58: encoder thread frame - [100%] [avg time: 16.297 ms]
01:39:58: ==============================================================
01:39:58: 
01:39:58: 
01:39:58: Profiler CPU results:
01:39:58: 
01:39:58: ==============================================================
01:39:58: video thread frame - [cpu time: avg 12.054 ms, total 795.605 ms] [avg calls per frame: 1]
01:39:58: | scene->Preprocess - [cpu time: avg 8.509 ms, total 561.604 ms] [avg calls per frame: 1]
01:39:58: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:39:58: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:39:58: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:39:58: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:39:58: Convert444Thread - [cpu time: avg 1.418 ms, total 62.4 ms] [avg calls per frame: 1]
01:39:58: | Convert444toNV12 - [cpu time: avg 1.418 ms, total 62.4 ms] [avg calls per frame: 1]
01:39:58: encoder thread frame - [cpu time: avg 1.284 ms, total 2246.41 ms] [avg calls per frame: 1]
01:39:58: ==============================================================
01:39:58: 
01:39:58: =====Stream End: 2014-01-31, 01:39:58=================================================
01:40:06: Settings::Video: Enabling Aero
01:40:08: =====Stream Start: 2014-01-31, 01:40:08===============================================
01:40:08:   Multithreaded optimizations: On
01:40:08:   Base resolution: 1280x1024
01:40:08:   Output resolution: 1280x1024
01:40:08: ------------------------------------------
01:40:08: Loading up D3D10 on ATI Radeon HD 5570 (Adapter 1)...
01:40:08: ------------------------------------------
01:40:08: Audio Format: 48000hz
01:40:08: Playback device Default
01:40:08: ------------------------------------------
01:40:08: Using desktop audio input: Speakers (High Definition Audio Device)
01:40:08: ------------------------------------------
01:40:08: Using auxilary audio input: Microphone (High Definition Audio Device)
01:40:08: ------------------------------------------
01:40:08: Audio Encoding: AAC
01:40:08:     bitrate: 128
01:40:08: Using Window Capture
01:40:08: Using Window Capture
01:40:08: Scene buffering time set to 400
01:40:08: ------------------------------------------
01:40:08: Video Encoding: x264
01:40:08:     fps: 45
01:40:08:     width: 1280, height: 1024
01:40:08:     preset: veryfast
01:40:08:     profile: main
01:40:08:     keyint: 90
01:40:08:     CBR: yes
01:40:08:     CFR: no
01:40:08:     max bitrate: 1000
01:40:08:     buffer size: 1000
01:40:08: ------------------------------------------
01:40:08: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
01:40:08: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 352800, samples per sec is 44100
01:40:10: Using RTMP service: Twitch / Justin.tv
01:40:10:   Server selection: rtmp://live-dfw.justin.tv/app
01:40:10:   Interface: 802.11n USB Wireless LAN Card (802.11, 222 mbps)
01:40:10: Completed handshake with rtmp://live-dfw.justin.tv/app in 140 ms.
01:40:11: SO_SNDBUF was at 8192
01:40:11: SO_SNDBUF is now 65536
01:40:13: Total frames encoded: 156, total frames duplicated: 132 (84.62%)
01:40:13: Number of frames skipped due to encoder lag: 106 (67.95%)
01:40:13: Total frames rendered: 25, number of late frames: 10 (40.00%) (it's okay for some frames to be late)
01:40:13: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
01:40:13: Average send payload: 3233 bytes, average send interval: 17 ms
01:40:13: Number of times waited to send: 0, Waited for a total of 0 bytes
01:40:13: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
01:40:13: Number of bytes sent: 93780
01:40:13: 
01:40:13: Profiler time results:
01:40:13: 
01:40:13: ==============================================================
01:40:13: video thread frame - [100%] [avg time: 58.592 ms] [children: 44.9%] [unaccounted: 55.1%]
01:40:13: | scene->Preprocess - [43.2%] [avg time: 25.316 ms]
01:40:13: | GPU download and conversion - [1.67%] [avg time: 0.98 ms] [children: 1.51%] [unaccounted: 0.166%]
01:40:13: | | flush - [1.48%] [avg time: 0.867 ms]
01:40:13: | | CopyResource - [0.0205%] [avg time: 0.012 ms]
01:40:13: | | conversion to 4:2:0 - [0.00683%] [avg time: 0.004 ms]
01:40:13: Convert444Thread - [100%] [avg time: 3.303 ms] [children: 96.9%] [unaccounted: 3.12%]
01:40:13: | Convert444toNV12 - [96.9%] [avg time: 3.2 ms]
01:40:13: encoder thread frame - [100%] [avg time: 24.494 ms]
01:40:13: ==============================================================
01:40:13: 
01:40:13: 
01:40:13: Profiler CPU results:
01:40:13: 
01:40:13: ==============================================================
01:40:13: video thread frame - [cpu time: avg 9.984 ms, total 249.601 ms] [avg calls per frame: 1]
01:40:13: | scene->Preprocess - [cpu time: avg 7.488 ms, total 187.201 ms] [avg calls per frame: 1]
01:40:13: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:40:13: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:40:13: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
01:40:13: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
01:40:13: Convert444Thread - [cpu time: avg 1.95 ms, total 15.6 ms] [avg calls per frame: 1]
01:40:13: | Convert444toNV12 - [cpu time: avg 1.95 ms, total 15.6 ms] [avg calls per frame: 1]
01:40:13: encoder thread frame - [cpu time: avg 1.808 ms, total 249.601 ms] [avg calls per frame: 1]
01:40:13: ==============================================================
01:40:13: 
01:40:13: =====Stream End: 2014-01-31, 01:40:13=================================================
01:40:18: Settings::Video: Enabling Aero
01:40:18: =====Stream Start: 2014-01-31, 01:40:18===============================================
01:40:18:   Multithreaded optimizations: On
01:40:18:   Base resolution: 1280x1024
01:40:18:   Output resolution: 1024x818
01:40:18: ------------------------------------------
01:40:18: Loading up D3D10 on ATI Radeon HD 5570 (Adapter 1)...
01:40:18: ------------------------------------------
01:40:18: Audio Format: 48000hz
01:40:18: Playback device Default
01:40:18: ------------------------------------------
01:40:18: Using desktop audio input: Speakers (High Definition Audio Device)
01:40:18: ------------------------------------------
01:40:18: Using auxilary audio input: Microphone (High Definition Audio Device)
01:40:18: ------------------------------------------
01:40:18: Audio Encoding: AAC
01:40:18:     bitrate: 128
01:40:18: Using Window Capture
01:40:18: Using Window Capture
01:40:18: Scene buffering time set to 400
01:40:19: ------------------------------------------
01:40:19: Video Encoding: x264
01:40:19:     fps: 45
01:40:19:     width: 1024, height: 818
01:40:19:     preset: veryfast
01:40:19:     profile: main
01:40:19:     keyint: 90
01:40:19:     CBR: yes
01:40:19:     CFR: no
01:40:19:     max bitrate: 1000
01:40:19:     buffer size: 1000
01:40:19: ------------------------------------------
01:40:19: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
01:40:19: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 352800, samples per sec is 44100
01:40:20: Using RTMP service: Twitch / Justin.tv
01:40:20:   Server selection: rtmp://live-dfw.justin.tv/app
01:40:20:   Interface: 802.11n USB Wireless LAN Card (802.11, 202 mbps)
01:40:20: Completed handshake with rtmp://live-dfw.justin.tv/app in 137 ms.
01:40:21: SO_SNDBUF was at 8192
01:40:21: SO_SNDBUF is now 65536
01:44:09: RTMPPublisher::SocketLoop: Stalled for 4761 ms to write 420 bytes (buffer: 0 / 144384), unstable connection?
01:44:11: RTMPPublisher::SocketLoop: Stalled for 1761 ms to write 449 bytes (buffer: 0 / 144384), unstable connection?
01:44:14: RTMPPublisher::SocketLoop: Stalled for 2056 ms to write 392 bytes (buffer: 0 / 144384), unstable connection?
01:45:10: RTMPPublisher::SocketLoop: Stalled for 2970 ms to write 401 bytes (buffer: 0 / 144384), unstable connection?
01:46:09: RTMPPublisher::SocketLoop: Stalled for 1831 ms to write 337 bytes (buffer: 0 / 144384), unstable connection?
01:46:17: Total frames encoded: 14797, total frames duplicated: 14208 (96.02%)
01:46:17: Number of frames skipped due to encoder lag: 13832 (93.48%)
01:46:17: Total frames rendered: 768, number of late frames: 164 (21.35%) (it's okay for some frames to be late)
01:46:17: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
01:46:17: Average send payload: 3091 bytes, average send interval: 23 ms
01:46:17: Number of times waited to send: 0, Waited for a total of 0 bytes
01:46:17: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
01:46:17: Number of bytes sent: 46338776
01:46:17: 
01:46:17: Profiler time results:
01:46:17: 
01:46:17: ==============================================================
01:46:17: video thread frame - [100%] [avg time: 23.604 ms] [children: 95.2%] [unaccounted: 4.78%]
01:46:17: | scene->Preprocess - [84.3%] [avg time: 19.908 ms]
01:46:17: | GPU download and conversion - [10.9%] [avg time: 2.568 ms] [children: 9.21%] [unaccounted: 1.66%]
01:46:17: | | flush - [7.65%] [avg time: 1.805 ms]
01:46:17: | | CopyResource - [1.55%] [avg time: 0.365 ms]
01:46:17: | | conversion to 4:2:0 - [0.0212%] [avg time: 0.005 ms]
01:46:17: Convert444Thread - [100%] [avg time: 1.362 ms] [children: 99.2%] [unaccounted: 0.808%]
01:46:17: | Convert444toNV12 - [99.2%] [avg time: 1.351 ms]
01:46:17: encoder thread frame - [100%] [avg time: 23.552 ms]
01:46:17: ==============================================================
01:46:17: 
01:46:17: 
01:46:17: Profiler CPU results:
01:46:17: 
01:46:17: ==============================================================
01:46:17: video thread frame - [cpu time: avg 10.44 ms, total 8018.45 ms] [avg calls per frame: 1]
01:46:17: | scene->Preprocess - [cpu time: avg 9.079 ms, total 6973.24 ms] [avg calls per frame: 1]
01:46:17: | GPU download and conversion - [cpu time: avg 1.015 ms, total 780.008 ms] [avg calls per frame: 1]
01:46:17: | | flush - [cpu time: avg 1.015 ms, total 780.008 ms] [avg calls per frame: 1]
01:46:17: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:46:17: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:46:17: Convert444Thread - [cpu time: avg 1.275 ms, total 951.606 ms] [avg calls per frame: 1]
01:46:17: | Convert444toNV12 - [cpu time: avg 1.254 ms, total 936.006 ms] [avg calls per frame: 1]
01:46:17: encoder thread frame - [cpu time: avg 1.37 ms, total 20248.9 ms] [avg calls per frame: 1]
01:46:17: ==============================================================
01:46:17: 
01:46:17: =====Stream End: 2014-01-31, 01:46:17=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
01:39:27: [...], logical cores 2, total cores 2

Combined with

01:39:27: fps: 60
01:39:27: width: 1024, height: 818

..would be your problem. You only have two cores, and you're trying to encode HD video at 60fps. You need to use more downscale (probably 2.0 or more), and most likely also reduce FPS to 30 for that computer.

Also, your bitrate was too low for that resolution.

And one last thing, if you have two window captures active at once unintentionally, that might also cause some extra lag. If you only need one, then only use one.
 
Top