Skip to content

CentOS 리눅스에서 완벽 동영상 재생하기

조회 수 20522 추천 수 0 2009.09.24 13:39:02
설치환경 : CentOS 5.3

무료할때 영화 한편 때리는것도 좋은 일이다. 영화를 보기위해 리눅스로 작업하다가 다시 윈도우로 로그인하기 구찮은 데탑용 리눅스머신에서는 토템이나 Mplayer로서 보면 된다. 하지만, 짜증나는 코덱설치가 윈도우즈의 곰플레이어나 통합코덱처럼 제공되질 않는다.

그럼 우선 해야할일은..YUM을 통해 여러가지 파일들만 시스템에 설치해주면 된다.

[root@AkasLinux Desktop]# yum -y install yum-priorities
Installed: yum-priorities.noarch 0:1.1.16-13.el5.centos
Complete!
[root@AkasLinux Desktop]#rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm(을)를 복구합니다
경고: /var/tmp/rpm-xfer.I0IdFc: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
준비 중...               ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]
[root@AkasLinux Desktop]# yum -y install gstreamer gstreamer-tools gstreamer-plugins-base  gstreamer-plugins-good

Updated: gstreamer-plugins-base.i386 0:0.10.20-3.0.1.el5_3 gstreamer-plugins-good.i386 0:0.10.9-1.el5_3.2
Complete!
[root@AkasLinux Desktop]#yum -y install gstreamer-plugins-bad gstreamer-plugins-ugly
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * rpmforge: ftp-stud.fht-esslingen.de
 
Installed: gstreamer-plugins-bad.i386 0:0.10.8-3.el5.rf gstreamer-plugins-ugly.i386 0:0.10.9-1.el5.rf
Dependency Installed: SDL_gfx.i386 0:2.0.19-1.el5.rf a52dec.i3860:0.7.4-8.el5.rf amrnb.i386 0:7.0.0.2-1.el5.rf amrwb.i3860:7.0.0.3-1.el5.rf compat-libstdc++-296.i386 0:2.96-138 cppunit.i3860:1.12.0-3.el5.rf dirac.i386 0:1.0.2-1.el5.rf directfb.i3860:1.2.4-1.el5.rf divx4linux.i386 0:5.0.5-0.el5.rf faac.i3860:1.26-1.el5.rf faad2.i386 0:2.6.1-1.el5.rf ffmpeg.i386 0:0.5-2.el5.rfffmpeg-libpostproc.i386 0:0.5-2.el5.rf gsm.i386 0:1.0.13-1.el5.rfimlib2.i386 0:1.4.0-1.el5.rf lame.i386 0:3.98.2-1.el5.rflibcdaudio.i386 0:0.99.12p2-12.el5.rf libcdio.i386 0:0.77-1.el5.rflibdca.i386 0:0.0.5-1.el5.rf libdvdcss.i386 0:1.2.10-1.el5.rflibdvdread.i386 0:0.9.7-1.el5.rf libid3tag.i386 0:0.15.1b-3.el5.rflibmad.i386 0:0.15.1b-4.el5.rf libmms.i386 0:0.3-1.el5.rflibmpcdec.i386 0:1.2.6-1.el5.rf libquicktime.i386 0:1.1.3-1.el5.rflibsidplay.i386 0:1.36.59-1.2.el5.rf libsndfile.i386 0:1.0.17-1.el5.rfmjpegtools.i386 0:1.9.0-0.6.rc2.el5.rf mpeg2dec.i386 0:0.4.1-2.el5.rfsoundtouch.i386 0:1.3.1-1.el5.rf tslib.i386 0:1.0-1.el5.rf x264.i3860:0.0.0-0.4.20090708.el5.rf xvidcore.i386 0:1.2.2-1.el5.rf
Complete!
[root@AkasLinux Desktop]# yum -y install mplayer
Installed: mplayer.i386 0:1.0-0.40.svn20090711.el5.rf
Dependency Installed: aalib.i386 0:1.4.0-5.el5.rf arts.i386 8:1.5.4-1enca.i386 0:1.9-4.el5.rf freeglut.i386 0:2.4.0-7.1.el5 fribidi.i3860:0.10.7-5.1 libXvMC.i386 0:1.0.2-2.1 libcaca.i3860:0.99-0.1.beta11.el5.rf lirc.i386 0:0.6.6-4.el5.rf lzo2.i3860:2.02-3.el5.rf mplayer-fonts.noarch 0:1.1-3.0.rf openal.i3860:0.0.8-2.el5.rf svgalib.i386 0:1.9.25-1.el5.rf
Complete!

해당동영상을 MPLAYER로 열면, 우측 하단에 리모콘이 열리는데, 리모콘 아무데나 오른쪽 마우스 버튼을 클릭하면, Preference메뉴를 클릭하고 아래와 같이 편집한다.

폰트를 아래 포스팅을 참조하여, 한글 폰트로 설정하고 인코딩을 유니코드로 설정후


자막부분 설정에서 인코딩을 한국 문자셋 (Korean charset)로 설정하면 된다.


설정후에는 재생중인 동영상이 멈추며, 다시 기동하였을때 자막과 영상이 제대로 보이기 시작한다..
아쉽게도 토템에서 자막이 있는 동영상은 자막을 인식하지 못한다는 메세지를 보인다..
Mplayer로 즐거운 시간을..
즐거운 리눅스 시간을..~

profile

일요일은 짜빠게뤼~ 먹는날~^^

엮인글 :
http://adminplay.com/2710/162/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort

linux daemon (리눅스 데몬 설명)

대용량 HDD 파티셔닝(Mass storage Partitioning) (GPT 파...

FFMPEG를 가장쉽게 설치하는 방법(ffmpeg-php 등)

rrdtool 컴파일시 에러 configure: error: Please fix the...

커널 2.6으로 업그레이드!「A to Z」

e2fsck - 파일 시스템 복구 및 검사. - fsck file

Maskrading

  • ADMIN
  • 2008-11-11
  • 조회 수 60241

시스템 백업과 응급 복구

배치파일을 이용한 백업방법

  • l2zeo
  • 2010-03-31
  • 조회 수 59635

리눅스 전원부터 부팅이 되기까지의 과정이해

  • ADMIN
  • 2008-11-11
  • 조회 수 59079

리눅스 디렉토리 구조와 파티션 관리의 기본

hdparm 세부옵션

CentOS 설치 - VMware 상에서 CentOS 설치하기 file

  • l2zeo
  • 2010-02-24
  • 조회 수 52165

Red Hat Linux 9

Dell OMSA 설치 및 이용방법

2TB이상의 Disk를 사용한 Raid6 구성

sulinux 1.0. 서버 패키지 리스트

ORA-01031: insufficient privileges 오류

[APM] 리눅스에서 Apache, PHP, MySQL 등 제거 방법

AIX 필수 명령어

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234