2009. 5. 24. 00:48
fedora core VLC스트리밍서버 설치
2009. 5. 24. 00:48 in manabu & Linux
NT서버인 2003에서는 아주 쉽게 구성된 스트리밍 서버가 , 리눅스에서는 아주 곤욕을 치르고 있다. 스트리밍 서버를 납품해야 하는데, NT서버로 납품하면 먹을게 작아지거든..
fedora core9에서 소스컴파일, yum,rpm으로 다 설치해봐도..역시.. 실패다
의존성문제에서 libass.so.3부분에서 꼭 걸리고 만다. 구글링을 해봐도 역시 실패담만 영어로....
그래서 결국엔 ubuntu나 fedora core 10으로 옮기기로 했다.
우분투에서는 apt-get install vlc하니깐 너무 잘설치된다. 그러나 우분투는 명령어가 너무 생소해서 우선 패스.. 페도라 계열에서 설치안되면 마지막으로 가기로 하고...
fedora10을 설치하고..
vlc사이트로 이동..
http://www.videolan.org/vlc/download-fedora.html
Fedora 9 and Fedora 10Use RPM Fusion for F9 and F10 (available for x86, x86_64, ppc and ppc64) $> su - |
[root@japasop ~]# rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm Retrieving http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm warning: /var/tmp/rpm-tmp.zhJC84: Header V3 DSA signature: NOKEY, key ID 49c8885a Preparing... ########################################### [100%] 1:rpmfusion-free-release ########################################### [100%] |
역시 두번째 부분 yum install vlc에서 에러가 난다.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xed in position 0: ordinal not in range(128)
에러의 원인은 이것...
find명령으로 site.py를 찾아 파일안의 encoding="ascii"를 encoding="UTF-8"로 바꾸어준다.
그리고 나서 다시 재설치
Dependencies Resolved ================================================================================================================== Package Arch Version Repository Size ================================================================================================================== Installing: vlc i386 0.9.9-2.fc10 rpmfusion-free-updates 1.9 M Installing for dependencies: SDL_image i386 1.2.6-6.fc9 fedora 44 k a52dec i386 0.7.4-13.fc10 rpmfusion-free 48 k aalib-libs i386 1.4.0-0.16.rc5.fc10 fedora 66 k enca i386 1.9-4.fc9 fedora 120 k faac i386 1.28-1.fc10 rpmfusion-free-updates 85 k faad2-libs i386 1:2.6.1-6.fc10 rpmfusion-free 166 k ffmpeg-libs i386 0.4.9-0.55.20080908.fc10 rpmfusion-free-updates 4.7 M fluidsynth-libs i386 1.0.8-2.fc10 fedora 490 k freeglut i386 2.4.0-14.fc9 fedora 146 k giflib i386 4.1.3-9 fedora 39 k gpac-libs i386 0.4.5-3.fc10 rpmfusion-free-updates 1.6 M gpm i386 1.20.5-2.fc10 updates 226 k gsm i386 1.0.12-6.fc9 fedora 27 k imlib2 i386 1.4.2-2.fc10 updates 574 k jack-audio-connection-kit i386 0.116.1-3.fc10 updates 203 k lame-libs i386 3.98.2-2.fc10 rpmfusion-free 264 k lash i386 0.5.4-2.fc9 fedora 158 k libXvMC i386 1.0.4-5.fc10 fedora 22 k libass i386 0.9.6-2.fc10 updates 51 k libcaca i386 0.99-0.7.beta16.fc10 updates 208 k libcddb i386 1.3.0-4.fc9 fedora 71 k libdc1394 i386 2.0.2-1.fc10 fedora 116 k libdca i386 0.0.5-3.fc10 rpmfusion-free 109 k libdvbpsi i386 0.1.6-3.fc10 rpmfusion-free 40 k libdvdnav i386 4.1.3-1.fc10 fedora 86 k libdvdread i386 4.1.3-1.fc10 fedora 55 k libebml i386 0.7.8-1.fc9 fedora 73 k libfreebob i386 1.0.11-3.fc10 fedora 160 k libid3tag i386 0.15.1b-7.fc10 fedora 45 k libmad i386 0.15.1b-10.fc10 rpmfusion-free-updates 84 k libmatroska i386 0.8.1-3.fc9 fedora 201 k libmodplug i386 1:0.8.7-1.fc10 updates 171 k libmp4v2 i386 1.5.0.1-6.fc10 fedora 259 k libmpcdec i386 1.2.6-4.fc9 fedora 27 k libmpeg2 i386 0.5.1-3.fc10 rpmfusion-free 72 k libsysfs i386 2.1.0-4.fc10 fedora 47 k libtar i386 1.2.11-11.fc10 fedora 30 k libupnp i386 1.6.6-1.fc10 fedora 102 k lirc-libs i386 0.8.4a-2.fc10 updates 21 k live555 i386 0-0.20.2008.07.25.fc10 rpmfusion-free 315 k opencv i386 1.0.0-10.fc10 updates 2.5 M openjpeg-libs i386 1.3-2.fc9 fedora 66 k phonon i386 4.3.1-4.fc10 updates 152 k phonon-backend-xine i386 4.3.1-4.fc10 updates 162 k portaudio i386 19-6.fc10 updates 88 k qt i386 1:4.5.0-14.fc10 updates 3.8 M qt-x11 i386 1:4.5.0-14.fc10 updates 16 M schroedinger i386 1.0.5-3.fc10 fedora 215 k twolame-libs i386 0.3.12-3.fc10 rpmfusion-free 53 k vlc-core i386 0.9.9-2.fc10 rpmfusion-free-updates 7.7 M x264-libs i386 0.0.0-0.20.20080905.fc10 rpmfusion-free-updates 409 k xine-lib i386 1.1.16.3-2.fc10 updates 2.7 M xorg-x11-fonts-misc noarch 7.2-6.fc9 fedora 5.9 M xosd i386 2.2.14-11.fc9 fedora 48 k xvidcore i386 1.2.1-1.fc10 rpmfusion-free-updates 254 k zvbi i386 0.2.30-1.fc9 fedora 460 k Transaction Summary ================================================================================================================== Install 57 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 54 M Downloading Packages: (1/57): lirc-libs-0.8.4a-2.fc10.i386.rpm | 21 kB 00:01 (2/57): libXvMC-1.0.4-5.fc10.i386.rpm | 22 kB 00:00 (3/57): libmpcdec-1.2.6-4.fc9.i386.rpm | 27 kB 00:00 (4/57): gsm-1.0.12-6.fc9.i386.rpm | 27 kB 00:00 (5/57): libtar-1.2.11-11.fc10.i386.rpm | 30 kB 00:00 (6/57): giflib-4.1.3-9.i386.rpm | 39 kB 00:00 (7/57): libdvbpsi-0.1.6-3.fc10.i386.rpm | 40 kB 00:02 (8/57): SDL_image-1.2.6-6.fc9.i386.rpm | 44 kB 00:01 (9/57): libid3tag-0.15.1b-7.fc10.i386.rpm | 45 kB 00:00 (10/57): libsysfs-2.1.0-4.fc10.i386.rpm | 47 kB 00:00 (11/57): xosd-2.2.14-11.fc9.i386.rpm | 48 kB 00:00 (12/57): a52dec-0.7.4-13.fc10.i386.rpm | 48 kB 00:02 (13/57): libass-0.9.6-2.fc10.i386.rpm | 51 kB 00:01 (14/57): twolame-libs-0.3.12-3.fc10.i386.rpm | 53 kB 00:03 (15/57): libdvdread-4.1.3-1.fc10.i386.rpm | 55 kB 00:01 (16/57): openjpeg-libs-1.3-2.fc9.i386.rpm | 66 kB 00:01 (17/57): aalib-libs-1.4.0-0.16.rc5.fc10.i386.rpm | 66 kB 00:02 (18/57): libcddb-1.3.0-4.fc9.i386.rpm | 71 kB 00:02 (19/57): libmpeg2-0.5.1-3.fc10.i386.rpm | 72 kB 00:03 (20/57): libebml-0.7.8-1.fc9.i386.rpm | 73 kB 00:02 (21/57): libmad-0.15.1b-10.fc10.i386.rpm | 84 kB 00:02 (22/57): faac-1.28-1.fc10.i386.rpm | 85 kB 00:00 (23/57): libdvdnav-4.1.3-1.fc10.i386.rpm | 86 kB 00:02 (24/57): portaudio-19-6.fc10.i386.rpm | 88 kB 00:02 (25/57): libupnp-1.6.6-1.fc10.i386.rpm | 102 kB 00:02 (26/57): libdca-0.0.5-3.fc10.i386.rpm | 109 kB 00:03 (27/57): libdc1394-2.0.2-1.fc10.i386.rpm | 116 kB 00:02 (28/57): enca-1.9-4.fc9.i386.rpm | 120 kB 00:02 (29/57): freeglut-2.4.0-14.fc9.i386.rpm | 146 kB 00:02 (30/57): phonon-4.3.1-4.fc10.i386.rpm | 152 kB 00:02 (31/57): lash-0.5.4-2.fc9.i386.rpm | 158 kB 00:02 (32/57): libfreebob-1.0.11-3.fc10.i386.rpm | 160 kB 00:02 (33/57): phonon-backend-xine-4.3.1-4.fc10.i386.rpm | 162 kB 00:02 (34/57): faad2-libs-2.6.1-6.fc10.i386.rpm | 166 kB 00:04 (35/57): libmodplug-0.8.7-1.fc10.i386.rpm | 171 kB 00:03 (36/57): libmatroska-0.8.1-3.fc9.i386.rpm | 201 kB 00:03 (37/57): jack-audio-connection-kit-0.116.1-3.fc10.i386.rpm | 203 kB 00:02 (38/57): libcaca-0.99-0.7.beta16.fc10.i386.rpm | 208 kB 00:02 (39/57): schroedinger-1.0.5-3.fc10.i386.rpm | 215 kB 00:02 (40/57): gpm-1.20.5-2.fc10.i386.rpm | 226 kB 00:03 (41/57): xvidcore-1.2.1-1.fc10.i386.rpm | 254 kB 00:05 (42/57): libmp4v2-1.5.0.1-6.fc10.i386.rpm | 259 kB 00:03 (43/57): lame-libs-3.98.2-2.fc10.i386.rpm | 264 kB 00:05 (44/57): live555-0-0.20.2008.07.25.fc10.i386.rpm | 315 kB 00:02 (45/57): x264-libs-0.0.0-0.20.20080905.fc10.i386.rpm | 409 kB 00:03 (46/57): zvbi-0.2.30-1.fc9.i386.rpm | 460 kB 00:04 (47/57): fluidsynth-libs-1.0.8-2.fc10.i386.rpm | 490 kB 00:02 (48/57): imlib2-1.4.2-2.fc10.i386.rpm | 574 kB 00:05 (49/57): gpac-libs-0.4.5-3.fc10.i386.rpm | 1.6 MB 00:16 (50/57): vlc-0.9.9-2.fc10.i386.rpm | 1.9 MB 00:16 (51/57): opencv-1.0.0-10.fc10.i386.rpm | 2.5 MB 00:16 (52/57): xine-lib-1.1.16.3-2.fc10.i386.rpm | 2.7 MB 00:17 (53/57): qt-4.5.0-14.fc10.i386.rpm | 3.8 MB 00:23 (54/57): ffmpeg-libs-0.4.9-0.55.20080908.fc10.i386.rpm | 4.7 MB 01:08 (55/57): xorg-x11-fonts-misc-7.2-6.fc9.noarch.rpm | 5.9 MB 00:33 (56/57): vlc-core-0.9.9-2.fc10.i386.rpm | 7.7 MB 02:32 (57/57): qt-x11-4.5.0-14.fc10.i386.rpm | 16 MB 01:33 ------------------------------------------------------------------------------------------------------------------ Total 90 kB/s | 54 MB 10:07 warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 49c8885a rpmfusion-free-updates/gpgkey | 1.7 kB 00:00 Importing GPG key 0x49C8885A "RPM Fusion repository (Fedora - free) <rpmfusion-buildsys@lists.rpmfusion.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : qt 1/57 Installing : faad2-libs 2/57 Installing : freeglut 3/57 Installing : libmodplug 4/57 Installing : libmpcdec 5/57 Installing : a52dec 6/57 Installing : schroedinger 7/57 Installing : libmad 8/57 Installing : libebml 9/57 Installing : libXvMC 10/57 Installing : libdvdread 11/57 Installing : xvidcore 12/57 Installing : libdvdnav 13/57 Installing : xine-lib 14/57 Installing : libmatroska 15/57 Installing : libcaca 16/57 Installing : lirc-libs 17/57 Installing : openjpeg-libs 18/57 Installing : gpac-libs 19/57 Installing : x264-libs 20/57 Installing : lame-libs 21/57 Installing : twolame-libs 22/57 Installing : libmpeg2 23/57 Installing : giflib 24/57 Installing : imlib2 25/57 Installing : libdc1394 26/57 Installing : libid3tag 27/57 Installing : libsysfs 28/57 Installing : zvbi 29/57 Installing : libfreebob 30/57 Installing : jack-audio-connection-kit 31/57 Installing : lash 32/57 Installing : fluidsynth-libs 33/57 Installing : portaudio 34/57 Installing : live555 35/57 Installing : libupnp 36/57 Installing : libdca 37/57 Installing : libdvbpsi 38/57 Installing : gpm 39/57 Installing : aalib-libs 40/57 Installing : gsm 41/57 Installing : libtar 42/57 Installing : opencv 43/57 Installing : SDL_image 44/57 Installing : libmp4v2 45/57 Installing : faac 46/57 Installing : ffmpeg-libs 47/57 Installing : enca 48/57 Installing : libass 49/57 Installing : libcddb 50/57 Installing : xorg-x11-fonts-misc 51/57 Installing : xosd 52/57 Installing : vlc-core 53/57 Installing : qt-x11 54/57 Installing : phonon 55/57 Installing : phonon-backend-xine 56/57 Installing : vlc 57/57 Installed: vlc.i386 0:0.9.9-2.fc10 Dependency Installed: SDL_image.i386 0:1.2.6-6.fc9 a52dec.i386 0:0.7.4-13.fc10 aalib-libs.i386 0:1.4.0-0.16.rc5.fc10 enca.i386 0:1.9-4.fc9 faac.i386 0:1.28-1.fc10 faad2-libs.i386 1:2.6.1-6.fc10 ffmpeg-libs.i386 0:0.4.9-0.55.20080908.fc10 fluidsynth-libs.i386 0:1.0.8-2.fc10 freeglut.i386 0:2.4.0-14.fc9 giflib.i386 0:4.1.3-9 gpac-libs.i386 0:0.4.5-3.fc10 gpm.i386 0:1.20.5-2.fc10 gsm.i386 0:1.0.12-6.fc9 imlib2.i386 0:1.4.2-2.fc10 jack-audio-connection-kit.i386 0:0.116.1-3.fc10 lame-libs.i386 0:3.98.2-2.fc10 lash.i386 0:0.5.4-2.fc9 libXvMC.i386 0:1.0.4-5.fc10 libass.i386 0:0.9.6-2.fc10 libcaca.i386 0:0.99-0.7.beta16.fc10 libcddb.i386 0:1.3.0-4.fc9 libdc1394.i386 0:2.0.2-1.fc10 libdca.i386 0:0.0.5-3.fc10 libdvbpsi.i386 0:0.1.6-3.fc10 libdvdnav.i386 0:4.1.3-1.fc10 libdvdread.i386 0:4.1.3-1.fc10 libebml.i386 0:0.7.8-1.fc9 libfreebob.i386 0:1.0.11-3.fc10 libid3tag.i386 0:0.15.1b-7.fc10 libmad.i386 0:0.15.1b-10.fc10 libmatroska.i386 0:0.8.1-3.fc9 libmodplug.i386 1:0.8.7-1.fc10 libmp4v2.i386 0:1.5.0.1-6.fc10 libmpcdec.i386 0:1.2.6-4.fc9 libmpeg2.i386 0:0.5.1-3.fc10 libsysfs.i386 0:2.1.0-4.fc10 libtar.i386 0:1.2.11-11.fc10 libupnp.i386 0:1.6.6-1.fc10 lirc-libs.i386 0:0.8.4a-2.fc10 live555.i386 0:0-0.20.2008.07.25.fc10 opencv.i386 0:1.0.0-10.fc10 openjpeg-libs.i386 0:1.3-2.fc9 phonon.i386 0:4.3.1-4.fc10 phonon-backend-xine.i386 0:4.3.1-4.fc10 portaudio.i386 0:19-6.fc10 qt.i386 1:4.5.0-14.fc10 qt-x11.i386 1:4.5.0-14.fc10 schroedinger.i386 0:1.0.5-3.fc10 twolame-libs.i386 0:0.3.12-3.fc10 vlc-core.i386 0:0.9.9-2.fc10 x264-libs.i386 0:0.0.0-0.20.20080905.fc10 xine-lib.i386 0:1.1.16.3-2.fc10 xorg-x11-fonts-misc.noarch 0:7.2-6.fc9 xosd.i386 0:2.2.14-11.fc9 xvidcore.i386 0:1.2.1-1.fc10 zvbi.i386 0:0.2.30-1.fc9 Complete! [root@localhost ~]# |
의존성 프로그램들도 많기도 하다... 어쨋든 몇일만에 성공했다.(libass.2.9.0버젼을 페도라9에서 컴파일 설치했으나, libass.so.3를 읽을수 없다는 에러로 매번 실패했다.)
진작 9에서 10으로 탈걸...옵션으로 있는 mozilla-vlc까지 설치
[root@localhost ~]# yum install mozilla-vlc Failed to set locale, defaulting to C Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package mozilla-vlc.i386 0:0.9.9-2.fc10 set to be updated rpmfusion-free/filelists_db | 269 kB 00:05 rpmfusion-free-updates/filelists_db | 152 kB 00:02 --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================== Package Arch Version Repository Size ================================================================================================================== Installing: mozilla-vlc i386 0.9.9-2.fc10 rpmfusion-free-updates 60 k Transaction Summary ================================================================================================================== Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 60 k Is this ok [y/N]: y Is this ok [y/N]: yes Downloading Packages: mozilla-vlc-0.9.9-2.fc10.i386.rpm | 60 kB 00:02 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : mozilla-vlc 1/1 Installed: mozilla-vlc.i386 0:0.9.9-2.fc10 Complete! [root@localhost ~]# |
옵션 mozilla-vlc도 설치완료... 이제 한번 돌려보고.. 실제서버에서의 설치만 남았다. 다음 포스팅은 리눅스 vlc서버스트리밍 서버 운영법을 남길까 한다.
'manabu & Linux' 카테고리의 다른 글
리눅스(fedora) 주문형 스트리밍 서버 구성기 - Darwin Streaming Server (2) | 2009.05.24 |
---|---|
페도라코어 VLC 스트리밍 서버 - 브로드캐스팅형 방송 구현 (4) | 2009.05.24 |
제로보드 Xe Rewrite Mod설정하기 (1) | 2009.05.15 |
제로보드 XE XpressEngine 대용량 업로드 게시판만들기. (0) | 2009.05.14 |
lampp설치 및 lampp비번 설치 (0) | 2009.05.02 |