Bug Report Webcam and microphone aren't in sync

Cloudwolf

Member
I'm using 0.463a test build 7 and my webcam and microphone aren't in sync.

The log file from todays stream I did. and a link to the video to see the extent for yourselfhttp://www.twitch.tv/cloudlupus/b/352920086
Code:
Open Broadcaster Software v0.463a (test build 7) - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
CPU Speed: 3303MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 470
  Video Adapter Dedicated Video Memory: 1293352960
  Video Adapter Shared System Memory: 2952937472
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Yeti Stereo Microphone)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: fast
    CBR: no
    max bitrate: 1600
    buffer size: 1800
    quality: 8
------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Monitor Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
Total frames rendered: 620, number of frames that lagged: 16 (2.58%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x720
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Yeti Stereo Microphone)
------------------------------------------
Audio Encoding: AAC
    bitrate: 256
Using Window Capture
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: fast
    CBR: no
    max bitrate: 1600
    buffer size: 1800
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-3c.justin.tv/app
bufferTime: 1410, outputRateWindowTime: 1000, dropThreshold: 1910
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using Window Capture
------------------------------------------
    device: Microsoft LifeCam HD-6000,
    device id \\?\usb#vid_045e&pid_076f&mi_00#7&3a064b61&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: RGB24, usingFourCC: false, res: 1280x720 - 1280x720, fps: 15-30, fourCC: 00000000

Using directshow input
RTMPPublisher::BufferedSend: Buffer is full (237195 / 237568 bytes), waiting to send 609 bytes
RTMPPublisher::BufferedSend: Buffer is full (237195 / 237568 bytes), waiting to send 609 bytes
RTMPPublisher::BufferedSend: Buffer is full (237475 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (237475 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (237158 / 237568 bytes), waiting to send 698 bytes
RTMPPublisher::BufferedSend: Buffer is full (235440 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (233511 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (235419 / 237568 bytes), waiting to send 3522 bytes
RTMPPublisher::BufferedSend: Buffer is full (235419 / 237568 bytes), waiting to send 3522 bytes
RTMPPublisher::BufferedSend: Buffer is full (234999 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (234999 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (236578 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234248 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (236727 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (236727 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (235408 / 237568 bytes), waiting to send 2596 bytes
RTMPPublisher::BufferedSend: Buffer is full (235408 / 237568 bytes), waiting to send 2596 bytes
RTMPPublisher::BufferedSend: Buffer is full (237372 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (237554 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (237554 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (237473 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (237526 / 237568 bytes), waiting to send 2690 bytes
RTMPPublisher::BufferedSend: Buffer is full (234456 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234456 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (235726 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (235726 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (233515 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (237204 / 237568 bytes), waiting to send 729 bytes
RTMPPublisher::BufferedSend: Buffer is full (237204 / 237568 bytes), waiting to send 729 bytes
RTMPPublisher::BufferedSend: Buffer is full (237475 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (237475 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (235680 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (235680 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (236942 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (235679 / 237568 bytes), waiting to send 3531 bytes
RTMPPublisher::BufferedSend: Buffer is full (235956 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234625 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (236249 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (236249 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (237398 / 237568 bytes), waiting to send 3507 bytes
RTMPPublisher::BufferedSend: Buffer is full (237082 / 237568 bytes), waiting to send 3279 bytes
RTMPPublisher::BufferedSend: Buffer is full (237232 / 237568 bytes), waiting to send 725 bytes
RTMPPublisher::BufferedSend: Buffer is full (234894 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (235856 / 237568 bytes), waiting to send 2910 bytes
RTMPPublisher::BufferedSend: Buffer is full (233879 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (233610 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (237465 / 237568 bytes), waiting to send 2559 bytes
RTMPPublisher::BufferedSend: Buffer is full (237465 / 237568 bytes), waiting to send 2559 bytes
RTMPPublisher::BufferedSend: Buffer is full (234626 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (237202 / 237568 bytes), waiting to send 1480 bytes
RTMPPublisher::BufferedSend: Buffer is full (237531 / 237568 bytes), waiting to send 639 bytes
RTMPPublisher::BufferedSend: Buffer is full (237539 / 237568 bytes), waiting to send 642 bytes
RTMPPublisher::BufferedSend: Buffer is full (233906 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (233906 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (237096 / 237568 bytes), waiting to send 535 bytes
RTMPPublisher::BufferedSend: Buffer is full (237096 / 237568 bytes), waiting to send 535 bytes
RTMPPublisher::BufferedSend: Buffer is full (236801 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234308 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234671 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234869 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (237170 / 237568 bytes), waiting to send 643 bytes
RTMPPublisher::BufferedSend: Buffer is full (235814 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (236994 / 237568 bytes), waiting to send 612 bytes
RTMPPublisher::BufferedSend: Buffer is full (235568 / 237568 bytes), waiting to send 2118 bytes
RTMPPublisher::BufferedSend: Buffer is full (236358 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234386 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (236095 / 237568 bytes), waiting to send 4013 bytes
RTMPPublisher::BufferedSend: Buffer is full (235883 / 237568 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Buffer is full (233768 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (235696 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (235721 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (236856 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (237082 / 237568 bytes), waiting to send 679 bytes
RTMPPublisher::BufferedSend: Buffer is full (236144 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (236144 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234231 / 237568 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Buffer is full (234231 / 237568 bytes), waiting to send 4097 bytes
Total frames rendered: 549998, number of frames that lagged: 59933 (10.90%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 666 (0.044%), Number of p-frames dropped: 657 (0.044%), Total 1323 (0.088%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 24.21 ms] [avg calls per frame: 1] [children: 96%] [unaccounted: 3.97%]
| scene->Preprocess - [33.2%] [avg time: 8.028 ms] [avg calls per frame: 1]
| video encoding and uploading - [62.9%] [avg time: 15.22 ms] [avg calls per frame: 1] [children: 38.8%] [unaccounted: 24%]
| | CopyResource - [0.112%] [avg time: 0.027 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.26%] [avg time: 0.063 ms] [avg calls per frame: 0]
| | call to encoder - [38.3%] [avg time: 9.278 ms] [avg calls per frame: 0]
| | sending stuff out - [0.132%] [avg time: 0.032 ms] [avg calls per frame: 0]
==============================================================

Hopefully I didn't just miss a post about this already and If I did i'm extremely sorry for the double post.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Some devices have a buffering delay on the video. Do you think that using a mic time offset would help?
 

Cloudwolf

Member
I have no idea. Would disabling the buffer help me with this issue any? Because it feels like my microphone audio is where i want it it's just my webcam that is out of place. Or I may just need to live with it until I get a new webcam at some point.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Yea, your webcam is later than your audio. Currently, you can try messing with the "preferred output type" and seeing if any of those make your webcam more responsive (and if one of them does please let me know), and I am also implementing a mic time delay feature for this specific situation. It seems the webcam video is just a few hundred milliseconds delayed.

Will have this in test 8 which I'm going to upload later today, will be in the audio section
 

Cloudwolf

Member
I will look forward to test 8 and hope I can use that to solve my issues. Unfortunately my webcam can only output into rgb24 or at least that is the only option in the drop down menu.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I just uploaded test 8 which now has an option to adjust microphone output time
 

Snaert

Member
Jim said:
Yea, your webcam is later than your audio. Currently, you can try messing with the "preferred output type" and seeing if any of those make your webcam more responsive (and if one of them does please let me know), and I am also implementing a mic time delay feature for this specific situation. It seems the webcam video is just a few hundred milliseconds delayed.

Will have this in test 8 which I'm going to upload later today, will be in the audio section


where do I find this "preferred output type"? Can't find it anywhere :?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
in the settings of the device source. I actually renamed it to "output format" rather than "preferred output type"
 
Top