I have a logitech webcam model c170 connected.
I am running Raspbian on a B+
I installed the fswebcam app.
When I run the command it reports Not a JPEG file:
see below
------------------------------------------------------------------
pifswebcam -r 1280x720 image02.jpg
Trying source module v4l2...
/dev/video0 opened
.No input was specified, using the first.
Adjusting resolution from 1280x720 to 1024x768.
--- Capturing frame...
gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with
0x39 0x81
Captured frame in 0.00 seconds.
--- Processing captured image...
Writing JPEG image to 'image02.jpg'
-------------------------------------------------------------------------
image02.jpg is just a blank black image.
I have tried several different resolution (-r) settings, makes no difference.
Is there some kind of initialization I need for the webcam?
Any suggestions as to what is causing this.