zmc:Unable to open input /dev/video0 due to: Inappropriate i

Forum for questions and support relating to the 1.25.x releases only.
Locked
gtolden
Posts: 2
Joined: Sat Jun 08, 2013 5:09 am

zmc:Unable to open input /dev/video0 due to: Inappropriate i

Post by gtolden »

Hi everyone.
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
Anyone know what's going on?

THX
gtolden
Posts: 2
Joined: Sat Jun 08, 2013 5:09 am

Re: zmc:Unable to open input /dev/video0 due to: Inappropria

Post by gtolden »

Also, when I try type "local" after I added user "http" to video group, the log says
zms:Unable to authenticate user
while zmc is working quite well
Locked