我刚购买了一个新的摄像头,并将其附加到Ubuntu桌面,然后运行命令进行安装

sudo apt-get install fswebcam


当我输入此命令拍摄图像时,

fswebcam image.jpg


它告诉我一个错误

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


您能否指导我解决此错误?

最佳答案

我发现拔下网络摄像头并重新连接后,它又可以正常工作了。在执行固件更新并安装了一些软件包后,它似乎失败了,但是我用于fswebcam的cron作业现在又可以工作了。

08-27 17:14