Search Unity

Error dequeuing image buffer in dummy camera

Discussion in 'Linux' started by pasko77, Feb 12, 2017.

  1. pasko77

    pasko77

    Joined:
    Oct 4, 2012
    Posts:
    5
    Hello everybody,
    I'm experiencing some problems with trying to view a dummy webcam from unity.

    The dummy camera is created with gstreamer

    gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=640,height=480 !v4l2sink device=/dev/video1

    and works when used like

    gst-launch-1.0 v4l2src device=/dev/video1 ! xvimagesink

    The output of v4l2-ctl

    v4l2-ctl --list-formats-ext -d /dev/video1
    ioctl: VIDIOC_ENUM_FMT
    Index : 0
    Type : Video Capture
    Pixel Format: 'YUYV'
    Name : YUYV 4:2:2
    Size: Discrete 640x480
    Interval: Discrete 0.033s (30.000 fps)

    The error received in Unity editor is:

    Error dequeuing image buffer: No such file or directory

    Any help?

    Thanks, Pasko
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    This looks like an error on our side - we should have this fixed in an upcoming build.