Question / Help Synchronizing game capture source and webcam

kamild_

Member
Hello,
I'm not using OBS for streaming but it proves to be a very reliable software for local recordings or more specifically - capturing game footage. Nevertheless I would like to make use of other features that come with OBS, especially to reduce the amount of time spent on video editing.
This is a screenshot of one of my "experimental" videos. I used OBS to record game footage and my phone to record the keystrokes - then I used a video editing program to put it together. But I came up with an idea - I can install my phone as a webcam on my PC, then use OBS to place a "keystroke cam" directly on a video without having to edit it. One-two and it's done but there's one problem - the camera lag. The camera is not synced with the game, which isn't really what I would like to see in a rhythm game :P I tried everything I could find to reduce the camera lag but I just realized - maybe it's possible to add extra delay to the "game" source in OBS so it gets synchronized with the camera?

tl;dr - how to sync the "game capture" source with the "video capture device" source?

Yes, my keyboard needs to be cleared. There's probably a colony of bacteria in here already but...
 
Last edited:
Not possible in OBS Classic.
Possibly may be added at some point in the OBStudio rewrite. It's been requested quite a few times in the past, but written off as 'not feasible' due to having to store the offset non-composited frames in VRAM for the duration of the offset, which could eat hundreds of megs.

Best bet, get a proper webcam which should have less delay.
It still will have *some* delay, but not as much as a juryrigged phone likely will.
 
Back
Top