How To Get The Webcam To Record From Guitar Rig Directly
The focusrite scarlet 2i2 has no inbuilt mic, you need to connect an "external mic" to it, or connect the guitar lineout to it. If you have effects pedals, just connect the last 1/4" connector n the chain to the input of the Focusrite.

Please update why you are having sync problems. Anyway don't not rely on a webcam to give synced audio/video. I would say that if you record video &amp; audio from different sources, almost always you have to sync audio with video. Professional gear have a "sync clock" that makes it automatic but this is expensive. At less expensive level you have to work "hard sometimes" with sync. Having a good program like Final Cut Pro or Adobe Premiere helps.

Apart from the discussion of how to fix this (Zoom Q3HD Video Recorder) to the guitar, this is a very practical audio/video recorder, you can even connect external input to it.