Search code examples
ubuntuwebcam

webcam Unable to find a compatible palette format


I just bought a new webcam and attach it with Ubuntu Desktop, then Run a command to install it

sudo apt-get install fswebcam

when I entered this command to take an image,

fswebcam image.jpg

it shows me an error

--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Unable to find a compatible palette format.

Can you please guide me to resolve this error?


Solution

  • I found that unplugging the webcam and reconnecting it got it working again. It seemed to fail after I performed a firmware update and installed some packages but my cron job for fswebcam is now working again.