caseynelson
New Member
Hey guys,
I have streamed for quite a while and only recently have I noticed that the camera and audio do not sync up and it is a little delayed from the gameplay.
Any ideas on how to fix this?
Example stream where this occurs:
http://www.twitch.tv/risencaseynelson/b/445157171
Logs:
23:33:35: Open Broadcaster Software v0.542b - 32bit (´・ω・`)
23:33:35: -------------------------------
23:33:35: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
23:33:35: CPU Speed: 3292MHz
23:33:35: Physical Memory: 4095MB Total, 1386MB Free
23:33:35: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
23:33:35: monitor 1: pos={0, 0}, size={1920, 1080}
23:33:35: Windows Version: 6.1 Build 7601 S
23:33:35: Aero is Disabled
23:33:35: -------------------------------
23:33:35: OBS Modules:
23:33:35: Base Address Module
23:33:35: 00A50000 OBS.exe
23:33:35: 63B60000 OBSApi.dll
23:33:35: 6C600000 DShowPlugin.dll
23:33:35: 6B850000 GraphicsCapture.dll
23:33:35: 64F70000 NoiseGate.dll
23:33:35: 64F50000 PSVPlugin.dll
23:33:35: ------------------------------------------
23:33:35: Adapter 1
23:33:35: Video Adapter: NVIDIA GeForce GTX 680
23:33:35: Video Adapter Dedicated Video Memory: 2091581440
23:33:35: Video Adapter Shared System Memory: 2147479552
23:33:35: ------------------------------------------
23:33:35: Adapter 2
23:33:35: Video Adapter: Intel(R) HD Graphics Family
23:33:35: Video Adapter Dedicated Video Memory: 67108864
23:33:35: Video Adapter Shared System Memory: 1711276032
23:33:35: =====Stream Start: 2013-08-12, 23:33:35===============================================
23:33:35: Multithreaded optimizations: On
23:33:35: Base resolution: 1920x1080
23:33:35: Output resolution: 1280x720
23:33:35: ------------------------------------------
23:33:35: Loading up D3D10...
23:33:35: Playback device Default
23:33:35: ------------------------------------------
23:33:35: Using desktop audio input: Speakers (Realtek High Definition Audio)
23:33:35: ------------------------------------------
23:33:35: Using auxilary audio input: Microphone (Realtek High Definition Audio)
23:33:35: ------------------------------------------
23:33:35: Audio Encoding: AAC
23:33:35: bitrate: 128
23:33:36: Using bitmap image
23:33:36: ------------------------------------------
23:33:36: device: Logitech HD Pro Webcam C920,
23:33:36: device id \\?\usb#vid_046d&pid_082d&mi_00#7&2d233859&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
23:33:36: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
23:33:36: audio device: (null),
23:33:36: audio device id (null),
23:33:36:
23:33:36: Using directshow input
23:33:36: Using graphics capture
23:33:36: Using Window Capture
23:33:36: ------------------------------------------
23:33:36: Video Encoding: x264
23:33:36: fps: 60
23:33:36: width: 1280, height: 720
23:33:36: preset: veryfast
23:33:36: CBR: no
23:33:36: CFR: no
23:33:36: max bitrate: 2350
23:33:36: buffer size: 2350
23:33:36: quality: 7
23:33:36: ------------------------------------------
23:33:37: Using RTMP service: Twitch / Justin.tv
23:33:37: Server selection: rtmp://live-lax.justin.tv/app
23:33:38: SO_SNDBUF was at 8192
23:33:38: SO_SNDBUF is now 65536
23:40:20: SharedTexCapture hooked
00:11:33: Exit signal received, terminating capture
00:11:41: Total frames rendered: 136688, number of frames that lagged: 299 (0.22%) (it's okay for some frames to lag)
00:11:41: RTMPPublisher::SocketLoop: Aborting due to bStopping
00:11:41: Number of times waited to send: 0, Waited for a total of 0 bytes
00:11:41: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
00:11:41: =====Stream End: 2013-08-13, 00:11:41=================================================
01:42:13: =====Stream Start: 2013-08-13, 01:42:13===============================================
01:42:13: Multithreaded optimizations: On
01:42:13: Base resolution: 1920x1080
01:42:13: Output resolution: 1280x720
01:42:13: ------------------------------------------
01:42:13: Loading up D3D10...
01:42:13: Playback device Default
01:42:13: ------------------------------------------
01:42:13: Using desktop audio input: Speakers (Realtek High Definition Audio)
01:42:13: ------------------------------------------
01:42:13: Using auxilary audio input: Microphone (Realtek High Definition Audio)
01:42:13: ------------------------------------------
01:42:13: Audio Encoding: AAC
01:42:13: bitrate: 128
01:42:13: ------------------------------------------
01:42:13: Video Encoding: x264
01:42:13: fps: 60
01:42:13: width: 1280, height: 720
01:42:13: preset: veryfast
01:42:13: CBR: no
01:42:13: CFR: no
01:42:13: max bitrate: 2350
01:42:13: buffer size: 2350
01:42:13: quality: 7
01:42:13: ------------------------------------------
01:42:14: Using RTMP service: Twitch / Justin.tv
01:42:14: Server selection: rtmp://live-lax.justin.tv/app
01:42:15: SO_SNDBUF was at 8192
01:42:15: SO_SNDBUF is now 65536
01:42:17: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
01:42:17: New Scene
01:42:17: Using bitmap image
01:42:17: ------------------------------------------
01:42:17: device: Logitech HD Pro Webcam C920,
01:42:17: device id \\?\usb#vid_046d&pid_082d&mi_00#7&2d233859&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
01:42:17: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
01:42:17: audio device: (null),
01:42:17: audio device id (null),
01:42:17:
01:42:17: Using directshow input
01:42:17: Using graphics capture
01:42:17: Using Window Capture
01:43:35: SharedTexCapture hooked
02:23:10: Exit signal received, terminating capture
02:23:57: Total frames rendered: 150040, number of frames that lagged: 728 (0.49%) (it's okay for some frames to lag)
02:23:57: RTMPPublisher::SocketLoop: Aborting due to bStopping
02:23:57: Number of times waited to send: 0, Waited for a total of 0 bytes
02:23:57: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
02:23:57: =====Stream End: 2013-08-13, 02:23:57=================================================
11:00:48: =====Stream Start: 2013-08-13, 11:00:48===============================================
11:00:48: Multithreaded optimizations: On
11:00:48: Base resolution: 1920x1080
11:00:48: Output resolution: 1280x720
11:00:48: ------------------------------------------
11:00:48: Loading up D3D10...
11:00:48: Playback device Default
11:00:48: ------------------------------------------
11:00:48: Using desktop audio input: Speakers (Realtek High Definition Audio)
11:00:48: ------------------------------------------
11:00:48: Using auxilary audio input: Microphone (Realtek High Definition Audio)
11:00:48: ------------------------------------------
11:00:48: Audio Encoding: AAC
11:00:48: bitrate: 128
11:00:48: ------------------------------------------
11:00:48: Video Encoding: x264
11:00:48: fps: 60
11:00:48: width: 1280, height: 720
11:00:48: preset: veryfast
11:00:48: CBR: no
11:00:48: CFR: no
11:00:48: max bitrate: 2350
11:00:48: buffer size: 2350
11:00:48: quality: 7
11:00:48: ------------------------------------------
11:00:49: Using RTMP service: Twitch / Justin.tv
11:00:49: Server selection: rtmp://live-lax.justin.tv/app
11:00:51: SO_SNDBUF was at 8192
11:00:51: SO_SNDBUF is now 65536
11:00:52: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
11:00:52: New Scene
11:00:52: Using bitmap image
11:00:52: ------------------------------------------
11:00:52: device: Logitech HD Pro Webcam C920,
11:00:52: device id \\?\usb#vid_046d&pid_082d&mi_00#7&2d233859&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
11:00:52: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
11:00:52: audio device: (null),
11:00:52: audio device id (null),
11:00:52:
11:00:52: Using directshow input
11:00:52: Using graphics capture
11:00:52: Using Window Capture
11:04:40: SharedTexCapture hooked
11:27:23: Exit signal received, terminating capture
11:28:04: Total frames rendered: 97855, number of frames that lagged: 493 (0.50%) (it's okay for some frames to lag)
11:28:04: RTMPPublisher::SocketLoop: Aborting due to bStopping
11:28:04: Number of times waited to send: 0, Waited for a total of 0 bytes
11:28:04: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
11:28:04: =====Stream End: 2013-08-13, 11:28:04=================================================
11:36:04:
11:36:04: Profiler results:
11:36:04:
11:36:04: ==============================================================
11:36:04: frame - [100%] [avg time: 3.258 ms (cpu time: avg 2.376 ms, total 913932 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.215%]
11:36:04: | frame preprocessing and rendering - [54.1%] [avg time: 1.762 ms (cpu time: avg 1.226 ms, total 471763 ms)] [avg calls per frame: 1] [children: 38.5%] [unaccounted: 15.6%]
11:36:04: | | scene->Preprocess - [38.5%] [avg time: 1.255 ms (cpu time: avg 0.858 ms, total 330254 ms)] [avg calls per frame: 1]
11:36:04: | video encoding and uploading - [45.7%] [avg time: 1.489 ms (cpu time: avg 1.147 ms, total 441389 ms)] [avg calls per frame: 1] [children: 44.4%] [unaccounted: 1.32%]
11:36:04: | | flush - [5.99%] [avg time: 0.195 ms (cpu time: avg 0.062 ms, total 24008.6 ms)] [avg calls per frame: 1]
11:36:04: | | CopyResource - [0.859%] [avg time: 0.028 ms (cpu time: avg 0.014 ms, total 5740.83 ms)] [avg calls per frame: 0]
11:36:04: | | conversion to 4:2:0 - [1.2%] [avg time: 0.039 ms (cpu time: avg 0.004 ms, total 1918.81 ms)] [avg calls per frame: 0]
11:36:04: | | call to encoder - [35.7%] [avg time: 1.164 ms (cpu time: avg 1.045 ms, total 401999 ms)] [avg calls per frame: 0]
11:36:04: | | sending stuff out - [0.614%] [avg time: 0.02 ms (cpu time: avg 0.008 ms, total 3291.61 ms)] [avg calls per frame: 0]
11:36:04: | Convert444Threads - [1.03e+003%] [avg time: 33.402 ms (cpu time: avg 1.127 ms, total 433605 ms)] [avg calls per frame: 1]
11:36:04: ==============================================================
11:36:04:
I have streamed for quite a while and only recently have I noticed that the camera and audio do not sync up and it is a little delayed from the gameplay.
Any ideas on how to fix this?
Example stream where this occurs:
http://www.twitch.tv/risencaseynelson/b/445157171
Logs:
23:33:35: Open Broadcaster Software v0.542b - 32bit (´・ω・`)
23:33:35: -------------------------------
23:33:35: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
23:33:35: CPU Speed: 3292MHz
23:33:35: Physical Memory: 4095MB Total, 1386MB Free
23:33:35: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
23:33:35: monitor 1: pos={0, 0}, size={1920, 1080}
23:33:35: Windows Version: 6.1 Build 7601 S
23:33:35: Aero is Disabled
23:33:35: -------------------------------
23:33:35: OBS Modules:
23:33:35: Base Address Module
23:33:35: 00A50000 OBS.exe
23:33:35: 63B60000 OBSApi.dll
23:33:35: 6C600000 DShowPlugin.dll
23:33:35: 6B850000 GraphicsCapture.dll
23:33:35: 64F70000 NoiseGate.dll
23:33:35: 64F50000 PSVPlugin.dll
23:33:35: ------------------------------------------
23:33:35: Adapter 1
23:33:35: Video Adapter: NVIDIA GeForce GTX 680
23:33:35: Video Adapter Dedicated Video Memory: 2091581440
23:33:35: Video Adapter Shared System Memory: 2147479552
23:33:35: ------------------------------------------
23:33:35: Adapter 2
23:33:35: Video Adapter: Intel(R) HD Graphics Family
23:33:35: Video Adapter Dedicated Video Memory: 67108864
23:33:35: Video Adapter Shared System Memory: 1711276032
23:33:35: =====Stream Start: 2013-08-12, 23:33:35===============================================
23:33:35: Multithreaded optimizations: On
23:33:35: Base resolution: 1920x1080
23:33:35: Output resolution: 1280x720
23:33:35: ------------------------------------------
23:33:35: Loading up D3D10...
23:33:35: Playback device Default
23:33:35: ------------------------------------------
23:33:35: Using desktop audio input: Speakers (Realtek High Definition Audio)
23:33:35: ------------------------------------------
23:33:35: Using auxilary audio input: Microphone (Realtek High Definition Audio)
23:33:35: ------------------------------------------
23:33:35: Audio Encoding: AAC
23:33:35: bitrate: 128
23:33:36: Using bitmap image
23:33:36: ------------------------------------------
23:33:36: device: Logitech HD Pro Webcam C920,
23:33:36: device id \\?\usb#vid_046d&pid_082d&mi_00#7&2d233859&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
23:33:36: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
23:33:36: audio device: (null),
23:33:36: audio device id (null),
23:33:36:
23:33:36: Using directshow input
23:33:36: Using graphics capture
23:33:36: Using Window Capture
23:33:36: ------------------------------------------
23:33:36: Video Encoding: x264
23:33:36: fps: 60
23:33:36: width: 1280, height: 720
23:33:36: preset: veryfast
23:33:36: CBR: no
23:33:36: CFR: no
23:33:36: max bitrate: 2350
23:33:36: buffer size: 2350
23:33:36: quality: 7
23:33:36: ------------------------------------------
23:33:37: Using RTMP service: Twitch / Justin.tv
23:33:37: Server selection: rtmp://live-lax.justin.tv/app
23:33:38: SO_SNDBUF was at 8192
23:33:38: SO_SNDBUF is now 65536
23:40:20: SharedTexCapture hooked
00:11:33: Exit signal received, terminating capture
00:11:41: Total frames rendered: 136688, number of frames that lagged: 299 (0.22%) (it's okay for some frames to lag)
00:11:41: RTMPPublisher::SocketLoop: Aborting due to bStopping
00:11:41: Number of times waited to send: 0, Waited for a total of 0 bytes
00:11:41: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
00:11:41: =====Stream End: 2013-08-13, 00:11:41=================================================
01:42:13: =====Stream Start: 2013-08-13, 01:42:13===============================================
01:42:13: Multithreaded optimizations: On
01:42:13: Base resolution: 1920x1080
01:42:13: Output resolution: 1280x720
01:42:13: ------------------------------------------
01:42:13: Loading up D3D10...
01:42:13: Playback device Default
01:42:13: ------------------------------------------
01:42:13: Using desktop audio input: Speakers (Realtek High Definition Audio)
01:42:13: ------------------------------------------
01:42:13: Using auxilary audio input: Microphone (Realtek High Definition Audio)
01:42:13: ------------------------------------------
01:42:13: Audio Encoding: AAC
01:42:13: bitrate: 128
01:42:13: ------------------------------------------
01:42:13: Video Encoding: x264
01:42:13: fps: 60
01:42:13: width: 1280, height: 720
01:42:13: preset: veryfast
01:42:13: CBR: no
01:42:13: CFR: no
01:42:13: max bitrate: 2350
01:42:13: buffer size: 2350
01:42:13: quality: 7
01:42:13: ------------------------------------------
01:42:14: Using RTMP service: Twitch / Justin.tv
01:42:14: Server selection: rtmp://live-lax.justin.tv/app
01:42:15: SO_SNDBUF was at 8192
01:42:15: SO_SNDBUF is now 65536
01:42:17: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
01:42:17: New Scene
01:42:17: Using bitmap image
01:42:17: ------------------------------------------
01:42:17: device: Logitech HD Pro Webcam C920,
01:42:17: device id \\?\usb#vid_046d&pid_082d&mi_00#7&2d233859&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
01:42:17: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
01:42:17: audio device: (null),
01:42:17: audio device id (null),
01:42:17:
01:42:17: Using directshow input
01:42:17: Using graphics capture
01:42:17: Using Window Capture
01:43:35: SharedTexCapture hooked
02:23:10: Exit signal received, terminating capture
02:23:57: Total frames rendered: 150040, number of frames that lagged: 728 (0.49%) (it's okay for some frames to lag)
02:23:57: RTMPPublisher::SocketLoop: Aborting due to bStopping
02:23:57: Number of times waited to send: 0, Waited for a total of 0 bytes
02:23:57: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
02:23:57: =====Stream End: 2013-08-13, 02:23:57=================================================
11:00:48: =====Stream Start: 2013-08-13, 11:00:48===============================================
11:00:48: Multithreaded optimizations: On
11:00:48: Base resolution: 1920x1080
11:00:48: Output resolution: 1280x720
11:00:48: ------------------------------------------
11:00:48: Loading up D3D10...
11:00:48: Playback device Default
11:00:48: ------------------------------------------
11:00:48: Using desktop audio input: Speakers (Realtek High Definition Audio)
11:00:48: ------------------------------------------
11:00:48: Using auxilary audio input: Microphone (Realtek High Definition Audio)
11:00:48: ------------------------------------------
11:00:48: Audio Encoding: AAC
11:00:48: bitrate: 128
11:00:48: ------------------------------------------
11:00:48: Video Encoding: x264
11:00:48: fps: 60
11:00:48: width: 1280, height: 720
11:00:48: preset: veryfast
11:00:48: CBR: no
11:00:48: CFR: no
11:00:48: max bitrate: 2350
11:00:48: buffer size: 2350
11:00:48: quality: 7
11:00:48: ------------------------------------------
11:00:49: Using RTMP service: Twitch / Justin.tv
11:00:49: Server selection: rtmp://live-lax.justin.tv/app
11:00:51: SO_SNDBUF was at 8192
11:00:51: SO_SNDBUF is now 65536
11:00:52: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
11:00:52: New Scene
11:00:52: Using bitmap image
11:00:52: ------------------------------------------
11:00:52: device: Logitech HD Pro Webcam C920,
11:00:52: device id \\?\usb#vid_046d&pid_082d&mi_00#7&2d233859&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
11:00:52: chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000, fourCC: 'I420'
11:00:52: audio device: (null),
11:00:52: audio device id (null),
11:00:52:
11:00:52: Using directshow input
11:00:52: Using graphics capture
11:00:52: Using Window Capture
11:04:40: SharedTexCapture hooked
11:27:23: Exit signal received, terminating capture
11:28:04: Total frames rendered: 97855, number of frames that lagged: 493 (0.50%) (it's okay for some frames to lag)
11:28:04: RTMPPublisher::SocketLoop: Aborting due to bStopping
11:28:04: Number of times waited to send: 0, Waited for a total of 0 bytes
11:28:04: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
11:28:04: =====Stream End: 2013-08-13, 11:28:04=================================================
11:36:04:
11:36:04: Profiler results:
11:36:04:
11:36:04: ==============================================================
11:36:04: frame - [100%] [avg time: 3.258 ms (cpu time: avg 2.376 ms, total 913932 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.215%]
11:36:04: | frame preprocessing and rendering - [54.1%] [avg time: 1.762 ms (cpu time: avg 1.226 ms, total 471763 ms)] [avg calls per frame: 1] [children: 38.5%] [unaccounted: 15.6%]
11:36:04: | | scene->Preprocess - [38.5%] [avg time: 1.255 ms (cpu time: avg 0.858 ms, total 330254 ms)] [avg calls per frame: 1]
11:36:04: | video encoding and uploading - [45.7%] [avg time: 1.489 ms (cpu time: avg 1.147 ms, total 441389 ms)] [avg calls per frame: 1] [children: 44.4%] [unaccounted: 1.32%]
11:36:04: | | flush - [5.99%] [avg time: 0.195 ms (cpu time: avg 0.062 ms, total 24008.6 ms)] [avg calls per frame: 1]
11:36:04: | | CopyResource - [0.859%] [avg time: 0.028 ms (cpu time: avg 0.014 ms, total 5740.83 ms)] [avg calls per frame: 0]
11:36:04: | | conversion to 4:2:0 - [1.2%] [avg time: 0.039 ms (cpu time: avg 0.004 ms, total 1918.81 ms)] [avg calls per frame: 0]
11:36:04: | | call to encoder - [35.7%] [avg time: 1.164 ms (cpu time: avg 1.045 ms, total 401999 ms)] [avg calls per frame: 0]
11:36:04: | | sending stuff out - [0.614%] [avg time: 0.02 ms (cpu time: avg 0.008 ms, total 3291.61 ms)] [avg calls per frame: 0]
11:36:04: | Convert444Threads - [1.03e+003%] [avg time: 33.402 ms (cpu time: avg 1.127 ms, total 433605 ms)] [avg calls per frame: 1]
11:36:04: ==============================================================
11:36:04: