SIPSorceryMedia.FFmpeg icon indicating copy to clipboard operation
SIPSorceryMedia.FFmpeg copied to clipboard

In Ubuntu, I am getting Error: octl(VIDIOC_G_INPUT): Inappropriate ioctl for device

Open mail2mhossain opened this issue 1 year ago • 1 comments

[video4linux2,v4l2 @ 0x558aa9181500] fd:207 capabilities:84a00001 [video4linux2,v4l2 @ 0x558aa9181500] fd:207 capabilities:84a00001 [video4linux2,v4l2 @ 0x558aa88de740] fd:212 capabilities:84a00001

[video4linux2,v4l2 @ 0x558aa88de740] ioctl(VIDIOC_G_INPUT): Inappropriate ioctl for device

Would you please help me to resolve it.

BTW: My code is working in Windows 11 and MacOS.

mail2mhossain avatar Oct 22 '23 05:10 mail2mhossain

I assume you're accessing a Webcam because of the v4l2.

Did you use the correct path for the camera? /dev/video0? /dev/video1?

Did the code work with other cameras? if so, then the webcam might need specific driver and its not a UVC.

ha-ves avatar Jul 08 '24 07:07 ha-ves