Install VEO Stingray webcam on Mint 17.1

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Thu Feb 01, 2018 10:51 am

I have a VEO Stingray webcam that I'm trying to get working on Mint 17.1. So far I've had no luck. lsusb shows and properly identifies the camera. lsmod shows the GSPCA-TV8532 driver module loaded. Skype and Cheese see the camera but do not activate it. Cheese reports "Problem reading device output stream".Tried many webcam view/control apps but result is the same. Some on the net/forum suggest uvcvideo or ibmcam drivers. Have not been able to find gstreamer or ibmcam modules in Synaptic. All replies are appreciated.

Thanks
Marty, N3MOW

deepakdeshp
Level 11
Level 11
Posts: 3698
Joined: Sun Aug 09, 2015 10:00 am

Re: Install VEO Stingray webcam on Mint 17.1

Post by deepakdeshp » Sat Feb 03, 2018 2:19 pm

Please try installing latest kernel version of 4.13 kernel series using ubuntu kernel update utility.
Reboot and test
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Mon Feb 05, 2018 12:25 pm

Thank you for the response.I'm running Mint 17.1 with kernel 3.XXX.139. Mint update gives me the option of installing kernel 3.13.0.141.151. Kernel 4.13 is not listed. Is that an indication that 4.13 is not recomended for Mint 17.1? I have not found the Ubuntu kernel update utility on my Mint system. Where is it? I know Mint is built on Ubuntu but, I do not know how closely they are related.

When I boot up without the camera plugged in lsusb returns:
$ lsusb
Bus 001 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05ad:0fba Y.C. Cable U.S.A., Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

With the camera plugged in after boot:
$ lsusb
Bus 001 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0545:8333 Xirlink, Inc. Veo Stingray/Connect Web Camera
Bus 002 Device 002: ID 05ad:0fba Y.C. Cable U.S.A., Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$

sudo lsmod | grep gspca
gspca_tv8532 13036 0
gspca_main 36692 1 gspca_tv8532
videodev 134688 2 gspca_tv8532,gspca_main
$

Cheese shows that usb camera (0545:8333)(/dev/video0) is listed but reports error "There was an error playing video from the webcam".

Looks to me as though the usb camera and drivers are loaded but, no video output. Any other suggestion other than updating the kernel. I'd like to do that as a last resort.

Thanks,
Marty

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Thu Feb 08, 2018 7:59 pm

Hello,

Do you have guvcview, gstreamer as well as gstreamer good, bad, ugly, plugins installed? I have linuxmint 17.3 and had to install all of the v4l and v4l2 packages I could find plus qv4l2, uvcdynctrl, motion, dvsource, dov4l, etc.

If you install v4l2-ctl, you can use it in the terminal as a command like this:
v4l2-ctl --list-devices

Once all needed packages are installed hopefully the command above will show you your webcam and whether it is /dev/video0 or /dev/video1.

Then I would open up guvcview and see if it works.

This post may help: viewtopic.php?f=49&t=252402

If you need more help please ask.

Sincerely,
Marcia

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Sat Feb 10, 2018 11:59 am

Marcia,

Thanks for your response. Loaded all of the modules you suggested. I was not sure how many of the gstreamer plugins I should load. There are so many of them. Here is the terminal output showing the responses to commands:

marty@marty-RB042AV-ABA-a1410y ~ $ lsusb
Bus 001 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 009: ID 0545:8333 Xirlink, Inc. Veo Stingray/Connect Web Camera
Bus 002 Device 002: ID 05ad:0fba Y.C. Cable U.S.A., Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
marty@marty-RB042AV-ABA-a1410y ~ $ lsmod | grep gspca
gspca_tv8532 13036 0
gspca_main 36692 1 gspca_tv8532
videodev 134688 2 gspca_tv8532,gspca_main
marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl --list-devices
USB Camera (0545:8333) (usb-0000:00:13.0-3):
/dev/video1

Failed to open /dev/video0: No such file or directory
marty@marty-RB042AV-ABA-a1410y ~ $

guvcview reports it is unable to open device. I think it is looking /dev/video0 not /dev/video1. I think, but, cannot be sure, that the camera was on /dev/video0 then switched to /dev/vidieo1 as I was working with v4l2 settings. Cheese shows the same error as before. No video, What should I set the camera output to? rgb3, bgr3, yu12 or yv12? Could to codec be the trouble? Which codec should I use?

Hope this information helps.

Regards,
Marty

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Mon Feb 12, 2018 1:41 pm

Hi Marty,

I think this all looks good and promising. I would make sure mplayer is installed. After it is installed I would try this command in the terminal: mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video1 -fps 30 . If that works you can try with cheese with this command: cheese -d /dev/video1. If you already
have changed your camera to /dev/video0 then of course change video1 to video0 in the above commands. I had this same issue at first. If you get
video please let us know.

If you wish to try guvcview, then I found I had to open it from the command line with sudo first and make sure it was using /dev/video1, the correct sound card, no higher resolution than 640 widthx480 height, 30 fps, and yes I had to choose the right codec which were only 2 that worked: the rgb3 one worked and do not remember the other that worked. Once it was setup then I could close it and start the guvcview as user and everything was setup correctly. Worked very well. Another point for my webcam was the guvcview from the ppa worked and the one from linuxmint did not work for me. In the link I posted in previous post there are directions for adding this ppa, if needed. It is possible linuxmint's works now, I do not know.

If you have more questions, please ask.

Best Regards,

Marcia

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Wed Feb 21, 2018 8:30 pm

Marcia,

Tried all you suggested. Camera still not working. Got errors on guvcview see below. Now using the current version. Cannot find ffmpeg. Tried rgb3 codec does not seem to help. I know you suggested loading all the gstreamer plugins but there are so many. Synaptic shows streamer rather than gstreamer. Should I load all of the streamer pugins - good bad & ugly?

Error messages:
marty@marty-RB042AV-ABA-a1410y / $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 30
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB Camera (0545:8333)
Capabilities: video capture read/write streaming
supported norms:
inputs: 0 = tv8532;
Current input: 0
Current format: unknown (0x31384142)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl streamon failed: Timer expired
Failed to open VDPAU backend libvdpau_r300.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Cannot find codec matching selected -vo and video format 0x31384142.
==========================================================================

v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting... (End of file)

marty@marty-RB042AV-ABA-a1410y / $ cheese -d /dev/video0
libv4l2: error turning on stream: Timer expired

(cheese:4385): cheese-WARNING **: Internal data flow error.: gstbasesrc.c(2865): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin17/GstV4l2Src:video_source:
streaming task paused, reason not-negotiated (-4)

What would you suggest trying now?

Regards,
Marty

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Fri Feb 23, 2018 1:14 pm

Hi Marty,

If I have this correct you said that your webcam changed to /dev/video1? If that is the case then you would need to use the mplayer command like this: mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video1 -fps 30 . If that does not work then I would use this command again: v4l2-ctl –list-devices , to find out exactly which /dev/video your camera is using. Whatever the result shows then I would do the mplayer command above with the correct /dev/video. If you get some video then that would be great. I do not believe you need gstreamer for using this mplayer command. Maybe just start with that and let me know.

If you still wish to try guvcview again, then you will need very many gstreamer packages. Here are 2 screenshots of mine from synaptic package manager showing some of my gstreamer packages installed:
gstreamer.png
and
gstreamer2.png
. I need to use many since I do audio and video work. If you have enough of the gstreamer packages installed then I would use the terminal command: guvcview -d /dev/video1 or guvcview -d /dev/video0. I would not bother with cheese at this point unless you wish to. I did not have luck with the cheese command until the other commands above were working first.

If you get any results or not please let me know.

Good fortune.

Marcia

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Fri Feb 23, 2018 6:49 pm

Hi Marty,

I found the specs for your camera from this site: https://www.cnet.com/products/veo-sting ... era/specs/

Some info from the site below:

Digital Video Format
AVI
Max Digital Video Resolution
320 x 240
Features
auto exposure control, auto white balance, color control

The important thing here is for the commands I gave you in the previous post, the video resolutions are too high.

I would do these commands instead: mplayer tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video1 -fps 15 or mplayer tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -fps 15.

If you wish to try guvcview after all needed gstreamer packages are installed, I would use this command in the termial: sudo guvcview -d /dev/video1 , or sudo guvcview -d /dev/video0. This would hopefully open up and then you could choose your settings such as the video resolution of 320x240, fps probably 10 or 15, and whatever else you need to. If that all works then rom then on you should just be able to open guvcview from your menu and it will just work with all of the settings correct. That is how it worked for me anyway.

If you need more help, please ask.

Sincerely,
Marcia

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Fri Feb 23, 2018 8:31 pm

Marcia,

Thanks for your continued efforts. Verified that the camera was on /dev/video0. v4l2-ctl --list-devices returned:

USB Camera (0545:8333) (usb-0000:00:3.1-3)

mplayer tv:// -tv driver=4l2:wiidth=320:heigh=240:.device=/dev/video0 -fps 15 returned:

marty@marty-RB042AV-ABA-a1410y ~ $ mplayer tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -fps 15
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB Camera (0545:8333)
Capabilities: video capture read/write streaming
supported norms:
inputs: 0 = tv8532;
Current input: 0
Current format: unknown (0x31384142)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl streamon failed: Timer expired
Failed to open VDPAU backend libvdpau_r300.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Cannot find codec matching selected -vo and video format 0x31384142.
==========================================================================

v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

Exiting... (End of file)
marty@marty-RB042AV-ABA-a1410y ~ $

Unfortunately the two synaptic .png files are too small for me to read the file names. Tried to zoom them in but lost definition. Could you send them in a larger size?

Regards,
Marty

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Sat Feb 24, 2018 12:16 pm

Hi Marty,

I already sent the graphics in a large resolution. When I double click them they become very large for me. I usually download graphics to my desktop
and then view them with the image viewer. That works the best for me. Can you put your cursor on top of the graphic and then right click and choose save image as, then choose desktop to download it to? Hope this works.

I do not have much time today but will investigate this more tomorrow. I know it works in linux. Do you have all of the mplayer packages installed? I would install smplayer, gnome-mplayer, mencoder,transcode,mplayer, mplayer-fonts, mplayer-gui, mplayer-skins,h264enc,ubuntu-restricted-addons, ubuntu-restricted-extras,ffmpeg. You may already have some of these installed. There could be even more packages needed. Maybe install avidemux-common which should pull in some more packages. It will not hurt.

The camera uses the avi container. It is possible more packages need to be installed, yet. After these are installed, if you wish, you can try the mplayer command again. At least we know now that your camera is at /dev/video0.

Perhaps not a bad idea to use these commands in the terminal with camera plugged in:

v4l2-ctl --list-ctrls

v4l2-ctl --list-formats-ext

You can see all of the possible commands by using this command in the terminal: v4l2-ctl --help.

Let me know anything new, if you wish.

Sincerely,

Marcia

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Sun Feb 25, 2018 9:22 pm

Marcia,

I've added all the packages you recommended except memcoder, gstreamer0.10-plugins-good:i386 and gstreamer0.10-x:i386. Could not find them in Synaptic. Tested with guvcview no change. Error/messages below:

marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl --list-ctrls

User Controls

exposure (int) : min=0 max=399 step=1 default=399 value=399
gain (int) : min=0 max=2047 step=1 default=256 value=256
marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'BA81'
Name : BA81
Size: Discrete 176x144
Size: Discrete 352x288

marty@marty-RB042AV-ABA-a1410y ~ $


marty@marty-RB042AV-ABA-a1410y ~ $ lsusb
Bus 001 Device 004: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0545:8333 Xirlink, Inc. Veo Stingray/Connect Web Camera
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05ad:0fba Y.C. Cable U.S.A., Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
marty@marty-RB042AV-ABA-a1410y ~ $ mplayer tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -fps 15
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: USB Camera (0545:8333)
Capabilities: video capture read/write streaming
supported norms:
inputs: 0 = tv8532;
Current input: 0
Current format: unknown (0x31384142)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Inappropriate ioctl for device
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl dequeue buffer failed: No such device, idx = 0
v4l2: ioctl query buffer failed: No such device, idx = 0
Failed to open VDPAU backend libvdpau_r300.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Cannot find codec matching selected -vo and video format 0x31384142.
==========================================================================

v4l2: ioctl streamoff failed: No such device
v4l2: ioctl set mute failed: No such device
v4l2: 0 frames successfully processed, 1 frames dropped.

Exiting... (End of file)
marty@marty-RB042AV-ABA-a1410y ~ $

Could it be the BA81 format?

Regards,
Marty

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Tue Feb 27, 2018 2:47 pm

Hi Marty,

I must apologize to you. I had not tried those mplayer commands on my webcam for some years and when I did last night,
they did not work. There are probably newer commands that would work so I will have to research that.
So, for now, if you have fmpeg installed, I would suggest this command in terminal:

ffplay /dev/video0

This one worked for my webcam. Please let me know if this works.

Now onto gstreamer. If you have enough of the gstreamer plugins and packages installed these three separate commands may work in the terminal :

gst-launch-0.10 v4l2src ! xvimagesink

gst-launch-1.0 v4l2src ! xvimagesink

gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,framerate=10/1,width=352,height=288 ! xvimagesink

All of the above commands worked for my webcam.

Kindly, let me know if any of them work, please.

I would suggest installing mencoder this way in a terminal:

sudo apt-get update

sudo apt-get install mencoder

I do not think BA81 is the problem:

Type : Video Capture
Pixel Format: 'BA81'
Name : BA81
Size: Discrete 176x144
Size: Discrete 352x288

Above shows the 2 video resolutions that your camera can use. I was not aware of those resolutions so the command above
I put in the correct video resolution for your camera.

Sincerely,

Marcia

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Tue Feb 27, 2018 8:14 pm

Marcia,

Thanks for your continued support. The results of the suggested commands is below:

marty@marty-RB042AV-ABA-a1410y ~ $ ffplay /dev/video0
ffplay version 3.3.3 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --disable-ffserver --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc --enable-libzimg
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
[video4linux2,v4l2 @ 0x7f55c80008c0] Time per frame unknown f=0/0
[video4linux2,v4l2 @ 0x7f55c80008c0] ioctl(VIDIOC_STREAMON): Timer expired
/dev/video0: Timer expired

marty@marty-RB042AV-ABA-a1410y ~ $ gst-launch-0.10 v4l2src ! xvimagesink
Setting pipeline to PAUSED ...
libv4l2: error turning on stream: Timer expired
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error starting streaming on device '/dev/video0'.
Additional debug info:
gstv4l2object.c(2230): gst_v4l2_object_start_streaming (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Timer expired
Setting pipeline to NULL ...
Freeing pipeline ...
marty@marty-RB042AV-ABA-a1410y ~ $ gst-launch-1.0 v4l2src ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
libv4l2: error turning on stream: Timer expired
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.015410511
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
marty@marty-RB042AV-ABA-a1410y ~ $ gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,framerate=10/1,width=352,height=288 ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)YV12, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)10/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)YV12, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)10/1
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0.GstPad:sink: caps = video/x-raw, format=(string)YV12, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)10/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)YV12, width=(int)352, height=(int)288, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)10/1
libv4l2: error turning on stream: Timer expired
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.018898364
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
marty@marty-RB042AV-ABA-a1410y ~ $

In addition quvcview now reports "core (get_v4l2_frame 0 video stream must be started first". That is a;so mentioned in the error messages above. Do we need to start the stream somehow?

Regards,
Marty

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Thu Mar 01, 2018 6:32 pm

Hi Marty,

I have been researching since yesterday. It is possible you need even more v4l and v4l2 packages installed. Here is a screenshot of some of my packages installed:
v4letc.jpg
I would suggest these additional packages and install either from synaptic or in the terminal like this:

sudo apt-get install v4l-utils

sudo apt-get install webcam

sudo apt-get install libv4l-0

sudo apt-get install libqt4-dev

sudo apt-get install qv4l2

sudo apt-get install libv4l-dev

sudo apt-get install luvcview

You may have some of these above already.

Once you have all of these plus the ones I have installed from the screenshot that are not included in the commands above,
then I suggest :

1st unplug your webcam, reboot, do not plug it in until linuxmint is totally booted up. Once you plug it in
I would use this program from the menu. In the menu it is called Qt v4l2 test Utility, this is actually from the package
qv4l2. Here is a screenshot of mine with your camera values set up.
qv4l2.png
You will possibly have to choose those
values yourself, I am not sure. Push the round red button at the top in box to capture video and if all is well you will have a small display come
up showing a live video from your webcam.

If this still does not work, then
try the commands in terminal below:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so guvcview

or

LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so guvcview

These above 2 commands were from an old forum and they were suggested for your camera. May or may not be needed now.

if none of these worked would you please do these commands in terminal and let me know results of each if you will:

v4l2-ctl -I
v4l2-ctl -D
v4l2-ctl -L
v4l2-ctl -n
v4l2-ctl -P
v4l2-ctl --get-priority

Here is my result for the vl2-ctl -D command:

v4l2-ctl -D
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : UVC Camera (046d:0821)
Bus info : usb-0000:00:16.2-4
Driver version: 4.4.98
Capabilities : 0x84200001
Video Capture
Streaming
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming

Your result will be different.

Please let me know if any of these work.

Maybe success will happen soon.

Good fortune,

Marcia

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Fri Mar 02, 2018 11:42 am

Marcia,

Added all packages and tried commands No success. guvcview shows black - no image. Output of the commands you suggested is below. Will include a .png of v4l2 test bench. guvcview still reports "Must start stream first"

marty@marty-RB042AV-ABA-a1410y ~ $ lsusb
Bus 001 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 006: ID 0545:8333 Xirlink, Inc. Veo Stingray/Connect Web Camera
Bus 002 Device 002: ID 05ad:0fba Y.C. Cable U.S.A., Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

marty@marty-RB042AV-ABA-a1410y ~ $ locate v4l1compat.so
/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so
/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so

V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first
V4L2_CORE: (get_v4l2_frame) video stream must be started first


marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl -I
Video input : 0 (tv8532: ok)


marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl -L

User Controls

exposure (int) : min=0 max=399 step=1 default=399 value=399
gain (int) : min=0 max=2047 step=1 default=256 value=256

marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl -D
Driver Info (not using libv4l2):
Driver name : tv8532
Card type : USB Camera (0545:8333)
Bus info : usb-0000:00:13.0-3
Driver version: 3.13.11
Capabilities : 0x85000001
Video Capture
Read/Write
Streaming
Device Capabilities
Device Caps : 0x05000001
Video Capture
Read/Write
Streaming

marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl -n
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : tv8532
Type : 0x00000002
Audioset : 0x00000000
Tuner : 0x00000000
Standard : 0x0000000000000000 ()
Status : 0x00000000 (ok)
Capabilities: 0x00000000 (not defined)
marty@marty-RB042AV-ABA-a1410y ~ $

marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl -P
Streaming Parameters Video Capture:
Frames per second: invalid (0/0)
Read buffers : 2

marty@marty-RB042AV-ABA-a1410y ~ $ v4l2-ctl --get-priority
Priority: 2
marty@marty-

Hope this helps.

Regards,
Marty

/home/marty/Desktop/Screenshot-V4L2 Test Bench.png
Attachments
Screenshot-V4L2 Test Bench.png
v4l2 Test Bench

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Sat Mar 03, 2018 12:14 pm

Hi Marty,

This is getting interesting. Thank you very much for sending me the helpful info
and screenshot.

Just read 2 things about the veo: one is it needs a lot of light to work. Here is a quote from an amazon.com review:" This camera requires a lot of light to operate efficiently. A single desk lamp with a 120V bulb is not enough for good quality. Mine only really looks good when my 2 main lights in the room are on". Another point is this camera does not always work in a usb3 port and may need to be plugged into a usb2 port.

I would suggest to install another package in the terminal: sudo apt-get install libpt-plugins-v4l

If you have a bright room and it is plugged into usb2 port then I have another command
to try that worked for me:

mplayer tv://

If that works please let me know.

The screenshot of v4l2 test is very helpful, thank you. If you would open the Qt v4l2 test utility again with your camera plugged in, can you change the BA81 to RGB3? If you would ,also, open the user tab and see if you can make some adjustments. Here is a screen shot of part of mine:
V4L2testusertab.png
Would you kindly send me a screenshot of that user tab opened? Thanks. After adjustments you can push the red button at top again and see if something happens.

It sounds like you got a black box when you used the guvcview. You could try that again and then try to make adjustments in guvcview. Main thing is get much more brightness, as far as your camera can go. Gain, too, if possible. I read somewhere that someone with a similar camera had a black window and no fps until he made his room extremely bright. It may be worth a try.

This error message: guvcview still reports "Must start stream first" I will have to research more. Maybe your camera needs to be unplugged and plugged back in often between programs, do not know. I am not an expert. Does the led on the camera light up when you open a video box such as the black box in guvcview?

Hope you can get this working.

Sincerely,
Marcia

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Sat Mar 03, 2018 5:33 pm

Marcia,

Unable to find libpt-plugins-v4l in Synaptic. Tried to increase gain and used bright light source, No change. My v4l2 Test Bench user tab is different from yours. See attachment. No the LED on the camera does not come on with any program. Maybe the camera is at fault.

Regards.
Marty
Attachments
Screenshot-V4L2 Test Bench-1.png

marcia
Level 3
Level 3
Posts: 112
Joined: Sat Oct 27, 2007 3:34 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by marcia » Mon Mar 05, 2018 10:47 pm

Hi Marty,

Thank you for the screenshot. It is possible that is is a faulty camera, however it is well recognized by these
programs. My led on my webcam does not come on unless the program I am using actually starts the camera.

I may be running out of ideas, but have a couple. I would suggest installing xawtv and all of the programs that
are installed for xawtv in my screenshot here:
xawtvpackages.png
If you can get all of these installed then if you would try this command in terminal:

xawtv -c /dev/video0

if the above does not work try:

xawtv -nodga

If these still do not work, perhaps even more packages needed, or faulty camera possibly.

Have you considered upgrading to 17.3 linuxmint? I did an upgrade from 17.1 to 17.3 some
months ago and everything went well.

Perhaps if you were willing to purchase another uvc compliant webcam. The one you have
is not uvc compliant but is still supposed to work in linux. It is easier to have success with a
a uvc compliant webcam , known to work in linux.

If I get some more ideas, will let you know.

Sincerely,
Marcia

Ham13
Level 1
Level 1
Posts: 36
Joined: Sat Aug 23, 2014 2:55 pm

Re: Install VEO Stingray webcam on Mint 17.1

Post by Ham13 » Thu Mar 08, 2018 11:08 am

Marcia,

Something new. I installed the xawtv packages and updated to Rosa. Somehow I got the led on the camera to light. Only problem is I do not remember how. I think I tried turning on the stream from vlc. Tried today but have not been able to duplicate it. Noticed that the camera started out as /dev/video0 then jumped to /dev/video1. Do not know why this happens. Unable to load or find package libt-plugins-v4l. Did I copy it incorrectly?

Results of xawtv commands:

marty@marty-RB042AV-ABA-a1410y ~ $ xawtv -c /dev/video1
This is xawtv-3.103, running on Linux/x86_64 (3.13.0-139-generic)
xinerama 0: 1440x900+0+0
libv4l2: error turning on stream: Timer expired
ioctl: VIDIOC_STREAMON(int=1): Timer expired
v4l2: oops: select timeout
libv4l2: error turning on stream: Timer expired
libv4l2: error reading: Invalid argument
v4l2: read: Invalid argument
marty@marty-RB042AV-ABA-a1410y ~ $ xawtv -nodga
This is xawtv-3.103, running on Linux/x86_64 (3.13.0-139-generic)
xinerama 0: 1440x900+0+0
vid-open-auto: using grabber/webcam device /dev/video1
libv4l2: error turning on stream: Timer expired
ioctl: VIDIOC_STREAMON(int=1): Timer expired
v4l2: oops: select timeout
game over
marty@marty-RB042AV-ABA-a1410y ~ $

In view of the camera led coming on I'm not sure it's the camera. Are there permissions or group memberships involved here?
marty@marty-RB042AV-ABA-a1410y ~ $ ls -l /dev | grep video*
crw-rw---- 1 root video 29, 0 Mar 8 09:26 fb0
crw-rw----+ 1 root video 81, 1 Mar 8 09:30 video1
marty@marty-RB042AV-ABA-a1410y ~ $

Regards,
Marty

Post Reply

Return to “Hardware Support”