Question / Help [SOLVED] Gameplay and Webcam are out of sync

RavenChan1023

New Member
I'm trying to record a game with OBS, and the problem I keep running into is that my webcam ends up recording in 15fps while I have my video recording at 30 and because of that, when I check the video the webcam ends up out of sync with the video. I've tried changing the framerate settings for the webcam in OBS and it never changes, it always just records at 15. I've also tried lowering the resolution, which didn't help at all. How do I get them to sync up properly and if there is no way to do it in OBS, how do I save the webcam and gameplay as separate files so I can try to sync them up in editing?
 

Attachments

  • 2018-06-14 09-39-37.txt
    32 KB · Views: 148
The log indicates 30FPS capture, I think you are just out of CPU horsepower between the encoding and the camera feed it might be much for your system, I could be wrong though. Many webcams heavily hit the CPU and if you are x264 at the same time... on an older system, it could be too much. Have you checked your CPU usage total with Task Manager to see what it looks like when streaming with everything going? Check it out and see if it is high or not...
 
I don't know why I didn't notice, but you have a ton of invalid webcams, have been plugging and unplugging it out a lot? Having all of them is compounding your buffering and delay by hundreds of miliseconds. You might want to destroy those scenes, or at least all the webcam sources and start from scratch with the webcam. Or create a New scene collection, build one scene with the webcam and your normal stuff, and then see if the problem exists. If not, then you know what you need to do...
 

RavenChan1023

New Member
The log indicates 30FPS capture, I think you are just out of CPU horsepower between the encoding and the camera feed it might be much for your system, I could be wrong though. Many webcams heavily hit the CPU and if you are x264 at the same time... on an older system, it could be too much. Have you checked your CPU usage total with Task Manager to see what it looks like when streaming with everything going? Check it out and see if it is high or not...

Recording with the game on, the usage only hit a maximum of 55% and that's probably because it's not a heavy game. Any other game, it would probably be pushed to 99% usage. The reason I think it says 30 fps in the logs is because I forgot to switch the FPS from that to enabling device default since I was trying out different options so it might have been trying to record at 30 the whole time. I ultimately found out what was causing the lag though and it was the Low Light Compensation.

As for why it shows many invalid webcams, I don't know why it would be doing that, I used it when I had 8.1 but it's never been plugged in since I installed Windows 7. I went ahead and created a new scene specifically for that game just now though, so hopefully that solves that problem.
 
Last edited:
Yes I was going to say that as well, make sure you disable most the auto features except for focus, and if you can adjust the white balance and the Exposure manually, that will really help out as well.
 

RavenChan1023

New Member
Yes I was going to say that as well, make sure you disable most the auto features except for focus, and if you can adjust the white balance and the Exposure manually, that will really help out as well.
Mine doesn't have a focus, but I can adjust white balance and exposure, exposure is set to -5 and white balance is set to auto, but it's on 5000 by default for some reason. Seems to have no problem recording at 30 fps now.
 
Top