How to simulate a webcam device
<p>I am working on a project which I need to synthesize a video from existing frames and then format it exactly like a webcam device and make it available to external computers.
In other words, this USB output should look exactly as if it was generated by a webcam.
Can someone provide some hints about any existing library or any methodology to do this?
The target system to create "webcam" output via USB is UBUNTU.</p>

<p>Thanks</p>