Video & audio not in sync problem

AaronD

Active Member
Hi AaronD, im having the same problem again, everything is fine until a audio noise suddenly appears and disappears, after that the dis-match problem appears again..... and i got the log file uploaded....!
Can you record that noise? Different problems have different sounds.

---

For the log files:

13-39-27 looks normal with only 21ms of buffering, but it has this at the end, as you shut down with the stream still running:
14:23:19.763: fill_buffer: AudioQueueEnqueueBuffer failed: -66632
14:23:19.763: fill_buffer: Failed to enqueue buffer
14:23:19.763: fill_buffer: AudioQueueEnqueueBuffer failed: -66632
14:23:19.763: fill_buffer: Failed to enqueue buffer
14:23:19.763: fill_buffer: AudioQueueEnqueueBuffer failed: -66632
14:23:19.763: fill_buffer: Failed to enqueue buffer

14-23-22 still has one "failed" message at the end, instead of three, but it also has 341ms of buffering! You're definitely going to notice that! And it's right at the top too, as part of the startup. Still just the one message though, and no other error messages around it, so I really don't know what's going on there.

---

You might also run your logs through the automated analyzer, and see what it comes up with:
 

leonardCN

New Member
Can you record that noise? Different problems have different sounds.

---

For the log files:

13-39-27 looks normal with only 21ms of buffering, but it has this at the end, as you shut down with the stream still running:


14-23-22 still has one "failed" message at the end, instead of three, but it also has 341ms of buffering! You're definitely going to notice that! And it's right at the top too, as part of the startup. Still just the one message though, and no other error messages around it, so I really don't know what's going on there.

---

You might also run your logs through the automated analyzer, and see what it comes up with:
WechatIMG1467.png



i analyzed the log file but it seem alright? i found the part where audio went wrong! i will dm you
 

AaronD

Active Member
View attachment 95373


i analyzed the log file but it seem alright? i found the part where audio went wrong! i will dm you
I saw the video. There's definitely something wrong there!

You *might* try to correct what the analyzer complains about, but I'm not entirely sure that that's the problem. Your 25 frames/sec is standard enough as far as I know, despite the warning (I have some commercially-produced movies on Blu-ray that are 24fps), and the encoder should be fine regardless...unless you're overloading your system with it, which is probably what that note is really about. But those *are* some things to try at least.

Also, I assume that all of your sources are okay, and it really is OBS that's acting up? If a source is bad, then OBS can't correct it; it has to pass that through.

You might also draw out the entire signal path, through every device and every app, in order, from raw mics to audience speakers. Include everything. For a media rig, it gets to be surprisingly complicated surprisingly fast. Don't miss something. Once you have that, trace each signal through it, and see where you can tap off to check it.

If that tap point is good, then the problem is downstream from there. If not, then it's before. Either way, you've eliminated half of the possibilities if you chose the tap point well. Choose another tap point and try it again, and keep doing that until you've found the problem. Of course, this also depends on the problem happening reliably.
 
Top