Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] No Sound while video capturing with guvcview Kfir Lavi <lavi.kfir@×××××.com>