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

Replies