mplayer 사용 질문 입니다.

formltr의 이미지

레드헷 리눅스 9.0

Kernel = 2.4.20

mplayer = 0.93 버젼입니다.

에러 메시지는

---------------------------------------------
MPlayer 0.93-3.2.2 (C) 2000-2003 MPlayer Team
CPU: Intel (Family: 6, Stepping: 5)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/mplayer/etc/mplayer/mplayer.conf
Warning unknown option skin at line 45
Creating config file: /root/.mplayer/config
Reading config file /root/.mplayer/config
MPlayer was compiled WITHOUT GUI support.
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': 그런 파일이나 디렉토리가 없음
Reading /usr/local/mplayer/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/mplayer/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: 그런 파일이나 디렉토리가 없음
Input config file /usr/local/mplayer/etc/mplayer/input.conf parsed: 52 binds

Playing apollo13.avi
Cache fill: 19.63% (1646592 bytes) AVI file format detected.
VIDEO: [DIV3] 640x360 24bpp 25.00 fps 701.9 kbps (85.7 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12000->176400 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Error opening/initializing the selected video_out (-vo) device.

Exiting... (End of file)

이와 같이 메시지가 나오다가 결국 실행이 안되네요~

답변 부탁 드립니다 ^^

Fe.head의 이미지

~/.mplayer/config 에서 비디오란을 설정 변경하세요.

   vo = sdl               #설정 변경  - 비디오모드를 SDL모드로 openGl를 사용하고싶으시면 gl2, 안된다면 x11, xv 로..
  
   ao = sdl  #or oss     #오디오 모드 - SDL로 -그냥 SDL모드로 하세요 안되시면 oss로 하시고요  
  
   unicode = 1          # 한글 자막을 위해서 입니다.

고작 블로킹 하나, 고작 25점 중에 1점, 고작 부활동
"만약 그 순간이 온다면 그때가 네가 배구에 빠지는 순간이야"

codebank의 이미지

/usr/local/mplayer/etc/mplayer/mplayer.conf
위 파일에서 -vo 옵션에 x11이나 xv같은것을 선택해 주시면 될겁니다.

메시지 내용을 살펴보니 root유저로 작업하시나본데...
프로그램 설치시에는 root를 이용하시되 프로그램을 실행시킬때는 일반 유저를
이용하는게 좋습니다.
성능의 차이점 때문에 그런것은 아니고 root유저는 위험하기 때문입니다.
또한 mplayer를 소스 설치할때에 ./configure명령을 그냥 내리지 마시고
# ./configure --prefix=/usr
로 내리면 /usr/local에 설치되지 않고 /usr에 설치됨으로 일반 유저로 사용할 때
편리합니다.

좀더 자세한 설명은
http://debianusers.org/DebianWiki/Mplayer#head-d4a865b3ee6cc3c123af906d3ca1301cd04b7f95
참조하세요. Debian용이지만 필요한 부분을 찾아 볼 수 있을 겁니다.

------------------------------
좋은 하루 되세요.

formltr의 이미지

다들 답변 감사 드립니다~ ^^

하지만.. vo = x11 로 해보고 xv로 해도 안되네요~

예전에 데스크탑에서는 되었는데...

지금은 노트북 입니다

또 다른 답변 주시면 고맙겠습니다 ㅜㅜ

지구별 여행자

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.