Hi, just posting this in case it helps someone else, as I couldn't find anyone reporting the same thing or any information on how to troubleshoot.
I have a cheap Chinese webcam which works with other software like Skype and Cheese. When I start guvcview 2.01 it asks me to choose between the webcam and my video capture card (which is listed a number of times), after which a window flashes up and then goes away so quickly that I can't see what it is. Nothing else happens, but guvcview still thinks it is running.
Guvcview seems to ignore options like -d, -a and -k (perhaps it just tries everything if what the user specifies fails?), so I didn't know how to start with troubleshooting, but I found that the git version works.
This is the console output with 2.0.1
# guvcview
GUVCVIEW: couldn't open /root/.config/guvcview2/video0 for read: No such file or directory
V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: /dev/video0 does not support streaming i/o
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
sh-4.3# GUVCVIEW: couldn't open /root/.config/guvcview2/video1 for read: No such file or directory
V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_equal.c:236:(_snd_pcm_equal_open) Problem with control file .alsaequal.bin.
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_equal.c:236:(_snd_pcm_equal_open) Problem with control file .alsaequal.bin.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
V4L2_CORE: V4L2_CAP_TIMEPERFRAME not supported
V4L2_CORE: Unable to set 1/25 fps
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, I'm not sure that the git version does work properly. It did the first couple of times I ran it (ignoring a crash that occurred when I clicked on something - can't remember what), but now the control window or whatever it is is a blank 200x200 window, which isn't very useful. And once it did the same thing that 2.01 did (i.e. did nothing after I select the webcam).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
More testing reveals it actually does it quite often.
Also, the guvcview process doesn't actually exit when I close the window - I have to manually interrupt it with Ctrl-C in the terminal I started it from. Presumably if this was fixed then it would also exit in the cases where it doesn't work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, just posting this in case it helps someone else, as I couldn't find anyone reporting the same thing or any information on how to troubleshoot.
I have a cheap Chinese webcam which works with other software like Skype and Cheese. When I start guvcview 2.01 it asks me to choose between the webcam and my video capture card (which is listed a number of times), after which a window flashes up and then goes away so quickly that I can't see what it is. Nothing else happens, but guvcview still thinks it is running.
Guvcview seems to ignore options like -d, -a and -k (perhaps it just tries everything if what the user specifies fails?), so I didn't know how to start with troubleshooting, but I found that the git version works.
This is the console output with 2.0.1
Actually, I'm not sure that the git version does work properly. It did the first couple of times I ran it (ignoring a crash that occurred when I clicked on something - can't remember what), but now the control window or whatever it is is a blank 200x200 window, which isn't very useful. And once it did the same thing that 2.01 did (i.e. did nothing after I select the webcam).
More testing reveals it actually does it quite often.
Also, the guvcview process doesn't actually exit when I close the window - I have to manually interrupt it with Ctrl-C in the terminal I started it from. Presumably if this was fixed then it would also exit in the cases where it doesn't work.
And this is the crash output I got in case anyone is interested:
Last edit: Alister Hood 2015-03-14
I also had a case where nothing happened when I started guvc, and the terminal output finished with this:
Hi,
2015-03-14 0:40 GMT+00:00 alister.hood hoodbild@users.sf.net:
this particular problem:
is easily fixable.
actually I've just committed a fix to git.
Now this one:
needs a little more of debugging, I couldn't reproduce this one, so I
need to understand where exactly this comes from.
could you provide a backtrace?
Regards,
Paulo