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