안되는 원인을 찾아보고 싶었으나,
한컴의 프로그램 추가/삭제 마법사(remover)에서
mplayer패키지의 무수한 삭제/재설치를 반복한 결과,
한컴리눅스3.0배포판에 포함되어 있는 rpm이 모든 기종과는 호환되지 않는다는
제 맘대로의 결론을 내리고,
결국 공식사이트(www.mplayerhq.hu)의 소스(0.90pre10-3.2)를 컴파일 시켜서 성공했습니다.
코덱은 기존 경로에 오버라이트 시켰구요.
그래도 저한텐 레드햇8.0보다는 한컴3,0이 궁합에 맞는 것 같군요. 외양도 깔끔하고..
하여튼 같은 방법으로 레드햇8.0에서는 실패의 연속이었고,
이 사이트 동쪽하늘님의 패키지도 마찬가지로 소용없었습니다.
어쨌든..
설치옵션은 ./configure --prefix=/usr/local/mplayer --with-gui
실행화일은 /user/local/mplayer/bin/에 있고,
환경경로는 아래와 같이 잡아
/user/local/mplayer/etc/codecs.conf
/user/local/mplayer/etc/mplayer.conf(소스의 etc디렉코리에서 카피 & 알맞게 수정)
/user/local/mplayer/share/font/폰트디렉토리/
계정과 상관없이 일률적으로 적용시켰습니다.
근데 PATH가 적용이 안되어 ~/.bach_profile에 포함시켰네요.
절대경로로 실행시키면 별 문제 안되지만 아무래도 불편하겠죠.
저와 같은 문제로 고생하시는 분들 께서는,
레드햇8.0보다는 한컴리눅스3.0이 기본으로 깔리는 mplayer를 해보시고 안되면,
삭제 후 공식사이트의 소스로 컴파일 하는 방법을 참고해 보셔도
좋을 듯 싶습니다.
암튼 이넘 때문에 무한 삽질한 것을 생각하면, 어흑~~!!
: mplayer로 재생시, 아래와 같은 메세지와 함께 종료되는데요. 이유가 무엇인지...
:
: 사용환경은 센스670cc308 셀러론333a/256M이며
: 한컴리눅스 3.0 설치 후 설정변경 없이 실행했습니다.
: 레드햇8.0에서는 소리까지는 나왔습니다.
: 다른 리얼플레이어나 XMMS는 잘 됩니다.
: 유독 mplayer만 말썽이네요.
:
: 고수님의 조언 부탁드립니다.
:
:
: * CASE #1 : avi 재생시
:
: [root@s670lnx media]# mplayer kfccnk.avi
: Using GNU internationalization
: Original domain: messages
: Original dirname: /usr/share/locale
: Current domain: mplayer
: Current dirname: /usr/share/locale
:
:
: MPlayer 0.90pre9-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)
:
: CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping:10)
: CPUflags: MMX:1 MMX2: 0 3DNow:0 3DNow2: 0 SSE:0 SSE2: 0
: Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
:
: Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': 그런 파일이나 디렉토리가 없
: 음 Reading /etc/mplayer/codecs.conf: 38 audio & 110 video codecs
: init_freetype
: Using Linux hardware RTC timing (1024Hz)
: Can't open input config file /root/.mplayer/input.conf : 그런 파일이나 디렉토리가 없음
: Can't open input config file /etc/mplayer/input.conf : 그런 파일이나 디렉토리가 없음
: Falling back on default (hardcoded) input config
:
: Playing kfccnk.avi
: Cache fill: 0.00% (0 bytes) Detected AVI file format!
: VIDEO: [DIV3] 352x240 24bpp 29.97 fps 2051.8 kbps (250.5 kbyte/s)
: ==========================================================================
: Opening audio decoder: [pcm] Uncompressed PCM audio decoder
: AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411.2 kbit)
: Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
: ==========================================================================
: vo: couldn't open the X11 display ()!
: Error opening/initializing the selected video_out (-vo) device!
:
:
: -----------------------------------------------------------------------------
:
:
: * CASE #2 : asf, wmv, mpg 재생시
:
: [root@s670lnx media]# mplayer aheheh_yuuka.mpg
: Using GNU internationalization
: Original domain: messages
: Original dirname: /usr/share/locale
: Current domain: mplayer
: Current dirname: /usr/share/locale
:
:
: MPlayer 0.90pre9-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS)
:
: CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping:10)
: CPUflags: MMX:1 MMX2: 0 3DNow:0 3DNow2: 0 SSE:0 SSE2: 0
: Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
:
: Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': 그런 파일이나 디렉토리가 없
: 음 Reading /etc/mplayer/codecs.conf: 38 audio & 110 video codecs
: init_freetype
: Using Linux hardware RTC timing (1024Hz)
: Can't open input config file /root/.mplayer/input.conf : 그런 파일이나 디렉토리가 없음
: Can't open input config file /etc/mplayer/input.conf : 그런 파일이나 디렉토리가 없음
: Falling back on default (hardcoded) input config
:
: Playing aheheh_yuuka.mpg
: Cache fill: 13.38% (1122304 bytes) Detected MPEG-PS file format!
: VIDEO: MPEG1 352x240 (aspect 12) 29.97 fps 1437.5 kbps (179.7 kbyte/s)
: ==========================================================================
: Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
:
:
: MPlayer interrupted by signal 4 in module: init_audio_codec
: - MPlayer crashed by 'Illegal Instruction'. It usually happens when you run it on different CPU than it was compiled/o
: ptimized for. Verify this! - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and ma
: ke a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b. - MPlayer crashed. This shoul
: dn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPla
: yer's fault, please read DOCS/bugreports.html and follow instructions there. We can't and won't help unless you provid
: e these informations when reporting a possible bug. -----------------------------------------------------------------------------