zeronhitaro
New Member
Two patches ago everything was fine with OBS.
Then in the patch before .571 it started giving me "Taking too long to encode, dropping frames" errors in the lower left corner of the program and bring my stream to a crawl. I hoped maybe .571 had fixed the problem but alas it's still there. No tweaking of the settings has corrected the problem at all.
What's funny is I dug through the internet and downloaded v .56.04 and it works just fine without this error.
However in all versions OBS has also been randomly disconnecting at random. Like every 30 minutes to an hour. It'll reconnect just fine but the interrupts are really bad for anyone trying to do event casting.
I'll be honest, I'm kinda three steps shy of just going back to Xsplit. :-\ But I first wanna see if there's any help for this problem and/or if it's a known issue since I really do love the simplicity of OBS' layout.
Below should be the log of the last test, which I ended shortly after getting the "Too long to encode error"
I'm including this one just in case.
Then in the patch before .571 it started giving me "Taking too long to encode, dropping frames" errors in the lower left corner of the program and bring my stream to a crawl. I hoped maybe .571 had fixed the problem but alas it's still there. No tweaking of the settings has corrected the problem at all.
What's funny is I dug through the internet and downloaded v .56.04 and it works just fine without this error.
However in all versions OBS has also been randomly disconnecting at random. Like every 30 minutes to an hour. It'll reconnect just fine but the interrupts are really bad for anyone trying to do event casting.
I'll be honest, I'm kinda three steps shy of just going back to Xsplit. :-\ But I first wanna see if there's any help for this problem and/or if it's a known issue since I really do love the simplicity of OBS' layout.
Below should be the log of the last test, which I ended shortly after getting the "Too long to encode error"
Code:
18:09:32: Open Broadcaster Software v0.571b - 32bit (´・ω・`)
18:09:32: -------------------------------
18:09:32: CPU Name: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
18:09:32: CPU Speed: 1696MHz
18:09:32: Physical Memory: 4095MB Total, 3507MB Free
18:09:32: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
18:09:32: monitor 1: pos={0, 0}, size={1366, 768}
18:09:32: Windows Version: 6.2 Build 9200
18:09:32: Aero is Enabled
18:09:32: -------------------------------
18:09:32: OBS Modules:
18:09:32: Base Address Module
18:09:32: 00F00000 OBS.exe
18:09:32: 67A10000 OBSApi.dll
18:09:32: 6E050000 DShowPlugin.dll
18:09:32: 6DA20000 GraphicsCapture.dll
18:09:32: 6DA00000 NoiseGate.dll
18:09:32: 6D9E0000 PSVPlugin.dll
18:09:32: ------------------------------------------
18:09:32: Adapter 1
18:09:32: Video Adapter: Intel(R) HD Graphics 4000
18:09:32: Video Adapter Dedicated Video Memory: 33554432
18:09:32: Video Adapter Shared System Memory: 1845493760
18:09:32: =====Stream Start: 2013-10-01, 18:09:32===============================================
18:09:32: Multithreaded optimizations: On
18:09:32: Base resolution: 1366x768
18:09:32: Output resolution: 1364x768
18:09:32: ------------------------------------------
18:09:32: Loading up D3D10 on Intel(R) HD Graphics 4000...
18:09:32: ------------------------------------------
18:09:32: Audio Format: 44100hz
18:09:32: Playback device Default
18:09:32: ------------------------------------------
18:09:32: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:09:32: ------------------------------------------
18:09:32: Using auxilary audio input: Microphone (Realtek High Definition Audio)
18:09:32: ------------------------------------------
18:09:32: Audio Encoding: MP3
18:09:32: bitrate: 128
18:09:32: Using Monitor Capture
18:09:32: ------------------------------------------
18:09:32: Video Encoding: x264
18:09:32: fps: 30
18:09:32: width: 1364, height: 768
18:09:32: preset: veryfast
18:09:32: profile: high
18:09:32: keyint: 60
18:09:32: CBR: yes
18:09:32: CFR: no
18:09:32: max bitrate: 1750
18:09:32: buffer size: 1750
18:09:32: ------------------------------------------
18:09:32: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
18:09:32: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
18:09:34: Using RTMP service: Twitch / Justin.tv
18:09:34: Server selection: rtmp://live-dfw.justin.tv/app
18:09:34: Interface: Qualcomm Atheros AR8162/8166/8168 PCI-E Fast Ethernet Controller (NDIS 6.30) (ethernet, 100 mbps)
18:09:34: Completed handshake with rtmp://live-dfw.justin.tv/app in 125 ms.
18:09:35: SO_SNDBUF was at 65536
18:09:35: SO_SNDBUF is now 65536
18:09:36: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 0 / 239616)
18:09:38: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 239616)
18:09:44: RTMPPublisher::Socketloop: Increasing send buffer to ISB 524288 (buffer: 0 / 239616)
18:13:06: Total frames encoded: 6404, total frames duplicated: 600 (9.37%)
18:13:06: Number of frames skipped due to encoder lag: 456 (7.12%)
18:13:06: Total frames rendered: 5948, number of late frames: 29 (0.49%) (it's okay for some frames to be late)
18:13:06: RTMPPublisher::SocketLoop: Graceful loop exit
18:13:06: Average send payload: 6003 bytes, average send interval: 25 ms
18:13:06: Number of times waited to send: 0, Waited for a total of 0 bytes
18:13:06: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:13:06: Number of bytes sent: 49584822
18:13:06:
18:13:06: Profiler time results:
18:13:06:
18:13:06: ==============================================================
18:13:06: video thread frame - [100%] [avg time: 1.059 ms] [children: 31.5%] [unaccounted: 68.5%]
18:13:06: | scene->Preprocess - [31.5%] [avg time: 0.334 ms]
18:13:06: GPU download and conversion - [100%] [avg time: 0.445 ms] [children: 76.2%] [unaccounted: 23.8%]
18:13:06: | flush - [36.9%] [avg time: 0.164 ms]
18:13:06: | CopyResource - [37.5%] [avg time: 0.167 ms]
18:13:06: | conversion to 4:2:0 - [1.8%] [avg time: 0.008 ms]
18:13:06: Convert444Thread - [100%] [avg time: 2.345 ms] [children: 99.1%] [unaccounted: 0.938%]
18:13:06: | Convert444toNV12 - [99.1%] [avg time: 2.323 ms]
18:13:06: encoder thread frame - [100%] [avg time: 6.49 ms]
18:13:06: ==============================================================
18:13:06:
18:13:06:
18:13:06: Profiler CPU results:
18:13:06:
18:13:06: ==============================================================
18:13:06: video thread frame - [cpu time: avg 0.517 ms, total 3078.13 ms] [avg calls per frame: 1]
18:13:06: | scene->Preprocess - [cpu time: avg 0.107 ms, total 640.625 ms] [avg calls per frame: 1]
18:13:06: GPU download and conversion - [cpu time: avg 0.341 ms, total 2031.25 ms] [avg calls per frame: 1]
18:13:06: | flush - [cpu time: avg 0.152 ms, total 906.25 ms] [avg calls per frame: 1]
18:13:06: | CopyResource - [cpu time: avg 0.155 ms, total 921.875 ms] [avg calls per frame: 1]
18:13:06: | conversion to 4:2:0 - [cpu time: avg 0.007 ms, total 46.875 ms] [avg calls per frame: 1]
18:13:06: Convert444Thread - [cpu time: avg 2.074 ms, total 12312.5 ms] [avg calls per frame: 1]
18:13:06: | Convert444toNV12 - [cpu time: avg 2.058 ms, total 12218.8 ms] [avg calls per frame: 1]
18:13:06: encoder thread frame - [cpu time: avg 1.689 ms, total 10796.9 ms] [avg calls per frame: 1]
18:13:06: ==============================================================
18:13:06:
18:13:06: =====Stream End: 2013-10-01, 18:13:06=================================================
I'm including this one just in case.
Code:
18:13:19: Open Broadcaster Software v0.56.04 madness - 64bit ( ^ω^)
18:13:19: -------------------------------
18:13:19: CPU Name: Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
18:13:19: CPU Speed: 1696MHz
18:13:19: Physical Memory: 6028MB Total, 2634MB Free
18:13:19: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
18:13:19: monitor 1: pos={0, 0}, size={1366, 768}
18:13:19: Windows Version: 6.2 Build 9200
18:13:19: Aero is Enabled
18:13:19: -------------------------------
18:13:19: OBS Modules:
18:13:19: Base Address Module
18:13:19: 00000000B9C20000 OBS.exe
18:13:19: 00000000A8D50000 OBSApi.dll
18:13:19: 00000000AA770000 DShowPlugin.dll
18:13:19: 00000000AA8E0000 GraphicsCapture.dll
18:13:19: 00000000AA6F0000 NoiseGate.dll
18:13:19: 00000000AA330000 PSVPlugin.dll
18:13:19: ------------------------------------------
18:13:19: Adapter 1
18:13:19: Video Adapter: Intel(R) HD Graphics 4000
18:13:19: Video Adapter Dedicated Video Memory: 33554432
18:13:19: Video Adapter Shared System Memory: 1845493760
18:13:19: =====Stream Start: 2013-10-01, 18:13:19===============================================
18:13:19: Multithreaded optimizations: On
18:13:19: Base resolution: 1366x768
18:13:19: Output resolution: 1364x768
18:13:19: ------------------------------------------
18:13:19: Loading up D3D10 on Intel(R) HD Graphics 4000...
18:13:19: ------------------------------------------
18:13:19: Audio Format: 44100hz
18:13:19: Playback device Default
18:13:19: ------------------------------------------
18:13:19: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:13:19: ------------------------------------------
18:13:19: Using auxilary audio input: Microphone (Realtek High Definition Audio)
18:13:19: ------------------------------------------
18:13:19: Audio Encoding: MP3
18:13:19: bitrate: 128
18:13:19: Using Monitor Capture
18:13:19: ------------------------------------------
18:13:19: Video Encoding: x264
18:13:19: fps: 30
18:13:19: width: 1364, height: 768
18:13:19: preset: veryfast
18:13:19: CBR: yes
18:13:19: CFR: no
18:13:19: max bitrate: 1750
18:13:19: buffer size: 1750
18:13:19: ------------------------------------------
18:13:19: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
18:13:19: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
18:13:21: Using RTMP service: Twitch / Justin.tv
18:13:21: Server selection: rtmp://live-dfw.justin.tv/app
18:13:21: Interface: Qualcomm Atheros AR8162/8166/8168 PCI-E Fast Ethernet Controller (NDIS 6.30) (ethernet, 100 mbps)
18:13:23: SO_SNDBUF was at 65536
18:13:23: SO_SNDBUF is now 65536
18:13:34: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 0
18:13:35: Total frames encoded: 475, total frames duplicated: 5 (1.05%)
18:13:35: Number of frames skipped due to encoder lag: 1 (0.21%)
18:13:35: Total frames rendered: 476, number of late frames: 1 (0.21%) (it's okay for some frames to be late)
18:13:35: Number of times waited to send: 2, Waited for a total of 8208 bytes
18:13:35: Number of b-frames dropped: 11 (3.3%), Number of p-frames dropped: 11 (3.3%), Total 22 (6.6%)
18:13:36:
18:13:36: Profiler results:
18:13:36:
18:13:36: ==============================================================
18:13:36: video thread frame - [100%] [avg time: 1.543 ms (cpu time: avg 0.656 ms, total 312.5 ms)] [avg calls per frame: 1] [children: 99.4%] [unaccounted: 0.648%]
18:13:36: | frame preprocessing and rendering - [67.7%] [avg time: 1.044 ms (cpu time: avg 0.295 ms, total 140.625 ms)] [avg calls per frame: 1] [children: 36.2%] [unaccounted: 31.5%]
18:13:36: | | scene->Preprocess - [36.2%] [avg time: 0.558 ms (cpu time: avg 0.196 ms, total 93.75 ms)] [avg calls per frame: 1]
18:13:36: | GPU download and color conversion - [31.7%] [avg time: 0.489 ms (cpu time: avg 0.361 ms, total 171.875 ms)] [avg calls per frame: 1] [children: 27%] [unaccounted: 4.73%]
18:13:36: | | flush - [17%] [avg time: 0.262 ms (cpu time: avg 0.262 ms, total 125 ms)] [avg calls per frame: 1]
18:13:36: | | CopyResource - [8.68%] [avg time: 0.134 ms (cpu time: avg 0.101 ms, total 46.875 ms)] [avg calls per frame: 1]
18:13:36: | | conversion to 4:2:0 - [1.3%] [avg time: 0.02 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
18:13:36: Convert444Thread - [100%] [avg time: 2.242 ms (cpu time: avg 1.653 ms, total 765.625 ms)] [avg calls per frame: 1] [children: 99.1%] [unaccounted: 0.937%]
18:13:36: | Convert444toNV12 - [99.1%] [avg time: 2.221 ms (cpu time: avg 1.653 ms, total 765.625 ms)] [avg calls per frame: 1]
18:13:36: encoder thread frame - [100%] [avg time: 3.153 ms (cpu time: avg 1.484 ms, total 687.5 ms)] [avg calls per frame: 1]
18:13:36: ==============================================================
18:13:36:
18:13:36: =====Stream End: 2013-10-01, 18:13:36=================================================
18:13:41: =====Stream Start: 2013-10-01, 18:13:41===============================================
18:13:41: Multithreaded optimizations: On
18:13:41: Base resolution: 1366x768
18:13:41: Output resolution: 1364x768
18:13:41: ------------------------------------------
18:13:41: Loading up D3D10 on Intel(R) HD Graphics 4000...
18:13:41: ------------------------------------------
18:13:41: Audio Format: 44100hz
18:13:41: Playback device Default
18:13:41: ------------------------------------------
18:13:41: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:13:41: ------------------------------------------
18:13:41: Using auxilary audio input: Microphone (Realtek High Definition Audio)
18:13:41: ------------------------------------------
18:13:41: Audio Encoding: MP3
18:13:41: bitrate: 128
18:13:41: Using Monitor Capture
18:13:41: ------------------------------------------
18:13:41: Video Encoding: x264
18:13:41: fps: 30
18:13:41: width: 1364, height: 768
18:13:41: preset: veryfast
18:13:41: CBR: yes
18:13:41: CFR: no
18:13:41: max bitrate: 1750
18:13:41: buffer size: 1750
18:13:41: ------------------------------------------
18:13:41: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
18:13:41: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
18:13:41:
18:13:41: Profiler result for the last frame:
18:13:41: ==============================================================
18:13:41: video thread frame - [time: 9.184 ms (cpu time: 15.625 ms)]
18:13:41: | frame preprocessing and rendering - [time: 0.642 ms (cpu time: 0 ms)]
18:13:41: | | scene->Preprocess - [time: 0.37 ms (cpu time: 0 ms)]
18:13:41: | GPU download and color conversion - [time: 8.534 ms (cpu time: 15.625 ms)]
18:13:41: | | flush - [time: 8.522 ms (cpu time: 15.625 ms)]
18:13:41: ==============================================================
18:13:41:
18:13:43: Using RTMP service: Twitch / Justin.tv
18:13:43: Server selection: rtmp://live-dfw.justin.tv/app
18:13:43: Interface: Qualcomm Atheros AR8162/8166/8168 PCI-E Fast Ethernet Controller (NDIS 6.30) (ethernet, 100 mbps)
18:13:43: SO_SNDBUF was at 65536
18:13:43: SO_SNDBUF is now 65536
18:13:47: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 53956 / 239616)
18:13:47: RTMPPublisher::Socketloop: Increasing send buffer to ISB 262144 (buffer: 0 / 239616)
18:13:59: RTMPPublisher::Socketloop: Increasing send buffer to ISB 524288 (buffer: 0 / 239616)
18:14:48: Total frames encoded: 2006, total frames duplicated: 16 (0.80%)
18:14:48: Number of frames skipped due to encoder lag: 8 (0.40%)
18:14:48: Total frames rendered: 2001, number of late frames: 4 (0.20%) (it's okay for some frames to be late)
18:14:48: RTMPPublisher::SocketLoop: Graceful loop exit
18:14:48: Number of times waited to send: 0, Waited for a total of 0 bytes
18:14:48: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:14:49:
18:14:49: Profiler results:
18:14:49:
18:14:49: ==============================================================
18:14:49: video thread frame - [100%] [avg time: 1.426 ms (cpu time: avg 0.843 ms, total 1687.5 ms)] [avg calls per frame: 1] [children: 99.4%] [unaccounted: 0.631%]
18:14:49: | frame preprocessing and rendering - [70.7%] [avg time: 1.008 ms (cpu time: avg 0.523 ms, total 1046.88 ms)] [avg calls per frame: 1] [children: 37.7%] [unaccounted: 33%]
18:14:49: | | scene->Preprocess - [37.7%] [avg time: 0.538 ms (cpu time: avg 0.226 ms, total 453.125 ms)] [avg calls per frame: 1]
18:14:49: | GPU download and color conversion - [28.7%] [avg time: 0.409 ms (cpu time: avg 0.32 ms, total 640.625 ms)] [avg calls per frame: 1] [children: 25.6%] [unaccounted: 3.09%]
18:14:49: | | flush - [16.5%] [avg time: 0.235 ms (cpu time: avg 0.132 ms, total 265.625 ms)] [avg calls per frame: 1]
18:14:49: | | CopyResource - [8.77%] [avg time: 0.125 ms (cpu time: avg 0.133 ms, total 265.625 ms)] [avg calls per frame: 1]
18:14:49: | | conversion to 4:2:0 - [0.351%] [avg time: 0.005 ms (cpu time: avg 0.015 ms, total 31.25 ms)] [avg calls per frame: 1]
18:14:49: Convert444Thread - [100%] [avg time: 2.018 ms (cpu time: avg 1.517 ms, total 3015.63 ms)] [avg calls per frame: 1] [children: 99.3%] [unaccounted: 0.743%]
18:14:49: | Convert444toNV12 - [99.3%] [avg time: 2.003 ms (cpu time: avg 1.517 ms, total 3015.63 ms)] [avg calls per frame: 1]
18:14:49: encoder thread frame - [100%] [avg time: 3.246 ms (cpu time: avg 1.817 ms, total 3625 ms)] [avg calls per frame: 1]
18:14:49: ==============================================================
18:14:49:
18:14:49: =====Stream End: 2013-10-01, 18:14:49=================================================
18:15:05: =====Stream Start: 2013-10-01, 18:15:05===============================================
18:15:05: Multithreaded optimizations: On
18:15:05: Base resolution: 1366x768
18:15:05: Output resolution: 1364x768
18:15:05: ------------------------------------------
18:15:05: Loading up D3D10 on Intel(R) HD Graphics 4000...
18:15:05: ------------------------------------------
18:15:05: Audio Format: 44100hz
18:15:05: Playback device Default
18:15:05: ------------------------------------------
18:15:05: Using desktop audio input: Speakers (Realtek High Definition Audio)
18:15:05: ------------------------------------------
18:15:05: Using auxilary audio input: Microphone (Realtek High Definition Audio)
18:15:05: ------------------------------------------
18:15:05: Audio Encoding: MP3
18:15:05: bitrate: 128
18:15:05: Using bitmap image
18:15:05: Using Monitor Capture
18:15:05: ------------------------------------------
18:15:05: Video Encoding: x264
18:15:05: fps: 30
18:15:05: width: 1364, height: 768
18:15:05: preset: veryfast
18:15:05: CBR: yes
18:15:05: CFR: no
18:15:05: max bitrate: 1750
18:15:05: buffer size: 1750
18:15:05: ------------------------------------------
18:15:05: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
18:15:05: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
18:15:05:
18:15:05: Profiler result for the last frame:
18:15:05: ==============================================================
18:15:05: video thread frame - [time: 6.239 ms (cpu time: 0 ms)]
18:15:05: | frame preprocessing and rendering - [time: 6.227 ms (cpu time: 0 ms)]
18:15:05: | | scene->Preprocess - [time: 0.347 ms (cpu time: 0 ms)]
18:15:05: | GPU download and color conversion - [time: 0.005 ms (cpu time: 0 ms)]
18:15:05: | | flush - [time: 0.003 ms (cpu time: 0 ms)]
18:15:05: ==============================================================
18:15:05:
18:15:07: Using bitmap image
18:15:09: Using bitmap image
18:15:11: Total frames encoded: 172, total frames duplicated: 0 (0.00%)
18:15:11: Total frames rendered: 175, number of late frames: 1 (0.57%) (it's okay for some frames to be late)
18:15:11:
18:15:11: Profiler results:
18:15:11:
18:15:11: ==============================================================
18:15:11: video thread frame - [100%] [avg time: 1.518 ms (cpu time: avg 1.071 ms, total 187.5 ms)] [avg calls per frame: 1] [children: 99.4%] [unaccounted: 0.593%]
18:15:11: | frame preprocessing and rendering - [82.1%] [avg time: 1.247 ms (cpu time: avg 0.535 ms, total 93.75 ms)] [avg calls per frame: 1] [children: 20%] [unaccounted: 62.1%]
18:15:11: | | scene->Preprocess - [20%] [avg time: 0.304 ms (cpu time: avg 0.089 ms, total 15.625 ms)] [avg calls per frame: 1]
18:15:11: | GPU download and color conversion - [17.3%] [avg time: 0.262 ms (cpu time: avg 0.535 ms, total 93.75 ms)] [avg calls per frame: 1] [children: 16.5%] [unaccounted: 0.791%]
18:15:11: | | flush - [8.43%] [avg time: 0.128 ms (cpu time: avg 0.178 ms, total 31.25 ms)] [avg calls per frame: 1]
18:15:11: | | CopyResource - [7.84%] [avg time: 0.119 ms (cpu time: avg 0.385 ms, total 62.5 ms)] [avg calls per frame: 1]
18:15:11: | | conversion to 4:2:0 - [0.198%] [avg time: 0.003 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
18:15:11: Convert444Thread - [100%] [avg time: 1.567 ms (cpu time: avg 0.873 ms, total 140.625 ms)] [avg calls per frame: 1] [children: 99.4%] [unaccounted: 0.638%]
18:15:11: | Convert444toNV12 - [99.4%] [avg time: 1.557 ms (cpu time: avg 0.776 ms, total 125 ms)] [avg calls per frame: 1]
18:15:11: encoder thread frame - [100%] [avg time: 1.703 ms (cpu time: avg 1.074 ms, total 171.875 ms)] [avg calls per frame: 1]
18:15:11: ==============================================================
18:15:11:
18:15:11: =====Stream End: 2013-10-01, 18:15:11=================================================
18:15:19: Memory Leaks Were Detected.
18:15:19: