Bug Report Audio is out of sync

vognaR

Member
Hi,

I've got problem with my stream, the audio is really behind video (like 1sec). At first I thought that is because of my buffer being different from bitrate but then I set them to 2750 both but the problem still exist :/

My upload is ~8bmit (tested on testmy.net) so this is not the case.

I have no idea why it happens, could you please help me with this?

edit: from what I see audio is desyncing with video over time (the longer stream, the bigger difference). And yes - I have
set 44.1khz in both windows and obs.

edit2: seems like twitch has good audio sync but after uploading to youtube it desyncs a bit - so its not OBS fault I guess... you can check these 2 vids (from ~14:55 should be easy to notice)

http://en.twitch.tv/eyeofroshan/c/1834522
http://www.youtube.com/watch?v=4i17NqTlyBU

edit3: maybe it is OBS issue after all - please check this out http://help.twitch.tv/customer/portal/q ... ync-issues




Here is log:

Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3392MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, 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 550 Ti
  Video Adapter Dedicated Video Memory: 1025179648
  Video Adapter Shared System Memory: 3221385216
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using bitmap image
Using text output
Using text output
Using text output
Using text output
Using text output
Using text output
Using bitmap image
Using bitmap image
Using bitmap image
------------------------------------------
Video Encoding: x264
    fps: 45
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    max bitrate: 2750
    buffer size: 2750
    quality: 10
------------------------------------------
Total frames rendered: 44416, number of frames that lagged: 8 (0.02%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 5.11 ms] [avg calls per frame: 1] [children: 88.4%] [unaccounted: 11.6%]
| scene->Preprocess - [0.157%] [avg time: 0.008 ms] [avg calls per frame: 1]
| video encoding and uploading - [88.2%] [avg time: 4.509 ms] [avg calls per frame: 1] [children: 23.1%] [unaccounted: 65.2%]
| | CopyResource - [0.47%] [avg time: 0.024 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0587%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [22.5%] [avg time: 1.151 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0196%] [avg time: 0.001 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
The test build should have any actual sync problems fixed, but the twitch->youtube problem is another issue which I am still working on. It's kind of my top priority right now because I don't want to cause any stress for the support guys over at twitch.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Could you try out the latest test build and let me know how it works?
 

vognaR

Member
I would but it's not that simple. From what I see and what would work best for test is 2-3h stream and then twitch->youtube upload.
I cut stream from last night in 2 parts (game1 and game2) where game1 seems ok with sync but game2 doesnt. So it requires few hours of stream to test, which I'm gonna do but it will be in next few days (wednesday I suppose):/.

Small new info: I don't know why but my highlight on twitch from last night stream is without sound for me (http://en.twitch.tv/eyeofroshan/c/1834522) but the youtube upload of this highlight has sound. Thought it may help you to figure that out.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
you only get this problem with youtube upload then? just wanted to make sure.. if so, then nevermind, you don't have to. I still have yet to add a fix for the youtube upload thing specifically.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
oh okay, then nevermind. I'll have a test build for a potential fix with that in a few days
 
Top