FEDORA9 사운드 권한이 문제일까요?
fedora 9 을 사용중입니다.(Gnome)
근데 사운드에 좀 문제가 있습니다.
일반유저인 'pogusm'이란 ID로 사용할때의 상황입니다.
1. 리듬박스에서 mp3연주가 잘됩니다. / 동시에 gmplayer로 동영상을 돌려도 (소리/영상)잘 나옵니다.
2. 1번의 상황에서 파이어폭스를 열고, youtube동영상을 보려고하면, 첫프레임에서 멈추며 소리도 나오지 않습니다.
모든창을 닫은후,
3. 파이어폭스를 열고 / 리듬박스+gmplayer 정상적으로 작동합니다.
모든창을 닫은후,
4. 파이어폭스를 열고 youtube에서 동영상을 봅니다 -> 잘 나옵니다 /// 그뒤에 리듬박스에서 mp3를 실행하면 연주되지 않습니다 // gmplayer로 동영상을 실행하면 Could not open/initialize audio device -> no sound. 라는 메시지와 함께 영상만 나오고 소리는 나오지 않습니다. (근데 콘솔에서 "mplayer 파일명"으로 실행하면, 쥐소리만큼 작은 소리가 나옵니다.)
5. 4번의 상황에서, su - 로 root권한으로 "mplayer 파일명"하면 영상,소리 모두 잘 나옵니다.
6. 4번의 상황에서, firefox 프로세스를 죽여버리고 리듬박스,mplayer를 실행하면 잘 나옵니다.
아래는 4번 상황에서, mplayer 파일명 했을때의 모습입니다.
[pogusm@localhost taken]$ mplayer \[K.BS1\]2007\ PBI\ 세계의\ 공영방송\ -\ 50년 후의\ 미래\,\ 인체.071010.Xvid.avi MPlayer dev-SVN-r27054-4.1.2 (C) 2000-2008 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 120 audio & 253 video codecs Playing [K.BS1]2007 PBI 세계의 공영방송 - 50년후의 미래, 인체.071010.Xvid.avi. AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 640x352 12bpp 29.970 fps 1230.9 kbps (150.3 kbyte/s) Clip info: Software: VirtualDubMod 1.5.10.2 (build 2540/release) Comments: <a href="http://www.ental.co.kr" rel="nofollow">http://www.ental.co.kr</a> [VO_XV] Using Xv Adaptor #0 (NV17 Video Texture) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 mpg123: Can't rewind stream by 14 bits! AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy [AO_ALSA] alsa-lib: pcm_hw.c:1132:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy [AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: Device or resource busy [AO ESD] latency: [server: 0.27s, net: 0.00s] (adjust 0.27s) AO: [esd] 44100Hz 2ch s16le (2 bytes per sample) Starting playback... [mpeg4 @ 0x881e910]Invalid and inefficient vfw-avi packed B frames detected [mpeg4 @ 0x881e910]Invalid and inefficient vfw-avi packed B frames detected VDec: vo config request - 640 x 352 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.82:1 - prescaling to correct movie aspect. VO: [xv] 640x352 => 640x352 Planar YV12 No bind found for key 'MOUSE_BTN0'. 7% 0 0 A: 5.5 V: 5.5 A-V: 0.000 ct: 0.024 166/166 12% 0% 2.7% 0 0 Exiting... (Quit)
아래는 5번 상황에서, root권한으로 mplayer 파일명 했을때의 모습입니다.
[root@localhost taken]# mplayer \[K.BS1\]2007\ PBI\ 세계의\ 공영방송\ -\ 50년후의\ 미래\,\ 인체.071010.Xvid.avi MPlayer dev-SVN-r27054-4.1.2 (C) 2000-2008 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Playing [K.BS1]2007 PBI 세계의 공영방송 - 50년후의 미래, 인체.071010.Xvid.avi. AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [XVID] 640x352 12bpp 29.970 fps 1230.9 kbps (150.3 kbyte/s) Clip info: Software: VirtualDubMod 1.5.10.2 (build 2540/release) Comments: <a href="http://www.ental.co.kr" rel="nofollow">http://www.ental.co.kr</a> [VO_XV] Using Xv Adaptor #0 (NV17 Video Texture) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 mpg123: Can't rewind stream by 14 bits! AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy [AO_ALSA] alsa-lib: pcm_hw.c:1132:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy [AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: Device or resource busy [AO ESD] esd_open_sound failed: No such file or directory [AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le [AO_ALSA] alsa-lib: pcm_hw.c:1132:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy [AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave AO: [sdl] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... [mpeg4 @ 0x881e910]Invalid and inefficient vfw-avi packed B frames detected [mpeg4 @ 0x881e910]Invalid and inefficient vfw-avi packed B frames detected VDec: vo config request - 640 x 352 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.82:1 - prescaling to correct movie aspect. VO: [xv] 640x352 => 640x352 Planar YV12 A: 3.8 V: 3.8 A-V: -0.013 ct: 0.028 114/114 13% 0% 1.4% 0 0 Exiting... (Quit)
어떻게 해야 하는걸까요? ㅠㅠ
조언 부탁드립니다.
http://pulseaudio.revolutionl
http://pulseaudio.revolutionlinux.com/PulseAudio
OTL
댓글 달기