Is there a manner to record from webcam in background?

Hi, I think the subject is pretty explanatory, I want to grab the input from a webcam and record it. I don’t want the windows appears.
This post is similar to my needs, but it doesn´ t say what I am asking. Thanks.

Best!

if your on osx or linux


if your on windows

as for windowless check out this topic

I am working with Ubuntu 12.04, Thanks a lot for the links, I will check out them.

Best!