Bug Report Webcam buffer not working (Bootcamp Windows)

Hexx

New Member
Hey so I've noticed with version 0.581b and newer, setting the buffer time doesn't effect my webcam.
I'm running 32 bit OBS on 64 bit Windows through Bootcamp on a 2011 iMac. (32 bit OBS due to Elgato's lack of 64 bit drivers)
I rolled back to version 0.571b and the buffer time works great so the issue is sorted for me for now, but felt I should post to see if it could be fixed in a future version.

log file below.

Code:
23:07:49: Open Broadcaster Software v0.581b - 32bit (´・ω・`)
23:07:49: -------------------------------
23:07:49: CPU Name: Intel(R) Core(TM) i5-2500S CPU @ 2.70GHz
23:07:49: CPU Speed: 2693MHz
23:07:49: Physical Memory:  4095MB Total, 4095MB Free
23:07:49: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
23:07:49: monitor 1: pos={0, 0}, size={1920, 1080}
23:07:49: monitor 2: pos={-1920, 0}, size={1920, 1080}
23:07:49: Windows Version: 6.1 Build 7601 S
23:07:49: Aero is Disabled
23:07:49: -------------------------------
23:07:49: OBS Modules:
23:07:49: Base Address     Module
23:07:49: 01020000         OBS.exe
23:07:49: 5EB90000         OBSApi.dll
23:07:49: 60A20000         DShowAudioPlugin.dll
23:07:49: 609F0000         DShowPlugin.dll
23:07:49: 609D0000         GraphicsCapture.dll
23:07:49: 609B0000         NoiseGate.dll
23:07:49: 5FBA0000         PSVPlugin.dll
23:07:49: ------------------------------------------
23:07:49: Adapter 1
23:07:49:   Video Adapter: AMD Radeon HD 6770M
23:07:49:   Video Adapter Dedicated Video Memory: 517447680
23:07:49:   Video Adapter Shared System Memory: 1866659840
23:07:49:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
23:07:49:   Video Adapter Output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
23:07:49: =====Stream Start: 2013-10-28, 23:07:49===============================================
23:07:49:   Multithreaded optimizations: On
23:07:49:   Base resolution: 1280x720
23:07:49:   Output resolution: 1280x720
23:07:49: ------------------------------------------
23:07:49: Loading up D3D10 on AMD Radeon HD 6770M...
23:07:49: ------------------------------------------
23:07:49: Audio Format: 48000hz
23:07:49: Playback device Default
23:07:49: ------------------------------------------
23:07:49: Using desktop audio input: Speakers (ASTRO Gaming USB MixAmp)
23:07:49: ------------------------------------------
23:07:49: Using auxilary audio input: Microphone (ASTRO Gaming USB MixAmp)
23:07:49: ------------------------------------------
23:07:49: Audio Encoding: AAC
23:07:49:     bitrate: 160
23:07:49: Using bitmap image
23:07:49: Using bitmap image
23:07:49: ------------------------------------------
23:07:49:     device: FaceTime HD Camera (Built-in),
23:07:49:     device id \\?\usb#vid_05ac&pid_850b&mi_00#6&1529f987&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
23:07:49:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333667-666667
23:07:49:     use buffering: true - 14000000, fourCC: 'MJPG'
23:07:49:     audio device: Disable,
23:07:49:     audio device id Disabled,
23:07:49: 
23:07:49: Using directshow input
23:07:49: ------------------------------------------
23:07:49:     device: Elgato Game Capture HD,
23:07:49:     device id {39F50F4C-99E1-464a-B6F9-D605B4FB5918},
23:07:49:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
23:07:49:     use buffering: false - 0, fourCC: 'UYVY'
23:07:49: 
23:07:49:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
23:07:49: Using directshow input
23:07:49: Scene buffering time set to 400
23:07:49: ------------------------------------------
23:07:49: Video Encoding: x264
23:07:49:     fps: 30
23:07:49:     width: 1280, height: 720
23:07:49:     preset: veryfast
23:07:49:     profile: high
23:07:49:     keyint: 60
23:07:49:     CBR: yes
23:07:49:     CFR: yes
23:07:49:     max bitrate: 3000
23:07:49:     buffer size: 3000
23:07:49: ------------------------------------------
23:07:49: MMDeviceAudioSource: Frequency for device 'Speakers (ASTRO Gaming USB MixAmp)' is 352800, samples per sec is 44100
23:07:49: MMDeviceAudioSource: Frequency for device 'Microphone (ASTRO Gaming USB MixAmp)' is 176400, samples per sec is 44100
23:08:29: Total frames encoded: 1172, total frames duplicated: 0 (0.00%)
23:08:29: Total frames rendered: 1176, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
23:08:32: 
23:08:32: Profiler time results:
23:08:32: 
23:08:32: ==============================================================
23:08:32: video thread frame - [100%] [avg time: 3.28 ms] [children: 79.6%] [unaccounted: 20.4%]
23:08:32: | scene->Preprocess - [74%] [avg time: 2.428 ms]
23:08:32: | GPU download and conversion - [5.55%] [avg time: 0.182 ms] [children: 5.12%] [unaccounted: 0.427%]
23:08:32: | | flush - [4.73%] [avg time: 0.155 ms]
23:08:32: | | CopyResource - [0.274%] [avg time: 0.009 ms]
23:08:32: | | conversion to 4:2:0 - [0.122%] [avg time: 0.004 ms]
23:08:32: Convert444Threads - [100%] [avg time: 0.452 ms] [children: 98.7%] [unaccounted: 1.33%]
23:08:32: | Convert444toNV12 - [98.7%] [avg time: 0.446 ms]
23:08:32: encoder thread frame - [100%] [avg time: 0.982 ms]
23:08:32: ==============================================================
23:08:32: 
23:08:32: 
23:08:32: Profiler CPU results:
23:08:32: 
23:08:32: ==============================================================
23:08:32: video thread frame - [cpu time: avg 2.241 ms, total 2636.42 ms] [avg calls per frame: 1]
23:08:32: | scene->Preprocess - [cpu time: avg 1.923 ms, total 2262.01 ms] [avg calls per frame: 1]
23:08:32: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:08:32: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:08:32: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:08:32: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
23:08:32: Convert444Threads - [cpu time: avg 0.268 ms, total 624.003 ms] [avg calls per frame: 2]
23:08:32: | Convert444toNV12 - [cpu time: avg 0.268 ms, total 624.003 ms] [avg calls per frame: 2]
23:08:32: encoder thread frame - [cpu time: avg 0.228 ms, total 265.201 ms] [avg calls per frame: 1]
23:08:32: ==============================================================
23:08:32: 
23:08:32: =====Stream End: 2013-10-28, 23:08:32=================================================
23:08:39: Memory Leaks Were Detected.
23:08:39:

Interestingly enough, in the log file it reads
23:07:49: use buffering: true - 14000000, fourCC: 'MJPG'
but as above, that doesn't seem to be working correctly.

Thanks very much :)
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Hm, I just checked it on the most recent versions and didn't see any difference. It's not actually set to 14000000 milliseconds is it? It will probably most likely not work in that instance
 

Hexx

New Member
I had to double check to make sure I wasn't a dumb dumb, but no, it's correctly set to 1400ms.
http://gyazo.com/b961854e860cad14d818fcb46ee06e4a
Interestingly enough, on version 0.571b I was streaming last night and the webcam slowly but surely pulled back into real time from it's buffer...? Inherent issue with the iMac iSight camera perhaps?
Failing any surefire fix I may just have to suck it up and buy an external webcam.

Thanks for your help, Jim :)
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Hm, I can't seem to replicate the issue. Could you see what happens when you set it to other values? Or see if it happens if you remove/re-add the source? I'm very curious as to what's going on there. I doubt it's some inherent issue with your computer, it really shouldn't be.
 
Top