SIPSorceryMedia.FFmpeg
SIPSorceryMedia.FFmpeg copied to clipboard
In Ubuntu, I am getting Error: octl(VIDIOC_G_INPUT): Inappropriate ioctl for device
[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.
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.