Пишу приложение на Qt5 для захвата web камеры.
...
camera = new QCamera();
camera->setCaptureMode(QCamera::CaptureStillImage);
camera_viewfinder = new QCameraViewfinder();
camera->setViewfinder(camera_viewfinder);
camera_viewfinder->setAspectRatioMode(Qt::KeepAspectRatio);
camera_image_capture = new QCameraImageCapture(camera);
...
camera->start();
libv4l2: error set_fmt gave us a different result then try_fmt!
CameraBin error: "Устройство «/dev/video0» не может осуществлять захват в указанном формате"
CameraBin error: "Internal data stream error."
[ 109.762872] usb 1-1: USB disconnect, device number 2
[ 112.486789] usb 1-1: new high-speed USB device number 7 using xhci_hcd
[ 112.675227] usb 1-1: New USB device found, idVendor=0c45, idProduct=6340
[ 112.675234] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 112.675237] usb 1-1: Product: USB 2.0 Camera
[ 112.675241] usb 1-1: Manufacturer: Sonix Technology Co., Ltd.
[ 112.677907] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6340)
[ 112.691629] uvcvideo 1-1:1.0: Entity type for entity Extension 4 was not initialized!
[ 112.691637] uvcvideo 1-1:1.0: Entity type for entity Processing 3 was not initialized!
[ 112.691642] uvcvideo 1-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 112.692213] input: USB 2.0 Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/input/input13
[ 112.702685] usb 1-1: 3:1: cannot get freq at ep 0x84
[ 112.794212] usb 1-1: 3:1: cannot get freq at ep 0x84
[ 112.798211] usb 1-1: 3:1: cannot get freq at ep 0x84