Question / Help Facerig Delay

fmwyso

New Member
When using my webcam directly, all of my timings are in sync (in-game audio, microphone audio, game capture and video capture device). However, when using Facerig, there is an imposed 330ms delay which causes the video capture device to become out of sync; for those unfamiliar, Facerig creates an avatar from your webcam video. Because of this, I would like to put a negative delay on the Video Capture Device of around 330ms to match all other input streams. There doesn't seem to be any offset option for the Video Capture Device; why isn't there an option?

I believe it should be supported; my stream is already buffered for 2000ms which means any input source can be offset within this window correct? I would like to be able to put a -330ms timing on all input from Video Capture Device. Otherwise, I don't believe I can actually achieve any sort of sync. I've been able to sync the microphone and in-game audio using the appropriate offsets but this completely ruins the game capture sync (which, for understandable technical reasons of VRAM limitations, cannot be delayed).

Is there a technical reason that negative delays are not supported on Video Capture Devices? With Scene buffering on, isn't this a matter of simply offsetting incoming video feeds? I'm sure it is a lot more difficult than I assume but I'd like to know what is the real challenge stopping this feature from being implemented.
 
You can't create a negative delay. OBS doesn't work like that. You'll have to delay everything else by 330ms less, at least of what can be delayed up to reach sync. DXtory can be used as a Game Capture workaround.

This has been suggested quite a few times in the past (including by me) so a Search might be in order.
The short version though is that even a one second delay would require eating hundreds of megs of VRAM to keep those frames in video memory. Moving it out to system and then back into VRAM would flood the bus to a non-viable point. Even worse, OBS would have to keep frames from every layer uncompressed (the compositing comes at the end after all) so you can't just scoop out one.

Jim went into it in more detail in the earlier threads. Search them up, but for now the answer is 'no'... especially with the development of OBS Classic essentially ended aside from bugfixes in favor of getting MP up to snuff. Still, fingers crossed that MP will work it in at some point.

Otherwise though, it may be in best interests to just deal with your webcam and mic being a third of a second behind. Only real effect it has is that you can't sing along with in-game music or whatnot.
 
Back
Top