동영상 및 음악파일 재생문제(gl, gl2 이외 no video)
글쓴이: iroors / 작성시간: 수, 2008/04/23 - 10:18오후
Linux : Ubuntu 8.04 Hardy
VGA : ATI Radeon X2300
안녕하세요~
ATI Driver 문제에 이어 또 이렇게 질문드립니다.
이번엔 동영상 및 음악파일이 제대로 재생이 안되는데요.
우선 이렇게 코덱들을 설치하였습니다.
sudo apt-get update sudo apt-get install w32codecs sudo aptitude install gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad-multiverse gstreamer0.10-ffmpeg sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gxine libxine-main1 libxine-extracodecs ogle ogle-gui
플레이어로는 Kaffeine, Totem Player, xine, vlc 로 테스트 해봤구요.
모두 소리가 안납니다.
(동영상뿐만 아니라 mp3를 재생해도 재생이 안되더군요.)
vlc를 제외하고는 10초쯤 재생되다가 먹통이 되어버립니다.
vlc는 영상은 나오지만 역시 소리는 안나오구요.
터미널에서 mplayer로 테스트를 해보면...
sudo mplayer -vo gl -ao alsa Secret.2007.SE.XViD.AC3-DTS.2AUDIO-WAF.avi MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team CPU: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz (Family: 6, Model: 23, Stepping: 6) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Secret.2007.SE.XViD.AC3-DTS.2AUDIO-WAF.avi. AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 [aviheader] Audio stream found, -aid 2 AVI: ODML: Building ODML index (3 superindexchunks). VIDEO: [XVID] 800x336 12bpp 23.976 fps 1889.8 kbps (230.7 kbyte/s) Clip info: Software: VirtualDubMod 1.5.10.2 (build 2540/release) SUB: Detected subtitle file format: sami SUB: Read 839 subtitles. SUB: Added subtitle file (1): ./Secret.2007.SE.XviD.AC3-DTS.2AUDIO-WAF.smi [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails. xscreensaver_disable: Could not find XScreenSaver window. ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Forced audio codec: mad Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000) Selected audio codec: [a52] afm: liba52 (AC3-liba52) ========================================================================== AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 800 x 336 (preferred colorspace: Planar YV12) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 2.38:1 - prescaling to correct movie aspect. [swscaler @ 0x8934890]SwScaler: using unscaled yuv420p -> rgb32 special converter VO: [gl] 800x336 => 800x336 BGRA A: 8.8 V: 8.8 A-V: 0.000 ct: 0.000 212/212 5% 40% 0.5% 1 0
소리가 재생이 되더군요. (일단 소리가 난다는것에 안도감이...^^;;)
xv, xll, xvidix 등 드라이버를 이용하면 no video로 나오면서 영상은 안나옵니다.
하지만, gl, gl2 드라이버를 이용하면 영상이 계속 깜빡이기는 하지만 재생은 되구요.
(3D 게임을 해보면 계속 깜빡이던데 혹시 이것도 관계가 있을까요?)
왜 이럴까요?
긴글 읽어 주셔서 감사합니다.
조언부탁드려요~^^
Forums:
Secret.2007.SE.XViD.AC3-DTS.2
Secret.2007.SE.XViD.AC3-DTS.2AUDIO-WAF.avi <---이 파일이 어떤건지 잘 몰라서 -,.-
테스트를 해 볼수가 없을것 같군요...
혹시 xvid 관련 라이브러리 dev 관련 패키지는 인스톨 하셨습니까?
libxv-dev libxvmc-dev libxvidcore4 libxvidcore4-dev 이런것들....
답변주셔서 감사합니다.
답변주셔서 감사합니다. 길이 보이네요~^^
코덱설치만으로 끝나는게 아니였군요.
알려주신 4개의 라이브러리 외에 다른것도 필요한가요?
제 검색실력으로는 다른 라이브러리를 못찾겠네요.
Error opening/initializing the selected video_out (-vo) device.
여전히 xv 드라이버가 안먹히네요.
혹시 apt-get install
혹시 apt-get install 해서 인스톨 하신겁니까?
아니면 소스 가져다가 컴파일 하신겁니까?
만약 저라면 소스 가져다가 컴파일을 한번해보겠습니다.(제가 그러고 있거든요..)
소스 가져다가 .configure 한번 치면 그 결과로 지금 있는 라이브러리가 xv, xvid, gl,gl2
등등을 지원하는지 혹은 alsa . oss등을 지원하는지 바로 표시해 주거든요..
그걸 확인하고 그다음 make, make install 돌립니다. 그러면 바로 /usr/local/ 아래에
설치가 됩니다...
어떤 상황에서는 apt-get 으로 설치한 mplayer 는 자꾸 죽습니다 7.10때에도 그랬고
그전 버젼에서도 그랬습니다...그래서 꼭 컴파일해 쓰게되죠, xine-ui 는 안그럽니다.
한번 테스트 해 보시길 바랍니다.
MPlayer-1.0rc1.tar.bz2 저는 이 버젼을 씁니다.
성공하시길.....
참고로 저의 configure
참고로 저의 configure 결과입니다.
어...이상하군..전엔 x264가 disable 되어 있었는데....
댓글 달기