As project needed, i need to use GSVideo for webcam recording.
" GSVideo is a library for the Processing programming language that offers video playback, capture and recording capabilities through the use of the GStreamer multimedia framework. "
1. Download the gsvideo-0.6-pre.zip here
Need to import all 3 jar files in Library to our app lib. Edit the project properties --> libraries
3. Run the example file Capturelinux. It works with my webcam.