Bug Report Audio slowly desyncs from webcam

DrMaple

New Member
After streaming for a little over 5 hours today, I noticed that my audio started getting farther and farther behind from my webcam.

I'm using a Logitech C920 for my webcam, an Asus Xonar DS for my sound card, and a Steelseries Siberia V2 3.5mm for my headset.

Here is a log
Code:
Open Broadcaster Software v0.463a (capture card audio test 5) - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7600 
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 560 Ti  
  Video Adapter Dedicated Video Memory: 1025966080
  Video Adapter Shared System Memory: 3221549056
------------------------------------------
Adapter 2
  Video Adapter: Intel(R) HD Graphics 4000
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DS Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Window Capture
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: fast
    CBR: no
    max bitrate: 5000
    buffer size: 7000
    quality: 10
------------------------------------------
AudioSource::QueryAudio: A timestampfor device 'Microphone (ASUS Xonar DS Audio Device)' just went 86096037 off, calculating timestamps from here out
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using graphics capture
------------------------------------------
    device: Logitech HD Pro Webcam C920,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1920x1080 - 1920x1080, fps: 5-30, fourCC: 00000000

Using directshow input
using memory capture
Total frames rendered: 2384, number of frames that lagged: 5 (0.21%) (it's okay for some frames to lag)
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar DS Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
------------------------------------------
    device: Logitech HD Pro Webcam C920,
    device id (null),
    chosen type: RGB24, usingFourCC: false, res: 1920x1080 - 1920x1080, fps: 5-30, fourCC: 00000000

Using directshow input
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: fast
    CBR: no
    max bitrate: 5000
    buffer size: 7000
    quality: 10
------------------------------------------
AudioSource::QueryAudio: A timestampfor device 'Microphone (ASUS Xonar DS Audio Device)' just went 86177814 off, calculating timestamps from here out
using memory capture
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-jfk.justin.tv/app
bufferTime: 1610, outputRateWindowTime: 1000, dropThreshold: 2110
Total frames rendered: 615359, number of frames that lagged: 79 (0.01%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 9.09 ms] [avg calls per frame: 1] [children: 73.6%] [unaccounted: 26.4%]
| scene->Preprocess - [13.9%] [avg time: 1.263 ms] [avg calls per frame: 1]
| video encoding and uploading - [59.7%] [avg time: 5.429 ms] [avg calls per frame: 1] [children: 18.4%] [unaccounted: 41.3%]
| | CopyResource - [0.209%] [avg time: 0.019 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.066%] [avg time: 0.006 ms] [avg calls per frame: 0]
| | call to encoder - [18%] [avg time: 1.635 ms] [avg calls per frame: 0]
| | sending stuff out - [0.132%] [avg time: 0.012 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
As you can see it had to resort to timestamp calculation because of something going on with the xonar. I figured out a way around these annoying sound device issues though hopefully, and I should have this bug fixed in a new test version soon.
 

DrMaple

New Member
Thanks for the quick reply. Hope to see it working soon! Makes things a little awkward.

PS If you had your donate button back up, I would give you money.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Actually could you drop by chat some time? I would like to take a look at it further if possible
 
Top