belki işinize yarar beyler ben anlamıyorum ama böyle birşey buldum paylaşmak istedim... bunlar kodları jmf kullanarak yapılıyor... import java. awt. BorderLayout; import java. awt. Component; import java. awt. Dimension; import java. awt. Frame; import java. awt. Graphics; import java. awt. Graphics2D; import java. awt. Image; import java. awt. Panel; import java. awt. event. ActionEvent; import java. awt. event. ActionListener; import java. awt. event. WindowAdapter; import java. awt. event. WindowEvent; import java. awt. image. BufferedImage; import java.io. FileOutputStream; import javax. media. Buffer; import javax. media. CaptureDeviceInfo; import javax. media. CaptureDeviceManager; import javax. media. Manager; import javax. media. MediaLocator; import javax. media. Player; import javax. media. control. FrameGrabbingControl; import javax. media. format. VideoFormat; import javax. media. util. BufferToImage; import javax. swing. JButton; import javax. swing. JComponent; import com. sun. image. codec. jpeg. JPEGCodec; import com. sun. image. codec. jpeg. JPEGEncodeParam; import com. sun. image. codec. jpeg. JPEGImageEncoder; public class SwingCapture extends Panel implements ActionListener { public static Player player = null; public CaptureDeviceInfo di = null; public MediaLocator ml = null; public JButton capture = null; public Buffer buf = null; public Image img = null; public VideoFormat vf = null; public BufferToImage btoi = null; public ImagePanel imgpanel = null; double tut=0; public SwingCapture { setLayout(new BorderLayout ; setSize(320,550); imgpanel = new ImagePanel ; capture = new JButton(&quot;Capture&quot; capture. addActionListener ; String str1 = &quot;vfw:Logitech USB Video Camera:0&quot;; String str2 = &quot;vfw:Microsoft WDM Image Capture (Win32):0&quot;; di = CaptureDeviceManager. getDevice(str2); ml = new MediaLocator(&quot;vfw://0&quot; try { player = Manager. createRealizedPlayer ; player. start ; Component comp; if ((comp = player. getVisualComponent != null) add ; add ; } catch } public static void main { Frame f = new Frame(&quot;SwingCapture&quot; SwingCapture cf = new SwingCapture ; f. addWindowListener(new WindowAdapter { public void windowClosing }); f. add ; f. pack ; f. setSize(new Dimension(320,550)); f. setVisible ; } public static void playerclose public void actionPerformed { JComponent c = e. getSource ; if } class ImagePanel extends Panel { public Image myimg = null; public ImagePanel public void setImage public void paint { if } } public static void saveJPG { BufferedImage bi = new BufferedImage(img. getWidth , img. getHeight , BufferedImage. TYPE_INT_RGB); Graphics2D g2 = bi. createGraphics ; g2. drawImage ; FileOutputStream out = null; try catch JPEGImageEncoder encoder = JPEGCodec. createJPEGEncoder ;

bu kod java ile webcam mı çalıştırıyo ne yapıyo, anlamadım zaten web camımda yok...