Gentoo Archives: gentoo-user

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No Sound while video capturing with guvcview
Date: Sun, 08 May 2011 09:28:23
Message-Id: BANLkTikcX69VQEJ_4WuE2ZQASMNemag=iA@mail.gmail.com
In Reply to: [gentoo-user] No Sound while video capturing with guvcview by meino.cramer@gmx.de
1 On Sun, May 8, 2011 at 12:00 PM, <meino.cramer@×××.de> wrote:
2
3 > Hi,
4 >
5 > may be one can help me...
6 >
7 > I am using a webcam (lsusb: Bus 001 Device 002: ID 1415:2000 Nam Tai
8 > E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation
9 > Eye) on my window board to capture videos from the crow, which often
10 > visits me in summer.
11 >
12 > The PS-Eye cam has one (four?) microphones to capture audio and
13 > delivers up to 60 fps.
14 >
15 > The setup was working last summer with video AND audio.
16 >
17 > This summer only video is captured. The resulting video file
18 > seems to contain a "null audio" (no sound samples other than
19 > zeroes...)
20 >
21 > When playing the file with mplayer, this is the output on the terminal
22 > (the video plays ok beside the fact that there is no sound to hear...)
23 >
24 > [aviheader] Video stream found, -vid 0
25 > [aviheader] Audio stream found, -aid 1
26 >
27 > Badly interleaved AVI file detected - switching to -ni mode...
28 > AVI: No audio stream found -> no sound.
29 > VIDEO: [MJPG] 640x480 24bpp 60.094 fps 29695.7 kbps (3625.0
30 > kbyte/s)
31 > Clip info:
32 > Title:
33 > Software: guvcview-1.4.5
34 > Comments: Sun May 8 09:51:35 2011
35 >
36 > ==========================================================================
37 > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
38 > Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
39 >
40 > ==========================================================================
41 >
42 > ==========================================================================
43 > Opening audio decoder: [pcm] Uncompressed PCM audio decoder
44 > AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
45 > Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
46 >
47 > ==========================================================================
48 > AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
49 > Starting playback...
50 > Movie-Aspect is undefined - no prescaling applied.
51 > VO: [gl2] 640x480 => 640x480 Planar 422P
52 > [gl2] You have OpenGL >= 1.2 capable drivers, GOOD (16bpp and BGR is
53 > ok!)
54 > [gl2] antialiasing off
55 > [gl2] bilinear linear
56 > A: -0.0 V: 1.3 A-V: -1.265 ct: -0.126 77/ 77 14% 88% 0.0% 0 0
57 > Capturing not enabled (forgot -capture parameter?)
58 > A: -0.0 V: 14.8 A-V:-14.844 ct: -1.486 893/893 10% 89% 0.0% 0 0
59 >
60 > What can I do/check/test/experiment to get back the audio again....?
61 >
62 > Thank you very much for any help in advance!
63 >
64 > Have a nice sunday!
65 > Best regards
66 > mcc
67 >
68 >
69 > From your output it shows that the sound is not null.
70 Does your sound works playing other files (alsamixer)?
71 Can you record now a picture with the webcam and play it with sound after?
72
73 Kfir

Replies