fsphil / fswebcam

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

Raspberry pi camera module error #61

Open oturan233 opened 1 year ago

oturan233 commented 1 year ago

Hi guys, thanks for this great tool.

I'm a newbie and trying this fswebcam tool in the raspberian linux smart mirror project . Although USB webcam works without any issue, Raspberry camera module gives error. Can you please help?

Best regards,

fswebcam -r 1280x1024 --no-banner image1.jpeg+ --- Opening /dev/video0... Trying source module v4l2... /dev/video0 opened. No input was specified, using the first. Error starting stream. VIDIOC_STREAMON: Invalid argument Unable to use mmap. Using read instead. --- Capturing frame... VIDIOC_DQBUF: Invalid argument Segmentation fault


ozgur@raspberrypi:~$ v4l2-ctl --list-devices bcm2835-codec-decode (platform:bcm2835-codec): /dev/video10 /dev/video11 /dev/video12 /dev/video18 /dev/video31 /dev/media4

bcm2835-isp (platform:bcm2835-isp): /dev/video13 /dev/video14 /dev/video15 /dev/video16 /dev/video20 /dev/video21 /dev/video22 /dev/video23 /dev/media1 /dev/media3

unicam (platform:fe801000.csi): /dev/video0 /dev/video1 /dev/media0

rpivid (platform:rpivid): /dev/video19 /dev/media2