fsphil / fswebcam

A neat and simple webcam app
http://www.sanslogic.co.uk/fswebcam/
GNU General Public License v2.0
416 stars 87 forks source link

Re-get image on error #37

Open morphex opened 6 years ago

morphex commented 6 years ago

Hi.

I have this project:

https://github.com/morphex/surveil

Where I just added some code to re-call fswebcam if an error is detected in the output. However, I guess it should be an option of fswebcam, that it re-gets an image from the webcam, if an error is detected.

The error in question is

GD Error: gd-jpeg: JPEG library reports unrecoverable error: Unsupported marker type 0x28Captured frame in 0.00 seconds.

Regards,

Morten