From Fedora Project Wiki


This test case if fswebcam can capture a photo using the default webcam


  1. Ensure the fswebcam package is installed

How to test

  1. Run fswebcam file_name

Expected Results

  1. The console should read out
fswebcam test                                                                                                                       
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 384x288 to 352x288.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
Writing JPEG image to 'test'.
  1. The image file should contain the captured image