Menu

#68 Impossible to start Eviacam (V4L2 issue ?)

open
nobody
None
linux
5
2023-05-10
2022-03-29
No

Hello,

before starting, I would like to apologise for my english, if needed don't hesitate to tell me you can't understand something.

Also, I guess this is the right place for my problem, if not tell me please where should I create a topic and seek help.


I would like to install on Debian sid Eviacam and make it works.

I'm installing Eviacam (2.1.4-2+b2) from the Debian repository.

When I try to run it from GUI, a small window tell me there is no webcam detected. If I try to do it from command line the output is:

kgaspard@desktop:~$ eviacam
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name = 'User Controls', type = 6
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x00980001, name = 'User Controls'
[libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009A0001, name = 'Camera Controls', type = 6
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009A0001, name = 'Camera Controls'
[ WARN:0] global ./modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.

If I try to run the binary "eviacamloader" I have the same error in the window before plus this output:

kgaspard@desktop:~$ eviacamloader
Use: 1000, Group: 1000. Eff. usr: 1000, Eff. group: 1000
eviacamloader: this program needs root privileges. not renicing.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/\29309LIB/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[ WARN:0] global ./modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.
Use: 1000, Group: 1000. Eff. usr: 1000, Eff. group: 1000


My Debian have the python3-opencv package (4.5.4+dfsdg-9+b4)) installed:

kgaspard@desktop:~$ dpkg -l | grep opencv
ii libopencv-calib3d4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Camera Calibration library
ii libopencv-contrib4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision contrlib library
ii libopencv-core4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision core library
ii libopencv-dnn4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Deep neural network module
ii libopencv-features2d4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Feature Detection and Descriptor Extraction library
ii libopencv-flann4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Clustering and Search in Multi-Dimensional spaces library
ii libopencv-highgui4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision High-level GUI and Media I/O library
ii libopencv-imgcodecs4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Image Codecs library
ii libopencv-imgproc4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Image Processing library
ii libopencv-ml4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Machine Learning library
ii libopencv-objdetect4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Object Detection library
ii libopencv-photo4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision computational photography library
ii libopencv-shape4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision shape descriptors and matchers library
ii libopencv-stitching4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision image stitching library
ii libopencv-video4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Video analysis library
ii libopencv-videoio4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision Video I/O library
ii libopencv-viz4.5d:amd64 4.5.4+dfsg-9+b4 amd64 computer vision 3D data visualization library
ii opencv-data 4.5.4+dfsg-9 all development data for opencv
ii python3-opencv:amd64 4.5.4+dfsg-9+b4 amd64 Python 3 bindings for the computer vision library

Any ideas why it's not working ?

Hardware:

  • Webcam: Logitech, Inc. HD Pro Webcam C920, it's working with Kamoso.

After some research on Google I didn't find a proper fix for this problem.

Regards,
koshieœ

Discussion

  • GASPARD Kévin

    GASPARD Kévin - 2022-03-29

    I would like to add, I have run "eviacam" in DEBUG mode:

    [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x00980001, name = 'User Controls', type = 6
    [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x00980001, name = 'User Controls'
    [libwebcam] Invalid V4L2 control type encountered: ctrl_id = 0x009A0001, name = 'Camera Controls', type = 6
    [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009A0001, name = 'Camera Controls'
    DEBUG: Opened device 'video0' successfully (handle = 1)

    DEBUG: Getting device information for handle 1 ...

    DEBUG: { shortName = 'video0', name = 'HD Pro Webcam C920', driver = 'uvcvideo', location = 'usb-0000:01:00.0-7', vid = 046d, pid = 082d, bcd = 17 }

    DEBUG: Getting control information for handle 1 ...

    DEBUG: Control found: Brightness

    DEBUG: { id = 1, name = 'Brightness', type = 6, flags = 3
    DEBUG: , min = 0, max = 255, def = 128, step = 1
    DEBUG: }

    DEBUG: Control found: Contrast

    DEBUG: { id = 2, name = 'Contrast', type = 6, flags = 3
    DEBUG: , min = 0, max = 255, def = 128, step = 1
    DEBUG: }

    DEBUG: Control found: Saturation

    DEBUG: { id = 4, name = 'Saturation', type = 6, flags = 3
    DEBUG: , min = 0, max = 255, def = 128, step = 1
    DEBUG: }

    DEBUG: Control found: White Balance, Automatic

    DEBUG: { id = 9, name = 'White Balance, Automatic', type = 2, flags = 3
    DEBUG: , min = 0, max = 1, def = 1, step = 1
    DEBUG: }

    DEBUG: Control found: Gain

    DEBUG: { id = 3, name = 'Gain', type = 6, flags = 3
    DEBUG: , min = 0, max = 255, def = 0, step = 1
    DEBUG: }

    DEBUG: Control found: Power Line Frequency

    DEBUG: { id = 13, name = 'Power Line Frequency', type = 3, flags = 3
    DEBUG: , choice = {
    DEBUG: 'Disabled'[0]
    DEBUG: '50 Hz'[1]
    DEBUG: '60 Hz'[2]
    DEBUG: }
    DEBUG: }

    DEBUG: Control found: White Balance Temperature

    DEBUG: { id = 8, name = 'White Balance Temperature', type = 6, flags = 3
    DEBUG: , min = 2000, max = 6500, def = 4000, step = 1
    DEBUG: }

    DEBUG: Control found: Sharpness

    DEBUG: { id = 7, name = 'Sharpness', type = 6, flags = 3
    DEBUG: , min = 0, max = 255, def = 128, step = 1
    DEBUG: }

    DEBUG: Control found: Backlight Compensation

    DEBUG: { id = 12, name = 'Backlight Compensation', type = 6, flags = 3
    DEBUG: , min = 0, max = 1, def = 0, step = 1
    DEBUG: }

    DEBUG: Control found: Auto Exposure

    DEBUG: { id = 15, name = 'Auto Exposure', type = 3, flags = 3
    DEBUG: , choice = {
    DEBUG: 'Manual Mode'[1]
    DEBUG: 'Aperture Priority Mode'[3]
    DEBUG: }
    DEBUG: }

    DEBUG: Control found: Exposure Time, Absolute

    DEBUG: { id = 17, name = 'Exposure Time, Absolute', type = 6, flags = 3
    DEBUG: , min = 3, max = 2047, def = 250, step = 1
    DEBUG: }

    DEBUG: Control found: Exposure, Dynamic Framerate

    DEBUG: { id = 16, name = 'Exposure, Dynamic Framerate', type = 2, flags = 3
    DEBUG: , min = 0, max = 1, def = 0, step = 1
    DEBUG: }

    DEBUG: Control found: Pan, Absolute

    DEBUG: { id = 27, name = 'Pan, Absolute', type = 6, flags = 3
    DEBUG: , min = -36000, max = 36000, def = 0, step = 3600
    DEBUG: }

    DEBUG: Control found: Tilt, Absolute

    DEBUG: { id = 29, name = 'Tilt, Absolute', type = 6, flags = 3
    DEBUG: , min = -36000, max = 36000, def = 0, step = 3600
    DEBUG: }

    DEBUG: Control found: Focus, Absolute

    DEBUG: { id = 20, name = 'Focus, Absolute', type = 6, flags = 3
    DEBUG: , min = 0, max = 250, def = 0, step = 5
    DEBUG: }

    DEBUG: Control found: Focus, Automatic Continuous

    DEBUG: { id = 19, name = 'Focus, Automatic Continuous', type = 2, flags = 3
    DEBUG: , min = 0, max = 1, def = 1, step = 1
    DEBUG: }

    DEBUG: Control found: Zoom, Absolute

    DEBUG: { id = 24, name = 'Zoom, Absolute', type = 6, flags = 3
    DEBUG: , min = 100, max = 500, def = 100, step = 1
    DEBUG: }

    DEBUG: Closed device 'video0' (handle = 0)

    DEBUG: Opened device 'video1' successfully (handle = 2)

    DEBUG: Getting device information for handle 2 ...

    DEBUG: { shortName = 'video1', name = 'HD Pro Webcam C920', driver = 'uvcvideo', location = 'usb-0000:01:00.0-7', vid = 046d, pid = 082d, bcd = 17 }

    DEBUG: Getting control information for handle 2 ...

    DEBUG: No controls found (ret = 0).

    DEBUG: Closed device 'video1' (handle = 0)

    INFO: Previous used camera: (Id:0) HD Pro Webcam C920...
    INFO: FOUND
    INFO: Detected 2 camera(s)
    INFO: Selected camera: 0
    INFO: Try to open the camera to make sure it works...
    [ WARN:0] global ./modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.

     
  • GASPARD Kévin

    GASPARD Kévin - 2022-04-02

    Any ideas regarding this problem ?

     

Log in to post a comment.

Monday.com Logo