On 12/22/14 04:00, meino.cra...@gmx.de wrote:
Joseph <syscon...@gmail.com> [14-12-22 03:52]:
On 12/21/14 22:08, Alexander Kapshuk wrote:
>  grep '^CONFIG.*V4L' /usr/src/linux/.config
>  CONFIG_VIDEO_V4L2=m
>  CONFIG_V4L_PLATFORM_DRIVERS=y
>  CONFIG_MEDIA_SUPPORT=m
>  CONFIG_USB_VIDEO_CLASS=m
>  CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
>  CONFIG_USB_GSPCA=m
>  CONFIG_MEDIA_PCI_SUPPORT=y
>  grep -s ^LD_PRELOAD .*
>  .bash_profile:LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so
>  Also, you may want to try plugging you webcam into a USB2 port, if
>  available, instead of a USB3 one, as suggested here,
>
>[6]http://linux-kernel.2935.n7.nabble.com/3-15-8-USB-issue-with-uvc-cam
>  -td920378.html.
>  Hope this helps.

When I try to run: guvcview

I get:
guvcview 1.6.1
ALSA lib
/var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate)
Unknown PCM cards.pcm.rear
ALSA lib
/var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate)
Unknown PCM cards.pcm.center_lfe
ALSA lib
/var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate)
Unknown PCM cards.pcm.side
ALSA lib
/var/tmp/portage/media-libs/alsa-lib-1.0.28/work/alsa-lib-1.0.28/src/pcm/pcm_route.c:947:(find_matching_chmap)
Found no matching channel map
video device: /dev/video0 ERROR opening V4L2 interface for /dev/video0
unable to detect video devices on your system (0)
ERROR opening V4L interface: Permission denied
Init video returned -1
VIDIOC_REQBUFS - Failed to delete buffers: Inappropriate ioctl for
device (errno 25)
cleaned allocations - 100%
Closing portaudio ...OK

--
Joseph


Hi Joseph,

in conjucntion with the C920 I found that guvcview does not plai well
with it.

First try to get anything from your webcam, before trying Skype or
such - so you have to fight against too many "open ends" or failure
sources.

Do you have gstreamer installed?

Try this command/shell script:
You have to adopt the device options to you setup.
It will record and display the video stream.

#! /bin/zsh
td=`date +%Y-%m-%d-%Hh%Mh%Ss`
fn=c920-$td.mp4
gst-launch-1.0 v4l2src device=/dev/video1 ! 
video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse ! muxout. alsasrc 
device="hw:3,0" ! queue ! audioconvert ! lamemp3enc ! muxout. matroskamux 
name=muxout streamable=true ! filesink location=$fn &
mplayer $fn &

HTH!
Best regards,
Meino

I can get a video when I run "guvcview" with banch of errors:

vid:046d pid:0825 driver:uvcvideo
mapping control for Pan (relative)
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Tilt (relative)
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Pan Reset
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Tilt Reset
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Focus (absolute)
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for LED1 Mode
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for LED1 Frequency
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Disable video processing
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Raw bits per pixel
UVCIOC_CTRL_MAP - Error: No such file or directory
mapping control for Off
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
checking format: 1196444237
VIDIOC_G_COMP:: Inappropriate ioctl for device
fps is set to 1/25
drawing controls

Checking video mode 640x480@32bpp : OK Could not grab image (select timeout): Resource temporarily unavailable

When I try to record anything bunch of errors messages popping up in command 
line:

(guvcview:5004): GConf-WARNING **: error creating revert set: Client failed to 
connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I don't think this web-cam is Linux friendly :-/
Are there any alternative, web-cam that support Linux 100%

--
Joseph

Reply via email to