Gentoo Archives: gentoo-user-ru

From: "Александр Черников" <daemon@×××××××.ru>
To: gentoo-user-ru@l.g.o
Subject: Re: [gentoo-user-ru] Проблема со звуком в видео.
Date: Sun, 09 Nov 2008 17:19:50
Message-Id: 49171BB2.5000809@uralweb.ru
In Reply to: [gentoo-user-ru] Проблема со звуком в видео. by userge
1 userge пишет:
2 > Поставил Gentoo.
3 > Возникла проблема при воспроизведении звука в видео плеерах.
4 > mpd+pypmd - воспроизводит звук - все ок. В видеоплеерах же звук не
5 > работает (mplayer, vlc).
6 >
7 >
8 > lspci | grep Audio
9 >
10 > 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
11 > (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
12 >
13 >
14 >
15 > serge@webii:~ lsmod
16 > Module Size Used by
17 > snd_pcm_oss 26272 0
18 > snd_mixer_oss 16128 1 snd_pcm_oss
19 > snd_intel8x0 29980 3
20 > snd_ac97_codec 91556 1 snd_intel8x0
21 > snd_pcm 59524 4 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
22 > snd_page_alloc 10632 2 snd_intel8x0,snd_pcm
23 > ac97_bus 5504 1 snd_ac97_codec
24 >
25 >
26 > alsaconf - находит карточку, и вроде как настраивает - после этого
27 > заработал звук в mpd.
28 >
29 > alsamixer - запускается только под root
30 >
31 > Под обычным пользователем -
32 >
33 > serge@webii:~ alsamixer
34 >
35 > alsamixer: function snd_ctl_open failed for default: No such file or
36 > directory
37 >
38 > Сообщения mplayer'a при открытии видео:
39 >
40 > Opening audio decoder: [liba52] AC3 decoding with liba52
41 > Using SSE optimized IMDCT transform
42 > Using MMX optimized resampler
43 > AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
44 > Selected audio codec: [a52] afm: liba52 (AC3-liba52)
45 > ==========================================================================
46 >
47 > [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
48 > [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function
49 > snd_func_card_driver returned error: No such file or directory
50 > [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating
51 > strings
52 > [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function
53 > snd_func_concat returned error: No such file or directory
54 > [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating
55 > name
56 > [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function
57 > snd_func_refer returned error: No such file or directory
58 > [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No
59 > such file or directory
60 > [AO_ALSA] alsa-lib: pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM
61 > default
62 > [AO_ALSA] Playback open error: No such file or directory
63 > [AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le
64 > [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
65 > [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function
66 > snd_func_card_driver returned error: No such file or directory
67 > [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating
68 > strings
69 > [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function
70 > snd_func_concat returned error: No such file or directory
71 > [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating
72 > name
73 > [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function
74 > snd_func_refer returned error: No such file or directory
75 > [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No
76 > such file or directory
77 > [AO_ALSA] alsa-lib: pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM
78 > default
79 > [AO SDL] Unable to open audio: No available audio device
80 >
81 >
82 > Куда смотреть?
83 >
84 > wbr, Serge.
85 >
86 >
87 >
88 Нужно добавить пользователя в группу audio

Replies