Question / Help Use Buffering Setting Not working on webcam

ohaple

New Member
Hey, so I have posted about this problem before, but still havent found a solution. I stream through an elgato, which has about a 1500ms delay compared to my webcam and mic. I delay the mic by 1500, and then delay the webcam by 1500ms using the "use buffering" setting. The problem is, the use buffering setting isn't changing anything. If I set it to 0, it is the same as if I set it to 6000. I am saving the setting, and have tried restarting the stream, but with no luck.

Here is the log from last night. It appears that the buffer setting is stuck at -0, and no matter how I change it in the program, it won't actually change. Anyone know how to fix this? Also, I didn't use the webcam for most of the stream because of the sync issue, not sure if that will show up in the log.

Code:
20:44:06: Settings::Video: Enabling Aero
20:45:06: Open Broadcaster Software v0.584b - 32bit (´・ω・`)
20:45:06: -------------------------------
20:45:06: CPU Name: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
20:45:06: CPU Speed: 2294MHz
20:45:06: Physical Memory:  4095MB Total, 4095MB Free
20:45:06: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
20:45:06: monitor 1: pos={0, 0}, size={1920, 1200}
20:45:06: Windows Version: 6.1 Build 7601 S
20:45:06: Aero is Enabled
20:45:06: -------------------------------
20:45:06: OBS Modules:
20:45:06: Base Address     Module
20:45:06: 00220000         OBS.exe
20:45:06: 68CC0000         OBSApi.dll
20:45:06: 6E450000         DShowPlugin.dll
20:45:06: 6E3C0000         GraphicsCapture.dll
20:45:06: 6E0B0000         NoiseGate.dll
20:45:06: 6E090000         PSVPlugin.dll
20:45:06: ------------------------------------------
20:45:06: Adapter 1
20:45:06:   Video Adapter: NVIDIA GeForce GT 650M
20:45:06:   Video Adapter Dedicated Video Memory: 1022033920
20:45:06:   Video Adapter Shared System Memory: 3221221376
20:45:06:   Video Adapter Output 1: pos={0, 0}, size={1920, 1200}, attached=true
20:45:06: =====Stream Start: 2013-11-23, 20:45:06===============================================
20:45:06:   Multithreaded optimizations: On
20:45:06:   Base resolution: 1920x1080
20:45:06:   Output resolution: 1920x1080
20:45:06: ------------------------------------------
20:45:06: Loading up D3D10 on NVIDIA GeForce GT 650M...
20:45:06: ------------------------------------------
20:45:06: Audio Format: 48000hz
20:45:06: Playback device Default
20:45:06: ------------------------------------------
20:45:06: Using desktop audio input: Speakers (Cirrus Logic CS4206B (AB 40))
20:45:06: Using quad speaker setup
20:45:06: ------------------------------------------
20:45:06: Using auxilary audio input: Microphone (Blue Snowball)
20:45:06: ------------------------------------------
20:45:06: Audio Encoding: AAC
20:45:06:     bitrate: 192
20:45:06: ------------------------------------------
20:45:06:     device: FaceTime HD Camera (Built-in),
20:45:06:     device id \\?\usb#vid_05ac&pid_8510&mi_00#7&16ccb545&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:45:06:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333667-666667
20:45:06:     use buffering: true - 15000000, fourCC: 'MJPG'
20:45:06:     audio device: Disable,
20:45:06:     audio device id Disabled,
20:45:06: 
20:45:06: Using directshow input
20:45:06: Using bitmap image
20:45:06: ------------------------------------------
20:45:06:     device: Elgato Game Capture HD,
20:45:06:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
20:45:06:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
20:45:06:     use buffering: false - 0, fourCC: 'UYVY'
20:45:06: 
20:45:06:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
20:45:07: Using directshow input
20:45:07: Scene buffering time set to 400
20:45:07: ------------------------------------------
20:45:07: Video Encoding: x264
20:45:07:     fps: 30
20:45:07:     width: 1920, height: 1080
20:45:07:     preset: veryfast
20:45:07:     profile: high
20:45:07:     keyint: 60
20:45:07:     CBR: yes
20:45:07:     CFR: no
20:45:07:     max bitrate: 6000
20:45:07:     buffer size: 6000
20:45:07: ------------------------------------------
20:45:07: MMDeviceAudioSource: Frequency for device 'Speakers (Cirrus Logic CS4206B (AB 40))' is 768000, samples per sec is 48000
20:45:07: MMDeviceAudioSource: Frequency for device 'Microphone (Blue Snowball)' is 352800, samples per sec is 44100
20:45:07: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
20:46:20: Total frames encoded: 2176, total frames duplicated: 3 (0.14%)
20:46:20: Total frames rendered: 2180, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
20:46:23: 
20:46:23: Profiler time results:
20:46:23: 
20:46:23: ==============================================================
20:46:23: video thread frame - [100%] [avg time: 2.318 ms] [children: 49.6%] [unaccounted: 50.4%]
20:46:23: | scene->Preprocess - [44%] [avg time: 1.02 ms]
20:46:23: | GPU download and conversion - [5.61%] [avg time: 0.13 ms] [children: 4.75%] [unaccounted: 0.863%]
20:46:23: | | flush - [3.41%] [avg time: 0.079 ms]
20:46:23: | | CopyResource - [1.25%] [avg time: 0.029 ms]
20:46:23: | | conversion to 4:2:0 - [0.0863%] [avg time: 0.002 ms]
20:46:23: Convert444Threads - [100%] [avg time: 0.858 ms] [children: 99.2%] [unaccounted: 0.816%]
20:46:23: | Convert444toNV12 - [99.2%] [avg time: 0.851 ms]
20:46:23: encoder thread frame - [100%] [avg time: 2.004 ms]
20:46:23: ==============================================================
20:46:23: 
20:46:23: 
20:46:23: Profiler CPU results:
20:46:23: 
20:46:23: ==============================================================
20:46:23: video thread frame - [cpu time: avg 1.746 ms, total 3806.42 ms] [avg calls per frame: 1]
20:46:23: | scene->Preprocess - [cpu time: avg 0.472 ms, total 1029.61 ms] [avg calls per frame: 1]
20:46:23: | GPU download and conversion - [cpu time: avg 0.071 ms, total 156.001 ms] [avg calls per frame: 1]
20:46:23: | | flush - [cpu time: avg 0.014 ms, total 31.201 ms] [avg calls per frame: 1]
20:46:23: | | CopyResource - [cpu time: avg 0.021 ms, total 46.8 ms] [avg calls per frame: 1]
20:46:23: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:46:23: Convert444Threads - [cpu time: avg 0.767 ms, total 3322.82 ms] [avg calls per frame: 2]
20:46:23: | Convert444toNV12 - [cpu time: avg 0.767 ms, total 3322.82 ms] [avg calls per frame: 2]
20:46:23: encoder thread frame - [cpu time: avg 1.362 ms, total 2948.42 ms] [avg calls per frame: 1]
20:46:23: ==============================================================
20:46:23: 
20:46:23: =====Stream End: 2013-11-23, 20:46:23=================================================
20:47:35: =====Stream Start: 2013-11-23, 20:47:35===============================================
20:47:35:   Multithreaded optimizations: On
20:47:35:   Base resolution: 1920x1080
20:47:35:   Output resolution: 1920x1080
20:47:35: ------------------------------------------
20:47:35: Loading up D3D10 on NVIDIA GeForce GT 650M...
20:47:35: ------------------------------------------
20:47:35: Audio Format: 48000hz
20:47:35: Playback device Default
20:47:35: ------------------------------------------
20:47:35: Using desktop audio input: Speakers (Cirrus Logic CS4206B (AB 40))
20:47:35: Using quad speaker setup
20:47:35: ------------------------------------------
20:47:35: Using auxilary audio input: Microphone (Blue Snowball)
20:47:35: ------------------------------------------
20:47:35: Audio Encoding: AAC
20:47:35:     bitrate: 192
20:47:36: ------------------------------------------
20:47:36:     device: FaceTime HD Camera (Built-in),
20:47:36:     device id \\?\usb#vid_05ac&pid_8510&mi_00#7&16ccb545&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:47:36:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333667-666667
20:47:36:     use buffering: true - 15000000, fourCC: 'MJPG'
20:47:36:     audio device: Disable,
20:47:36:     audio device id Disabled,
20:47:36: 
20:47:36: Using directshow input
20:47:36: Using bitmap image
20:47:36: ------------------------------------------
20:47:36:     device: Elgato Game Capture HD,
20:47:36:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
20:47:36:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
20:47:36:     use buffering: false - 0, fourCC: 'UYVY'
20:47:36: 
20:47:36:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
20:47:36: Using directshow input
20:47:36: Scene buffering time set to 400
20:47:36: ------------------------------------------
20:47:36: Video Encoding: x264
20:47:36:     fps: 30
20:47:36:     width: 1920, height: 1080
20:47:36:     preset: veryfast
20:47:36:     profile: high
20:47:36:     keyint: 60
20:47:36:     CBR: yes
20:47:36:     CFR: no
20:47:36:     max bitrate: 6000
20:47:36:     buffer size: 6000
20:47:36: ------------------------------------------
20:47:36: MMDeviceAudioSource: Frequency for device 'Speakers (Cirrus Logic CS4206B (AB 40))' is 768000, samples per sec is 48000
20:47:36: MMDeviceAudioSource: Frequency for device 'Microphone (Blue Snowball)' is 352800, samples per sec is 44100
20:47:36: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
20:47:38: Using RTMP service: Youtube
20:47:38:   Server selection: rtmp://a.rtmp.youtube.com/live2
20:47:38:   Interface: Broadcom NetXtreme Gigabit Ethernet (ethernet, 1000 mbps)
20:47:38: Completed handshake with rtmp://a.rtmp.youtube.com/live2 in 30 ms.
20:47:38: SO_SNDBUF was at 8192
20:47:38: SO_SNDBUF is now 65536
20:47:40: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 3952 / 792576)
20:47:40: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 792576)
20:47:44: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 59834 / 792576)
20:49:07: ------------------------------------------
20:49:07:     device: FaceTime HD Camera (Built-in),
20:49:07:     device id \\?\usb#vid_05ac&pid_8510&mi_00#7&16ccb545&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:49:07:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333667-666667
20:49:07:     use buffering: true - 15000000, fourCC: 'MJPG'
20:49:07:     audio device: Disable,
20:49:07:     audio device id Disabled,
20:49:07: 
20:50:12: ------------------------------------------
20:50:12:     device: FaceTime HD Camera (Built-in),
20:50:12:     device id \\?\usb#vid_05ac&pid_8510&mi_00#7&16ccb545&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:50:12:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333667-666667
20:50:12:     use buffering: true - 15000000, fourCC: 'MJPG'
20:50:12:     audio device: Disable,
20:50:12:     audio device id Disabled,
20:50:12: 
20:50:12: Using directshow input
20:50:40: ------------------------------------------
20:50:40:     device: FaceTime HD Camera (Built-in),
20:50:40:     device id \\?\usb#vid_05ac&pid_8510&mi_00#7&16ccb545&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:50:40:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333667-666667
20:50:40:     use buffering: true - 15000000, fourCC: 'MJPG'
20:50:40:     audio device: Disable,
20:50:40:     audio device id Disabled,
20:50:40: 
20:50:55: ------------------------------------------
20:50:55:     device: FaceTime HD Camera (Built-in),
20:50:55:     device id \\?\usb#vid_05ac&pid_8510&mi_00#7&16ccb545&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:50:55:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333667-666667
20:50:55:     use buffering: true - 0, fourCC: 'MJPG'
20:50:55:     audio device: Disable,
20:50:55:     audio device id Disabled,
20:50:55: 
20:51:03: RTMPPublisher::SocketLoop: Received FD_CLOSE, 20 ms since last send (buffer: 0 / 792576)
20:51:03: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 10053
20:51:04: Total frames encoded: 6222, total frames duplicated: 43 (0.69%)
20:51:04: Total frames rendered: 6201, number of late frames: 6 (0.10%) (it's okay for some frames to be late)
20:51:04: Average send payload: 14204 bytes, average send interval: 18 ms
20:51:04: Number of times waited to send: 0, Waited for a total of 0 bytes
20:51:04: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:51:04: Number of bytes sent: 156431575
20:51:07: 
20:51:07: Profiler time results:
20:51:07: 
20:51:07: ==============================================================
20:51:07: video thread frame - [100%] [avg time: 2.387 ms] [children: 50.5%] [unaccounted: 49.5%]
20:51:07: | scene->Preprocess - [44.3%] [avg time: 1.057 ms]
20:51:07: | GPU download and conversion - [6.2%] [avg time: 0.148 ms] [children: 5.19%] [unaccounted: 1.01%]
20:51:07: | | flush - [4.02%] [avg time: 0.096 ms]
20:51:07: | | CopyResource - [1.09%] [avg time: 0.026 ms]
20:51:07: | | conversion to 4:2:0 - [0.0838%] [avg time: 0.002 ms]
20:51:07: Convert444Threads - [100%] [avg time: 0.916 ms] [children: 99.2%] [unaccounted: 0.764%]
20:51:07: | Convert444toNV12 - [99.2%] [avg time: 0.909 ms]
20:51:07: encoder thread frame - [100%] [avg time: 1.941 ms]
20:51:07: ==============================================================
20:51:07: 
20:51:07: 
20:51:07: Profiler CPU results:
20:51:07: 
20:51:07: ==============================================================
20:51:07: video thread frame - [cpu time: avg 1.695 ms, total 10514.5 ms] [avg calls per frame: 1]
20:51:07: | scene->Preprocess - [cpu time: avg 0.566 ms, total 3510.02 ms] [avg calls per frame: 1]
20:51:07: | GPU download and conversion - [cpu time: avg 0.085 ms, total 530.403 ms] [avg calls per frame: 1]
20:51:07: | | flush - [cpu time: avg 0.04 ms, total 249.601 ms] [avg calls per frame: 1]
20:51:07: | | CopyResource - [cpu time: avg 0.027 ms, total 171.602 ms] [avg calls per frame: 1]
20:51:07: | | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 15.6 ms] [avg calls per frame: 1]
20:51:07: Convert444Threads - [cpu time: avg 0.784 ms, total 9703.26 ms] [avg calls per frame: 2]
20:51:07: | Convert444toNV12 - [cpu time: avg 0.783 ms, total 9687.66 ms] [avg calls per frame: 2]
20:51:07: encoder thread frame - [cpu time: avg 1.268 ms, total 7878.05 ms] [avg calls per frame: 1]
20:51:07: ==============================================================
20:51:07: 
20:51:07: =====Stream End: 2013-11-23, 20:51:07=================================================
20:51:12: =====Stream Start: 2013-11-23, 20:51:12===============================================
20:51:12:   Multithreaded optimizations: On
20:51:12:   Base resolution: 1920x1080
20:51:12:   Output resolution: 1920x1080
20:51:12: ------------------------------------------
20:51:12: Loading up D3D10 on NVIDIA GeForce GT 650M...
20:51:12: ------------------------------------------
20:51:12: Audio Format: 48000hz
20:51:12: Playback device Default
20:51:12: ------------------------------------------
20:51:12: Using desktop audio input: Speakers (Cirrus Logic CS4206B (AB 40))
20:51:13: Using quad speaker setup
20:51:13: ------------------------------------------
20:51:13: Using auxilary audio input: Microphone (Blue Snowball)
20:51:13: ------------------------------------------
20:51:13: Audio Encoding: AAC
20:51:13:     bitrate: 192
20:51:13: ------------------------------------------
20:51:13:     device: FaceTime HD Camera (Built-in),
20:51:13:     device id \\?\usb#vid_05ac&pid_8510&mi_00#7&16ccb545&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:51:13:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333667-666667
20:51:13:     use buffering: true - 0, fourCC: 'MJPG'
20:51:13:     audio device: Disable,
20:51:13:     audio device id Disabled,
20:51:13: 
20:51:13: Using directshow input
20:51:13: Using bitmap image
20:51:13: ------------------------------------------
20:51:13:     device: Elgato Game Capture HD,
20:51:13:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
20:51:13:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
20:51:13:     use buffering: false - 0, fourCC: 'UYVY'
20:51:13: 
20:51:13:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
20:51:13: Using directshow input
20:51:13: Scene buffering time set to 400
20:51:13: ------------------------------------------
20:51:13: Video Encoding: x264
20:51:13:     fps: 30
20:51:13:     width: 1920, height: 1080
20:51:13:     preset: veryfast
20:51:13:     profile: high
20:51:13:     keyint: 60
20:51:13:     CBR: yes
20:51:13:     CFR: no
20:51:13:     max bitrate: 6000
20:51:13:     buffer size: 6000
20:51:13: ------------------------------------------
20:51:13: MMDeviceAudioSource: Frequency for device 'Speakers (Cirrus Logic CS4206B (AB 40))' is 768000, samples per sec is 48000
20:51:13: MMDeviceAudioSource: Frequency for device 'Microphone (Blue Snowball)' is 352800, samples per sec is 44100
20:51:13: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
20:51:15: Using RTMP service: Youtube
20:51:15:   Server selection: rtmp://a.rtmp.youtube.com/live2
20:51:15:   Interface: Broadcom NetXtreme Gigabit Ethernet (ethernet, 1000 mbps)
20:51:15: Completed handshake with rtmp://a.rtmp.youtube.com/live2 in 100 ms.
20:51:17: SO_SNDBUF was at 8192
20:51:17: SO_SNDBUF is now 65536
20:51:29: RTMPPublisher::SocketLoop: Stalled for 10369 ms to write 791435 bytes (buffer: 0 / 792576), unstable connection?
20:53:23: Total frames encoded: 3895, total frames duplicated: 4 (0.10%)
20:53:23: Total frames rendered: 3900, number of late frames: 1 (0.03%) (it's okay for some frames to be late)
 

dodgepong

Administrator
Community Helper
It could be an issue with the FaceTime webcam built in to the Mac. I've heard of others having the same issue. It might be a driver issue, or some other bug.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Apparently, one person got it to work when they lowered the resolution. Why this is happening I have yet to find out because I don't have the necessary equipment.
 
Top