이 내용은 CentOS 5.x 및 RHEL 5 를 기준으로 작성되었다.
동영상(DivX/XviD)과 MP3재생을 위한 Totem 플레이어
이제까지 리눅스 (Linux) 에서 DivX 또는 XviD 영화를 보기위해서는 별도의 플레이어를 설치해야만했다.
그러나 이제 간단히 Plug in 만을 설치하고 CentOS 5.x (RHEL 5) 에서 DivX / XviD 영화를 감상하고
XMMS 와 같은 별도의 MP3 player를 설치하지않고도 MP3 를 감상할 수 있으며
리눅스를 설치한 서브컴에는 CD플레이어가 없어서 아직 확인해 보지는 못했지만
사운드 쥬서 (Sound Juicer)를 이용해 음악 CD 를 립핑해서 FLAC/OGG/WAV 음악 파일을 만들수가 있다고 한다.
1/2 단계
# yum -y install yum-priorities
# rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
RHEL 5 와 CentOS 5.x 프로젝트에는 정식으로 포함되지않지만, RHEL 5 와 CentOS 5.x 에서 운용가능한 프로그램들이 개발되고 있는데 이러한 프로그램들을 yum을 통해 설치하기 위한 작업이라고 생각해 두면 쉽다.
2/2 단계
# yum -y install gstreamer-plugins-bad
# yum -y install gstreamer-plugins-ugly
이 단계는 플러그인 (실제적으로는 각종 코덱들) 을 설치하기 위한 단계이다.
영향을 받는 프로그램
Totam (동영상 플레이어)
Rhythmbox (리듬박스 음악연주기)
Sound Juicer (사운드 쥬서)
Xine
설치하기
# yum -y install yum-priorities
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package yum-priorities.noarch 0:1.1.10-9.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
yum-priorities noarch 1.1.10-9.el5.centos base 11 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 11 k
Downloading Packages:
(1/1): yum-priorities-1.1 100% |=========================| 11 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: yum-priorities ######################### [1/1]
Installed: yum-priorities.noarch 0:1.1.10-9.el5.centos
Complete!
# 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.VZKCW2: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
준비 중... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
# yum -y install gstreamer-plugins-bad
Loading "priorities" plugin
rpmforge 100% |=========================| 1.1 kB 00:00
primary.xml.gz 100% |=========================| 2.9 MB 00:06
rpmforge : ################################################## 8120/8120
0 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gstreamer-plugins-bad.i386 0:0.10.3-8.el5.rf set to be updated
--> Processing Dependency: libdirect-1.2.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libSoundTouch.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libmms.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libfusion-1.2.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libgsm.so.1 for package: gstreamer-plugins-bad
--> Processing Dependency: libdirectfb-1.2.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libfaad.so.0 for package: gstreamer-plugins-bad
--> Processing Dependency: libmpcdec.so.5 for package: gstreamer-plugins-bad
--> Processing Dependency: libxvidcore.so.4 for package: gstreamer-plugins-bad
--> Processing Dependency: libfaac.so.0 for package: gstreamer-plugins-bad
--> Running transaction check
---> Package faad2.i386 0:2.6.1-1.el5.rf set to be updated
---> Package libmpcdec.i386 0:1.2.6-1.el5.rf set to be updated
---> Package faac.i386 0:1.26-1.el5.rf set to be updated
---> Package libmms.i386 0:0.3-1.el5.rf set to be updated
---> Package directfb.i386 0:1.2.4-1.el5.rf set to be updated
--> Processing Dependency: libts-0.0.so.0 for package: directfb
---> Package soundtouch.i386 0:1.3.1-1.el5.rf set to be updated
---> Package gsm.i386 0:1.0.12-1.el5.rf set to be updated
---> Package xvidcore.i386 0:1.1.3-1.el5.rf set to be updated
--> Running transaction check
---> Package tslib.i386 0:1.0-1.el5.rf set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
gstreamer-plugins-bad i386 0.10.3-8.el5.rf rpmforge 1.1 M
Installing for dependencies:
directfb i386 1.2.4-1.el5.rf rpmforge 3.5 M
faac i386 1.26-1.el5.rf rpmforge 151 k
faad2 i386 2.6.1-1.el5.rf rpmforge 329 k
gsm i386 1.0.12-1.el5.rf rpmforge 63 k
libmms i386 0.3-1.el5.rf rpmforge 54 k
libmpcdec i386 1.2.6-1.el5.rf rpmforge 52 k
soundtouch i386 1.3.1-1.el5.rf rpmforge 62 k
tslib i386 1.0-1.el5.rf rpmforge 89 k
xvidcore i386 1.1.3-1.el5.rf rpmforge 531 k
Transaction Summary
=============================================================================
Install 10 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 5.8 M
Downloading Packages:
(1/10): xvidcore-1.1.3-1. 100% |=========================| 531 kB 00:02
(2/10): gsm-1.0.12-1.el5. 100% |=========================| 63 kB 00:01
(3/10): soundtouch-1.3.1- 100% |=========================| 62 kB 00:01
(4/10): directfb-1.2.4-1. 100% |=========================| 3.5 MB 00:06
(5/10): libmms-0.3-1.el5. 100% |=========================| 54 kB 00:01
(6/10): gstreamer-plugins 100% |=========================| 1.1 MB 00:03
(7/10): tslib-1.0-1.el5.r 100% |=========================| 89 kB 00:01
(8/10): faac-1.26-1.el5.r 100% |=========================| 151 kB 00:01
(9/10): libmpcdec-1.2.6-1 100% |=========================| 52 kB 00:01
(10/10): faad2-2.6.1-1.el 100% |=========================| 329 kB 00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xvidcore ####################### [ 1/10]
Installing: gsm ####################### [ 2/10]
Installing: soundtouch ####################### [ 3/10]
Installing: libmms ####################### [ 4/10]
Installing: tslib ####################### [ 5/10]
Installing: directfb ####################### [ 6/10]
Installing: faac ####################### [ 7/10]
Installing: libmpcdec ####################### [ 8/10]
Installing: faad2 ####################### [ 9/10]
Installing: gstreamer-plugins-bad ####################### [10/10]
Installed: gstreamer-plugins-bad.i386 0:0.10.3-8.el5.rf
Dependency Installed: directfb.i386 0:1.2.4-1.el5.rf faac.i386 0:1.26-1.el5.rf faad2.i386 0:2.6.1-1.el5.rf gsm.i386 0:1.0.12-1.el5.rf libmms.i386 0:0.3-1.el5.rf libmpcdec.i386 0:1.2.6-1.el5.rf soundtouch.i386 0:1.3.1-1.el5.rf tslib.i386 0:1.0-1.el5.rf xvidcore.i386 0:1.1.3-1.el5.rf
Complete!
# yum -y install gstreamer-plugins-ugly
Loading "priorities" plugin
0 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gstreamer-plugins-ugly.i386 0:0.10.5-3.el5.rf set to be updated
--> Processing Dependency: libamrnb.so.3 for package: gstreamer-plugins-ugly
--> Processing Dependency: liba52.so.0 for package: gstreamer-plugins-ugly
--> Processing Dependency: libid3tag.so.0 for package: gstreamer-plugins-ugly
--> Processing Dependency: libmad.so.0 for package: gstreamer-plugins-ugly
--> Processing Dependency: libsidplay.so.1 for package: gstreamer-plugins-ugly
--> Processing Dependency: libmpeg2.so.0 for package: gstreamer-plugins-ugly
--> Processing Dependency: libmp3lame.so.0 for package: gstreamer-plugins-ugly
--> Processing Dependency: libdvdread.so.3 for package: gstreamer-plugins-ugly
--> Running transaction check
---> Package libid3tag.i386 0:0.15.1b-3.el5.rf set to be updated
---> Package libsidplay.i386 0:1.36.59-1.2.el5.rf set to be updated
---> Package a52dec.i386 0:0.7.4-8.el5.rf set to be updated
---> Package amrnb.i386 0:7.0.0.2-1.el5.rf set to be updated
---> Package libdvdread.i386 0:0.9.7-1.el5.rf set to be updated
--> Processing Dependency: libdvdcss >= 1.2.5 for package: libdvdread
---> Package lame.i386 0:3.98.2-1.el5.rf set to be updated
---> Package libmad.i386 0:0.15.1b-4.el5.rf set to be updated
---> Package mpeg2dec.i386 0:0.4.1-2.el5.rf set to be updated
--> Running transaction check
---> Package libdvdcss.i386 0:1.2.10-1.el5.rf set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
gstreamer-plugins-ugly i386 0.10.5-3.el5.rf rpmforge 656 k
Installing for dependencies:
a52dec i386 0.7.4-8.el5.rf rpmforge 78 k
amrnb i386 7.0.0.2-1.el5.rf rpmforge 237 k
lame i386 3.98.2-1.el5.rf rpmforge 569 k
libdvdcss i386 1.2.10-1.el5.rf rpmforge 64 k
libdvdread i386 0.9.7-1.el5.rf rpmforge 126 k
libid3tag i386 0.15.1b-3.el5.rf rpmforge 75 k
libmad i386 0.15.1b-4.el5.rf rpmforge 82 k
libsidplay i386 1.36.59-1.2.el5.rf rpmforge 271 k
mpeg2dec i386 0.4.1-2.el5.rf rpmforge 190 k
Transaction Summary
=============================================================================
Install 10 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 2.3 M
Downloading Packages:
(1/10): mpeg2dec-0.4.1-2. 100% |=========================| 190 kB 00:01
(2/10): gstreamer-plugins 100% |=========================| 656 kB 00:03
(3/10): libmad-0.15.1b-4. 100% |=========================| 82 kB 00:01
(4/10): lame-3.98.2-1.el5 100% |=========================| 569 kB 00:02
(5/10): libdvdread-0.9.7- 100% |=========================| 126 kB 00:01
(6/10): amrnb-7.0.0.2-1.e 100% |=========================| 237 kB 00:02
(7/10): a52dec-0.7.4-8.el 100% |=========================| 78 kB 00:01
(8/10): libsidplay-1.36.5 100% |=========================| 271 kB 00:02
(9/10): libid3tag-0.15.1b 100% |=========================| 75 kB 00:01
(10/10): libdvdcss-1.2.10 100% |=========================| 64 kB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: mpeg2dec ####################### [ 1/10]
Installing: libmad ####################### [ 2/10]
Installing: lame ####################### [ 3/10]
Installing: amrnb ####################### [ 4/10]
Installing: a52dec ####################### [ 5/10]
Installing: libsidplay ####################### [ 6/10]
Installing: libid3tag ####################### [ 7/10]
Installing: libdvdcss ####################### [ 8/10]
Installing: libdvdread ####################### [ 9/10]
Installing: gstreamer-plugins-ugly ####################### [10/10]
Installed: gstreamer-plugins-ugly.i386 0:0.10.5-3.el5.rf
Dependency Installed: a52dec.i386 0:0.7.4-8.el5.rf amrnb.i386 0:7.0.0.2-1.el5.rf lame.i386 0:3.98.2-1.el5.rf libdvdcss.i386 0:1.2.10-1.el5.rf libdvdread.i386 0:0.9.7-1.el5.rf libid3tag.i386 0:0.15.1b-3.el5.rf libmad.i386 0:0.15.1b-4.el5.rf libsidplay.i386 0:1.36.59-1.2.el5.rf mpeg2dec.i386 0:0.4.1-2.el5.rf
Complete!
----------------------------------------------------------
영상과 자막 출력을 위한 xine 미디어 플레이어
자막파일(smi)이 있는 경우에는 Xine을 설치해주면 편하다.
특히 x.264/h.264 코덱으로 만들어진 MKV 파일의 경우 Totem에서는 재생이 안되지만 Xine의 경우 재생할 수 있기 때문에 좋다.
Xine 를 설치하기위해서는
# yum install xine
설치하기
# yum install xine
Loading "priorities" plugin
0 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package xine.i386 0:0.99.5-1.el5.rf set to be updated
--> Processing Dependency: libcaca.so.0 for package: xine
--> Processing Dependency: xine-lib >= 1.1.2 for package: xine
--> Processing Dependency: libcucul.so.0 for package: xine
--> Processing Dependency: libxine.so.1 for package: xine
--> Processing Dependency: liblirc_client.so.0 for package: xine
--> Running transaction check
---> Package lirc.i386 0:0.6.6-4.el5.rf set to be updated
---> Package xine-lib.i386 0:1.1.13-3.el5.rf set to be updated
--> Processing Dependency: libfame-0.9.so.1 for package: xine-lib
--> Processing Dependency: libcdio.so.7(CDIO_7) for package: xine-lib
--> Processing Dependency: libXvMCW.so.1 for package: xine-lib
--> Processing Dependency: libvcdinfo.so.0 for package: xine-lib
--> Processing Dependency: libaa.so.1 for package: xine-lib
--> Processing Dependency: libcdio.so.7 for package: xine-lib
--> Processing Dependency: libiso9660.so.5 for package: xine-lib
--> Processing Dependency: libvcdinfo.so.0(VCDINFO_0) for package: xine-lib
--> Processing Dependency: libmodplug.so.0 for package: xine-lib
---> Package libcaca.i386 0:0.99-0.1.beta11.el5.rf set to be updated
--> Processing Dependency: libglut.so.3 for package: libcaca
--> Running transaction check
---> Package freeglut.i386 0:2.4.0-7.1.el5 set to be updated
---> Package libfame.i386 0:0.9.1-12.el5.rf set to be updated
---> Package vcdimager.i386 0:0.7.23-5.el5.rf set to be updated
---> Package libmodplug.i386 0:0.7-1.2.el5.rf set to be updated
---> Package aalib.i386 0:1.4.0-5.el5.rf set to be updated
---> Package libcdio.i386 0:0.77-1.el5.rf set to be updated
---> Package libXvMC.i386 0:1.0.2-2.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
xine i386 0.99.5-1.el5.rf rpmforge 2.3 M
Installing for dependencies:
aalib i386 1.4.0-5.el5.rf rpmforge 167 k
freeglut i386 2.4.0-7.1.el5 base 142 k
libXvMC i386 1.0.2-2.1 base 18 k
libcaca i386 0.99-0.1.beta11.el5.rf rpmforge 236 k
libcdio i386 0.77-1.el5.rf rpmforge 514 k
libfame i386 0.9.1-12.el5.rf rpmforge 453 k
libmodplug i386 0.7-1.2.el5.rf rpmforge 299 k
lirc i386 0.6.6-4.el5.rf rpmforge 241 k
vcdimager i386 0.7.23-5.el5.rf rpmforge 789 k
xine-lib i386 1.1.13-3.el5.rf rpmforge 9.8 M
Transaction Summary
=============================================================================
Install 11 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): libXvMC-1.0.2-2.1 100% |=========================| 18 kB 00:00
(2/11): libcaca-0.99-0.1. 100% |=========================| 236 kB 00:02
(3/11): libcdio-0.77-1.el 100% |=========================| 514 kB 00:02
(4/11): aalib-1.4.0-5.el5 100% |=========================| 167 kB 00:01
(5/11): xine-lib-1.1.13-3 100% |=========================| 9.8 MB 00:10
(6/11): libmodplug-0.7-1. 100% |=========================| 299 kB 00:01
(7/11): vcdimager-0.7.23- 100% |=========================| 789 kB 00:02
(8/11): libfame-0.9.1-12. 100% |=========================| 453 kB 00:02
(9/11): freeglut-2.4.0-7. 100% |=========================| 142 kB 00:00
(10/11): lirc-0.6.6-4.el5 100% |=========================| 241 kB 00:01
(11/11): xine-0.99.5-1.el 100% |=========================| 2.3 MB 00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libcdio ####################### [ 1/11]
Installing: vcdimager ####################### [ 2/11]
Installing: libXvMC ####################### [ 3/11]
Installing: aalib ####################### [ 4/11]
Installing: libmodplug ####################### [ 5/11]
Installing: libfame ####################### [ 6/11]
Installing: freeglut ####################### [ 7/11]
Installing: libcaca ####################### [ 8/11]
Installing: xine-lib ####################### [ 9/11]
Installing: lirc ####################### [10/11]
Installing: xine ####################### [11/11]
Installed: xine.i386 0:0.99.5-1.el5.rf
Dependency Installed: aalib.i386 0:1.4.0-5.el5.rf freeglut.i386 0:2.4.0-7.1.el5 libXvMC.i386 0:1.0.2-2.1 libcaca.i386 0:0.99-0.1.beta11.el5.rf libcdio.i386 0:0.77-1.el5.rf libfame.i386 0:0.9.1-12.el5.rf libmodplug.i386 0:0.7-1.2.el5.rf lirc.i386 0:0.6.6-4.el5.rf vcdimager.i386 0:0.7.23-5.el5.rf xine-lib.i386 0:1.1.13-3.el5.rf
Complete!
'Linux' 카테고리의 다른 글
USB 드라이브에 CentOS 5.2 Live CD 설치하기 (0) | 2009.03.01 |
---|---|
7zip - 압축 프로그램 (0) | 2009.02.10 |
Linux directory structure (0) | 2009.01.19 |
쉘프로그래밍 (0) | 2008.11.24 |
쉘프로그래밍 비교연산 (0) | 2008.11.24 |
리눅스 커널 정보 변경 (0) | 2008.11.20 |