Microsoft HD-3000 webcam - v slow starting to record audio

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
unprinted
Level 2
Level 2
Posts: 54
Joined: Wed Jun 09, 2010 6:38 am

Microsoft HD-3000 webcam - v slow starting to record audio

Post by unprinted »

I have a UVC webcam (a Microsoft LifeCam HD-3000) that's supported according to http://www.ideasonboard.org/uvc/

It's recognised by the PC (Mint16 x86, MATE) and lsusb reckons that it is a

Bus 001 Device 007: ID 045e:0779 Microsoft Corp. LifeCam HD-3000

If I run Cheese, it shows video, and can take individual photos. But any video capture results in a zero length .webm file.

It's much the same with guvcview. The program shows video, but grabbing it results in zero length .avi or 557 byte .mkv files. (Interestingly, it won't do .jpg pictures - although they look a reasonable length, viewing them results in a 'Quantization table 0x00 was not defined' error - but will do .png successfully.) It doesn't make much difference what I select as the format for the video grab, the default mjpg or something else.

It may well work with Skype - I think my partner has used it for a video call - but I understand that uses an earlier generation of the UVC libraries.

I get exactly the same issues on a different PC running Xubuntu 13.10.

Cheese 3.8.3 with debug level 1:

Code: Select all

(cheese:4000): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed

(cheese:4000): cheese-WARNING **: Filter caps do not completely specify the output format

(cheese:4000): cheese-WARNING **: Internal data flow error.

Code: Select all

guvcview --version
guvcview 1.7.1
file guvcview_video.mkv has extension type 1
file guvcview_image.jpg has extension type 0
no codec detected for H264
no codec detected for MP3 - (lavc)
Last edited by unprinted on Thu Jan 30, 2014 7:53 am, edited 1 time in total.
unprinted
Level 2
Level 2
Posts: 54
Joined: Wed Jun 09, 2010 6:38 am

Re: UVC webcam - taking pictures, not doing video

Post by unprinted »

Cheese debug level 3 output (both level 4 and 5 are enormous!) from trying to grab video:

Code: Select all

cheese --gst-debug-level=3
0:00:00.276033045  4646  0x8eed4e0 WARN                  preset gstpreset.c:270:preset_open_and_parse_header:<vp8enc> Unable to read preset file /home/ian/.local/share/gstreamer-1.0/presets/GstVP8Enc.prs: No such file or directory
0:00:00.276408037  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'name' not in preset
0:00:00.276468783  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'parent' not in preset
0:00:00.276517445  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'end-usage' not in preset
0:00:00.276583114  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'target-bitrate' not in preset
0:00:00.276626031  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'min-quantizer' not in preset
0:00:00.276680182  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'max-quantizer' not in preset
0:00:00.276723070  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'dropframe-threshold' not in preset
0:00:00.276781878  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'resize-allowed' not in preset
0:00:00.276825944  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'resize-up-threshold' not in preset
0:00:00.276883201  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'resize-down-threshold' not in preset
0:00:00.276927011  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'undershoot' not in preset
0:00:00.276972111  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'overshoot' not in preset
0:00:00.277025739  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'buffer-size' not in preset
0:00:00.277069680  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'buffer-initial-size' not in preset
0:00:00.277114212  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'buffer-optimal-size' not in preset
0:00:00.277165826  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'twopass-vbr-bias' not in preset
0:00:00.277210580  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'twopass-vbr-minsection' not in preset
0:00:00.277262329  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'twopass-vbr-maxsection' not in preset
0:00:00.277307739  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'keyframe-mode' not in preset
0:00:00.277359926  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'keyframe-max-dist' not in preset
0:00:00.277403964  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'temporal-scalability-number-layers' not in preset
0:00:00.277447712  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'temporal-scalability-target-bitrate' not in preset
0:00:00.277488637  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'temporal-scalability-rate-decimator' not in preset
0:00:00.277528369  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'temporal-scalability-periodicity' not in preset
0:00:00.277567872  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'temporal-scalability-layer-id' not in preset
0:00:00.277607649  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'multipass-mode' not in preset
0:00:00.277646741  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'multipass-cache-file' not in preset
0:00:00.277685661  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'error-resilient' not in preset
0:00:00.277738363  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'threads' not in preset
0:00:00.277790772  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'horizontal-scaling-mode' not in preset
0:00:00.277831318  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'vertical-scaling-mode' not in preset
0:00:00.277879955  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'auto-alt-ref' not in preset
0:00:00.277919863  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'noise-sensitivity' not in preset
0:00:00.277958620  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'sharpness' not in preset
0:00:00.277997477  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'static-threshold' not in preset
0:00:00.278036127  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'token-partitions' not in preset
0:00:00.278075184  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'arnr-maxframes' not in preset
0:00:00.278113906  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'arnr-strength' not in preset
0:00:00.278152307  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'arnr-type' not in preset
0:00:00.278190682  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'tuning' not in preset
0:00:00.278229984  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'cq-level' not in preset
0:00:00.278268630  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'max-intra-bitrate' not in preset
0:00:00.278306165  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc> parameter 'timebase' not in preset
0:00:00.291486571  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'name' not in preset
0:00:00.291526079  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'parent' not in preset
0:00:00.291544600  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'end-usage' not in preset
0:00:00.291561717  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'target-bitrate' not in preset
0:00:00.291578129  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'min-quantizer' not in preset
0:00:00.291594801  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'max-quantizer' not in preset
0:00:00.291611029  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'dropframe-threshold' not in preset
0:00:00.291627491  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'resize-allowed' not in preset
0:00:00.291643680  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'resize-up-threshold' not in preset
0:00:00.291659979  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'resize-down-threshold' not in preset
0:00:00.291675999  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'undershoot' not in preset
0:00:00.291691669  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'overshoot' not in preset
0:00:00.291707701  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'buffer-size' not in preset
0:00:00.291723574  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'buffer-initial-size' not in preset
0:00:00.291739292  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'buffer-optimal-size' not in preset
0:00:00.291754856  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'twopass-vbr-bias' not in preset
0:00:00.291770710  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'twopass-vbr-minsection' not in preset
0:00:00.291786485  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'twopass-vbr-maxsection' not in preset
0:00:00.291804305  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'keyframe-mode' not in preset
0:00:00.291819612  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'keyframe-max-dist' not in preset
0:00:00.291835631  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'temporal-scalability-number-layers' not in preset
0:00:00.291851296  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'temporal-scalability-target-bitrate' not in preset
0:00:00.291866861  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'temporal-scalability-rate-decimator' not in preset
0:00:00.291882206  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'temporal-scalability-periodicity' not in preset
0:00:00.291897363  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'temporal-scalability-layer-id' not in preset
0:00:00.291912648  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'multipass-mode' not in preset
0:00:00.291938660  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'multipass-cache-file' not in preset
0:00:00.291954268  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'error-resilient' not in preset
0:00:00.291974722  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'threads' not in preset
0:00:00.291994351  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'horizontal-scaling-mode' not in preset
0:00:00.292009981  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'vertical-scaling-mode' not in preset
0:00:00.292032330  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'auto-alt-ref' not in preset
0:00:00.292053076  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'noise-sensitivity' not in preset
0:00:00.292073038  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'sharpness' not in preset
0:00:00.292093306  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'static-threshold' not in preset
0:00:00.292111403  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'token-partitions' not in preset
0:00:00.292130028  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'arnr-maxframes' not in preset
0:00:00.292149714  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'arnr-strength' not in preset
0:00:00.292169561  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'arnr-type' not in preset
0:00:00.292189602  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'tuning' not in preset
0:00:00.292211108  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'cq-level' not in preset
0:00:00.292231778  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'max-intra-bitrate' not in preset
0:00:00.292251958  4646  0x8eed4e0 WARN                  preset gstpreset.c:565:gst_preset_default_load_preset:<vp8enc0> parameter 'timebase' not in preset
0:00:00.317167797  4646  0x8eed4e0 WARN           audioresample gstaudioresample.c:1535:plugin_init: Orc disabled, can't benchmark int vs. float resampler
0:00:00.317199642  4646  0x8eed4e0 WARN         GST_PERFORMANCE gstaudioresample.c:1538:plugin_init: orc disabled, no benchmarking done
0:00:00.411143403  4646  0x91d8c60 FIXME                default gstutils.c:3649:gst_pad_create_stream_id_printf_valist:<preview-appsrc:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.411628175  4646  0x8eed4e0 WARN                 v4l2src gstv4l2src.c:586:gst_v4l2src_query:<video_source> Can't give latency since framerate isn't fixated !
0:00:01.712650876  4646  0x920bd20 WARN              bufferpool gstbufferpool.c:632:gst_buffer_pool_set_config:<v4l2bufferpool0> can't change config, we are active
0:00:01.712700626  4646  0x920bd20 WARN              bufferpool gstbufferpool.c:632:gst_buffer_pool_set_config:<v4l2bufferpool0> can't change config, we are active
0:00:01.732377583  4646  0x91d8bb0 WARN             cluttersink ./clutter-gst-video-sink.c:1401:clutter_gst_video_sink_render: Replacing existing buffer 0xa410c168 (most likely wasn't displayed)
0:00:04.487555838  4646 0xa41037b0 FIXME                default gstutils.c:3649:gst_pad_create_stream_id_printf_valist:<audiosrc-actual-src-puls:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id

(cheese:4646): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed
0:00:04.994567991  4646  0x920bd20 WARN              capsfilter gstcapsfilter.c:348:gst_capsfilter_prepare_buf:<videobin-capsfilter> error: Filter caps do not completely specify the output format
0:00:04.994590302  4646  0x920bd20 WARN              capsfilter gstcapsfilter.c:348:gst_capsfilter_prepare_buf:<videobin-capsfilter> error: Output caps are unfixed: video/x-raw, width=(int)[ 1, 32767 ], height=(int)[ 1, 32767 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, RGB15, ARGB64, AYUV64, I420, v210, v216, NV12, NV21, NV16, NV24, BGR16, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE }; video/x-vp8, width=(int)[ 16, 4096 ], height=(int)[ 16, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:04.994647956  4646  0x920bd20 WARN           basetransform gstbasetransform.c:2130:gst_base_transform_handle_buffer:<videobin-capsfilter> could not get buffer from pool: error

(cheese:4646): cheese-WARNING **: Filter caps do not completely specify the output format

0:00:04.994719907  4646  0x920bd20 WARN                 basesrc gstbasesrc.c:2865:gst_base_src_loop:<video_source> error: Internal data flow error.
0:00:04.994732100  4646  0x920bd20 WARN                 basesrc gstbasesrc.c:2865:gst_base_src_loop:<video_source> error: streaming task paused, reason error (-5)

(cheese:4646): cheese-WARNING **: Internal data flow error.

0:00:05.623896908  4646  0x8eed4e0 WARN           cheese-camera libcheese/cheese-camera.c:1806:cheese_camera_get_recorded_time: Failed to get time from video filesink from camerabin
(I would have done this and the next as an attachment, but I am told I cannot upload .txt or .log or anything else I have tried files...)
unprinted
Level 2
Level 2
Posts: 54
Joined: Wed Jun 09, 2010 6:38 am

Re: UVC webcam - taking pictures, not doing video

Post by unprinted »

guvcview debug output, again attempting to do video capture:

Code: Select all

guvcview -v
guvcview 1.7.1
file guvcview_video.mkv has extension type 1
file guvcview_image.jpg has extension type 0
no codec detected for H264
no codec detected for MP3 - (lavc)
file guvcview_image.jpg has extension type 0
Video file suffix detected: 1
Image file suffix detected: 1
video_device: /dev/video0
vid_sleep: 0
cap_meth: 1
resolution: 640 x 480
windowsize: 560 x 560
spin behavior: 0
default action: 0
mode: mjpg
fps: 1/25
Display Fps: 0
bpp: 0
hwaccel: 1
avi_format: 8
sound: 1
sound Device: 0
sound samp rate: 0
sound Channels: 0
Sound delay: 0 nanosec
Sound Format: 80 
Pan Step: 2 degrees
Tilt Step: 2 degrees
Video Filter Flags: 0
image inc: 2
profile(default):/home/ian/default.gpfl
starting portaudio...
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 confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CMI8738-MC8.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CMI8738-MC8.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CMI8738-MC8.pcm.modem.0:CARD=0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CMI8738-MC8.pcm.modem.0:CARD=0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CMI8738-MC8.pcm.modem.0:CARD=0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.CMI8738-MC8.pcm.modem.0:CARD=0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM phoneline
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
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
language catalog=> dir:/usr/share/locale type:UTF-8 lang:en_GB.UTF-8 cat:guvcview.mo
Screen resolution is (1920 x 1080)
mjpg: setting format to 1196444237
capture method = 1
video device: /dev/video0 
Device Node Path: /dev/video0
  VID/PID: 045e 0779
  Microsoft
  Microsoft® LifeCam HD-3000
  serial: (null)
Init. Microsoft® LifeCam HD-3000 (location: usb-0000:00:12.2-2)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
vid:045e 
pid:0779 
driver:uvcvideo
checking format: 1196444237
VIDIOC_G_COMP:: Inappropriate ioctl for device
fps is set to 1/30
no codec detected for H264
no codec detected for MP3 - (lavc)
drawing controls

control[0]: 0x980900  Brightness, 30:255:1, default 133 , current 133
control[0]: 0x980901  Contrast, 0:10:1, default 5 , current 4
control[0]: 0x980902  Saturation, 0:200:1, default 83 , current 83
control[0]: 0x98090c  White Balance Temperature, Auto, 0:1:1, default 1 , current 1
control[0]: 0x980918  Power Line Frequency, 0:2:1, default 2 , current 1
adding menu entry 0: 0, Disabled
adding menu entry 1: 1, 50 Hz
adding menu entry 2: 2, 60 Hz
control[0]: 0x98091a  White Balance Temperature, 2800:10000:1, default 4500 , current 4500
control[0]: 0x98091b  Sharpness, 0:50:1, default 25 , current 50
control[0]: 0x98091c  Backlight Compensation, 0:10:1, default 0 , current 0
control[0]: 0x9a0901  Exposure, Auto, 0:3:1, default 1 , current 3
adding menu entry 0: 1, Manual Mode
adding menu entry 1: 3, Aperture Priority Mode
control[0]: 0x9a0902  Exposure (Absolute), 5:20000:1, default 156 , current 156
control[0]: 0x9a0908  Pan (Absolute), -201600:201600:3600, default 0 , current 0
control[0]: 0x9a0909  Tilt (Absolute), -201600:201600:3600, default 0 , current 0
control[0]: 0x9a090d  Zoom, Absolute, 0:10:1, default 0 , current 0
resolutions of format(2) = 11 
frame rates of 1º resolution=5 
fps is set to 1/30
Def. Res: 0  numb. fps:5
--------------------------------------- device #0
Name                     = C-Media CMI8768: C-Media PCI DAC/ADC (hw:0,0)
Host API                 = ALSA
Max inputs = 2, Max outputs = 2
Def. low input latency   =    0.012
Def. low output latency  =    0.012
Def. high input latency  =    0.046
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #1
Name                     = C-Media CMI8768: C-Media PCI 2nd DAC (hw:0,1)
Host API                 = ALSA
Max inputs = 0, Max outputs = 8
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #2
Name                     = C-Media CMI8768: C-Media PCI IEC958 (hw:0,2)
Host API                 = ALSA
Max inputs = 2, Max outputs = 2
Def. low input latency   =    0.012
Def. low output latency  =    0.012
Def. high input latency  =    0.046
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #3
Name                     = Microsoft® LifeCam HD-3000: USB Audio (hw:1,0)
Host API                 = ALSA
Max inputs = 1, Max outputs = 0
Def. low input latency   =    0.012
Def. low output latency  =   -1.000
Def. high input latency  =    0.046
Def. high output latency =   -1.000
Def. sample rate         = 44100.00
--------------------------------------- device #4
Name                     = HDA ATI HDMI: HDMI 0 (hw:2,3)
Host API                 = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #5
Name                     = sysdefault
Host API                 = ALSA
Max inputs = 128, Max outputs = 128
Def. low input latency   =    0.043
Def. low output latency  =    0.043
Def. high input latency  =    0.046
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #6
Name                     = front
Host API                 = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #7
Name                     = rear
Host API                 = ALSA
Max inputs = 0, Max outputs = 8
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #8
Name                     = surround40
Host API                 = ALSA
Max inputs = 0, Max outputs = 4
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #9
Name                     = surround41
Host API                 = ALSA
Max inputs = 0, Max outputs = 128
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #10
Name                     = surround50
Host API                 = ALSA
Max inputs = 0, Max outputs = 128
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #11
Name                     = surround51
Host API                 = ALSA
Max inputs = 0, Max outputs = 6
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #12
Name                     = surround71
Host API                 = ALSA
Max inputs = 0, Max outputs = 8
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #13
Name                     = iec958
Host API                 = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency   =   -1.000
Def. low output latency  =    0.012
Def. high input latency  =   -1.000
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #14
Name                     = spdif
Host API                 = ALSA
Max inputs = 2, Max outputs = 2
Def. low input latency   =    0.012
Def. low output latency  =    0.012
Def. high input latency  =    0.046
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #15
Name                     = pulse
Host API                 = ALSA
Max inputs = 32, Max outputs = 32
Def. low input latency   =    0.012
Def. low output latency  =    0.012
Def. high input latency  =    0.046
Def. high output latency =    0.046
Def. sample rate         = 44100.00
--------------------------------------- device #16
Name                     = dmix
Host API                 = ALSA
Max inputs = 0, Max outputs = 2
Def. low input latency   =   -1.000
Def. low output latency  =    0.043
Def. high input latency  =   -1.000
Def. high output latency =    0.043
Def. sample rate         = 48000.00
--------------------------------------- device #17
[ Default Input, Default Output ]
Name                     = default
Host API                 = ALSA
Max inputs = 32, Max outputs = 32
Def. low input latency   =    0.012
Def. low output latency  =    0.012
Def. high input latency  =    0.046
Def. high output latency =    0.046
Def. sample rate         = 44100.00
----------------------------------------------
SampleRate:0 Channels:0
Video driver: x11
A window manager is available
(Desktop resolution = 1920x1080)
Checking video mode 640x480@32bpp : OK 
file guvcview_video.mkv has extension type 1
Video file suffix detected: 1
DEBUG: video codec changed to 0
using device id:3
Cap Video toggled: 1
(/home/ian) 85763144K bytes free on a total of 1354360568K (used: 93 %) treshold=102400K
STREAM: add stream 0 to stream list
using audio codec: 0x0050
	channels: 1  samplerate: 44100
AUDIO: codec mp2 selected
Audio frame size is 1152 samples for selected codec
AUDIO: samples(1152)
STREAM: add stream 1 to stream list
MKV: add seekhead entry 0 (max 10)
MKV: add seekhead entry 1 (max 10)
Cap Video toggled: 0
Shuting Down IO Thread
Expression 'paTimedOut' failed in 'src/os/unix/pa_unix_util.c', line: 387
Expression 'PaUnixThread_New( &stream->thread, &CallbackThreadFunc, stream, 1., stream->rtSched )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2922
An error occured while starting the audio API
Error number: -9987
Error message: Wait timed out
Expression 'pthread_join( self->thread, &pret )' failed in 'src/os/unix/pa_unix_util.c', line: 441
At that point, the guvcview control panel stopped responding and I killed the task.
unprinted
Level 2
Level 2
Posts: 54
Joined: Wed Jun 09, 2010 6:38 am

Re: Microsoft HD-3000 webcam - v slow starting to record aud

Post by unprinted »

I've changed the title of the thread, because it is looking like a sound issue with the webcam.

Using guvcview...

.. when I try to record video with no sound or sound from the sound card's microphone, it works. Video and sound are in sync in the latter case.

.. when I try to record video with sound from the webcam, there's a delay of a count of about 20 before the sound input is recognised (having the VU bars checkbox set is helpful here, and it takes that long for them to appear). Video and sound are that out of sync in the resulting file, if it is usuable.

If I try to set the webcam as the source of sound in audacity, there is a similar length delay before it acknowledges that it is set up, and another long delay of many seconds before anything actually is recorded when I press record.

Is anyone else seeing this, either with this webcam or any other one?
Post Reply

Return to “Hardware Support”