I am using a valid UVC webcam in arch linux and it worked well with ffmpeg.
Code: Select all
ffmpeg -f v4l2 -s 320x240 -i /dev/video0 output.mpg
It once worked in zoneminder with "local" type, but somehow it doesn't work now maybe after some configuration changed. Then I tried "ffmpeg" type. At first, the log said "Permission Denied", so I added user "http" into group "video", but there is still no video or even green screen when I click "monitor-1", there are only some controlling buttons. When I checked the log, it turned to be
Code: Select all
Unable to open input /dev/video0 due to: Inappropriate ioctl for device
THX