Unsolved Cannot show webcam image on ubuntu16.04.1
-
os : ubuntu16.04.1 64bits
Qt : 5.9.2
camera : logitech c170The camera example of Qt5(c++) cannot show the image of webcam(qml example work).
Error messages :
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
libv4l2: error got 4 consecutive frame decode errors, last error: v4l-convert: libjpeg error: End Of Image
CameraBin error: "Failed to allocate a buffer"
CameraBin error: "Internal data flow error."
CameraBin error: "Internal data flow error."Any idea how to fix this?Thanks
-
Hi,
You should enable QtMultimedia debugging to see what changes between the QML and C++ examples.