事象の水平線

個人的ブックマーク代わりなメモ書きブログ。 地球は丸いよ。↓このへん。

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

PageTop
PS3MediaServerってPS3専用だと思ってた。しかもWindowsしかないと思ってた。
PS3MediaServerを入れるとWoooで見れるらしい。(何が?)ということで試してみた。

動くまでは行ったけど、woooで見れるまでは行ってない・・・

けど、ログを残しておきます。
まずは、
公式
PS3 Media Server (PMS) まとめwiki
LinuxでもOK! PS3 Media Server
CentOSにPS3 Media Serverをインストール
この辺を参考にいきます。

まずは、ffmpegが必要らしいけどminidlnaで入れてるはずなので確認
[root@NAS ~]# yum list installed | grep ffmpeg
ffmpeg.x86_64 0.6.5-1.el5.rf @rpmforge
ffmpeg-devel.x86_64 0.6.5-1.el5.rf @rpmforge
ffmpeg-libpostproc.x86_64 0.6.5-1.el5.rf @rpmforge
javaはMRTGで入れたはずだけど一応確認
[root@NAS ~]# yum list installed | grep java
あれなんもでてこん。
ほなこれで

[root@NAS ~]# find / -name java
/etc/pki/java
/usr/java
/usr/java/jdk1.7.0/demo/db/programs/vtis/java
/usr/java/jdk1.7.0/demo/db/programs/scores/java
/usr/java/jdk1.7.0/sample/jnlp/servlet/apps/app2/src/java
/usr/java/jdk1.7.0/sample/jnlp/servlet/apps/app3/src/java
/usr/java/jdk1.7.0/sample/jnlp/servlet/apps/app1/src/java
/usr/java/jdk1.7.0/bin/java
/usr/java/jdk1.7.0/jre/bin/java
/usr/bin/java
いっかな。
[root@NAS ~]#
さて、mplayerとか言うのが必要らしい。
ので入れてみる。

[root@NAS ~]# yum -y install mplayer
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Install Process
No package mplayer available.  えーないじゃーん。
Error: Nothing to do
んー『MPlayerのインストール』ってのに書いてある通りにやってみよう
[root@NAS ~]# yum -y --enablerepo=freshrpms install mplayer*
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security


Error getting repository data for freshrpms, repository not found
だめか、ほなこれでは?
[root@NAS ~]# yum install --enablerepo=rpmforge -y mplayer
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* rpmforge: mirror.oscc.org.my
* updates: mirrors.163.com
~~略~~
Error: Package: aalib-1.4.0-5.el5.rf.x86_64 (rpmforge)
Requires: libgpm.so.1()(64bit)
Error: Package: mplayer-1.0-0.47.svn20100703.el5.rf.x86_64 (rpmforge)
Requires: libfribidi.so.0()(64bit)
Error: Package: mpg123-1.14.4-1.el5.rf.x86_64 (rpmforge)
Requires: libltdl.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
なんか進んだけど、足りないって言われてる気がする・・・・
けど、先に進んでみる?

[root@NAS ~]# yum -y install mencoder
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Install Process
No package mencoder available. やっぱ普通にだめか。
Error: Nothing to do
[root@NAS ~]# yum install --enablerepo=rpmforge -y mencder
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* rpmforge: ftp.riken.jp
* updates: mirrors.163.com
Setting up Install Process
No package mencder available. だめか
Error: Nothing to do
[root@NAS ~]# yum search mplayer やっぱさっきのは入ってないのか?
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
=============================== Matched: mplayer ===============================
ffmpeg-libpostproc.x86_64 : Video postprocessing library from ffmpeg
ん?よくわからん・・・・わからんことは放置・・・・・
さっきのは多分入ってないのよね?

[root@NAS ~]# yum list installed | grep mplayer
でてこないね。
さっきのログ見ると
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

とかいってるからやってみるか・・・だめもとで・・・

[root@NAS ~]# yum install --enablerepo=rpmforge --skip-broken -y mplayer
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* rpmforge: ftp.riken.jp
* updates: mirrors.163.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mplayer.x86_64 0:1.0-0.47.svn20100703.el5.rf will be installed
~~略~~
Packages skipped because of dependency problems:
aalib-1.4.0-5.el5.rf.x86_64 from rpmforge
8:arts-1.5.10-10.el6.x86_64 from base
1:audiofile-0.2.6-11.1.el6.x86_64 from base
enca-1.10-1.el5.rf.x86_64 from rpmforge
1:esound-libs-0.2.41-3.1.el6.x86_64 from base
freeglut-2.6.0-1.el6.x86_64 from base
libass-0.9.11-1.el5.rf.x86_64 from rpmforge
libcaca-0.99-0.1.beta17.el5.rf.x86_64 from rpmforge
libdca-0.0.5-1.el5.rf.x86_64 from rpmforge
libmad-0.15.1b-4.el5.rf.x86_64 from rpmforge
libmpcdec-1.2.6-6.1.el6.x86_64 from base
libvdpau-0.4.1-1.el5.rf.x86_64 from rpmforge
lirc-0.6.6-4.el5.rf.x86_64 from rpmforge
live555-0-0.27.2012.02.04.el5.rf.x86_64 from rpmforge
lzo-2.06-1.el5.rf.x86_64 from rpmforge
mpg123-1.14.4-1.el5.rf.x86_64 from rpmforge
mplayer-1.0-0.47.svn20100703.el5.rf.x86_64 from rpmforge
mplayer-common-1.0-0.47.svn20100703.el5.rf.x86_64 from rpmforge
mplayer-fonts-1.1-3.0.rf.noarch from rpmforge
svgalib-1.9.25-1.el5.rf.x86_64 from rpmforge
xvidcore-1.2.2-1.el5.rf.x86_64 from rpmforge
依存関係でスキップって思いっきり言われてまっせ・・・
[root@NAS ~]# yum list installed | grep mplayer
[root@NAS ~]# find / -name mplayer
何も出てこんよ・・
スキップされるだけで全然だめジャン
カードリーダ関係をインストールしたとき古い記事見て赤い帽子の5の入れちゃったからかな・・・
確認・・・

[root@NAS ~]# cat /etc/yum.repos.d/rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
ふむ。5とかかいてあるな・・・
6にすればええんかな?
5で入れたやつはどうなっちゃうんだろ・・・ま、いっか。女は度胸男は愛嬌(違。
RPMforgeリポジトリ導入(RPMforge)』を参考に
yum-plugin-prioritiesとかは前回入れてるはずだから確認

[root@NAS ~]# yum list installed | grep yum-plugin-
yum-plugin-fastestmirror.noarch 1.1.30-14.el6 @base/$releasever
yum-plugin-priorities.noarch 1.1.30-14.el6 @base
yum-plugin-security.noarch 1.1.30-14.el6 @base/$releasever
プライオリティを書き足すらしい
[root@NAS ~]# vi /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[root@NAS ~]# cd /usr/local/src
/usr/local/srcに移動して、64bitのファイルをウェブ上で確認して、ダウンロード
[root@NAS src]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
--2012-09-30 16:27:08-- http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Resolving pkgs.repoforge.org... 78.46.17.228
Connecting to pkgs.repoforge.org|78.46.17.228|:80... connected.
HTTP request sent, awaiting response... 302 Found
~~略~~
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12700 (12K) [application/x-redhat-package-manager]
Saving to: “rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm”

100%[======================================>] 12,700 20.8K/s in 0.6s

2012-09-30 16:27:12 (20.8 KB/s) - “rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm” saved [12700/12700]

[root@NAS src]# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Preparing... ########################################### [100%]
file /etc/apt/sources.list.d/rpmforge.list from install of rpmforge-release-0.5.2-2.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.3.6-1.el5.rf.x86_64
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-2.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.3.6-1.el5.rf.x86_64
file /etc/smart/channels/rpmforge.channel from install of rpmforge-release-0.5.2-2.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.3.6-1.el5.rf.x86_64
file /etc/sysconfig/rhn/sources.rpmforge.txt from install of rpmforge-release-0.5.2-2.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.3.6-1.el5.rf.x86_64
file /etc/yum.repos.d/mirrors-rpmforge from install of rpmforge-release-0.5.2-2.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.3.6-1.el5.rf.x86_64
file /etc/yum.repos.d/rpmforge.repo from install of rpmforge-release-0.5.2-2.el6.rf.x86_64 conflicts with file from package rpmforge-release-0.3.6-1.el5.rf.x86_64
いけたのか?これ
[root@NAS src]# yum -y update rpmforge-release
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
base | 3.7 kB 00:00
extras | 3.0 kB 00:00
updates | 3.5 kB 00:00
Setting up Update Process
No Packages marked for Update
なんかだめくさくね?前(5)の時のrpmforge.repoのファイルが古いのがだめか?
[root@NAS src]# cat /etc/yum.repos.d/rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
赤帽子5のまんまだもんな。
検索しマース。CentOSのフォーラムにこんなんがありますた。
removeとかやっちゃっていいもんなん?前入れたのも消えたりしないの?
ま、いっか、女は度胸男は愛嬌(違

[root@NAS src]# yum remove rpmforge-release
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package rpmforge-release.x86_64 0:0.3.6-1.el5.rf will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
rpmforge-release x86_64 0.3.6-1.el5.rf installed 14 k

Transaction Summary
================================================================================
Remove 1 Package(s)

Installed size: 14 k
あ、なんか消えるのはそれだけっぽいね。じゃいいか。
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : rpmforge-release-0.3.6-1.el5.rf.x86_64 1/1
warning: /etc/yum.repos.d/rpmforge.repo saved as /etc/yum.repos.d/rpmforge.repo.rpmsave
Verifying : rpmforge-release-0.3.6-1.el5.rf.x86_64 1/1

Removed:
rpmforge-release.x86_64 0:0.3.6-1.el5.rf

Complete!
以前のrpmforgeで入れたの大丈夫か確認するか・・・
[root@NAS src]# yum list installed | grep ffmpeg
ffmpeg.x86_64 0.6.5-1.el5.rf @rpmforge
ffmpeg-devel.x86_64 0.6.5-1.el5.rf @rpmforge
ffmpeg-libpostproc.x86_64 0.6.5-1.el5.rf @rpmforge
いいようだな。ほなやってみっか。
[root@NAS src]# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
なにやらよい予感。どらどら?
[root@NAS src]# cat /etc/yum.repos.d/rpmforge.repo
### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
6になってますな。
enableを0にするんやろ?

[root@NAS src]# sed -e 's/enabled = [01]/enabled = 0/' /etc/yum.repos.d/rpmforge.repo
確認
[root@NAS src]# cat /etc/yum.repos.d/rpmforge.repo
### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
[root@NAS src]# yum -y update rpmforge-release
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* rpmforge: mirror.oscc.org.my
* updates: mirrors.163.com
1503 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update
ほならばいってみますか。
[root@NAS src]# yum install --enablerepo=rpmforge -y mplayer
~~略~~
だめやーん。足らんといわれてるlibgpm.so.1とかをいれてみるかー
検索しマース。libtool-ltdlに含まれてるらしい。入れたらえんやろ?

[root@NAS src]# yum -y install libtool-ltdl
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* rpmforge: ftp.riken.jp
* updates: mirrors.163.com
1503 packages excluded due to repository priority protections
Setting up Install Process
Package libtool-ltdl-2.2.6-15.5.el6.x86_64 already installed and latest version
Nothing to do
えー最新はいっとるとか・・・どゆこと?ほんまに?
[root@NAS src]# yum list installed | grep libtool
libtool-ltdl.x86_64 2.2.6-15.5.el6 @base/$releasever
ほんまですね・・・・
ああ、もう、やけくそや・・・・

[root@NAS src]# yum install libgpm.so.1
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* rpmforge: mirror-fpt-telecom.fpt.net
* updates: mirrors.163.com
1503 packages excluded due to repository priority protections
Setting up Install Process
No package libgpm.so.1 available.
Error: Nothing to do
ないよな・・・
でもためしとこか・・・

[root@NAS src]# yum install --enablerepo=rpmforge libgpm.so.1
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* rpmforge: ftp.riken.jp
* updates: mirrors.163.com
1503 packages excluded due to repository priority protections
Setting up Install Process
No package libgpm.so.1 available.
Error: Nothing to do
だめっすな。さっきのログのもう一個試すか・・・
[root@NAS src]# rpm -Va --nofiles --nodigest
なんかしたの?エラーも何も言わんけど?
やってみるか?

[root@NAS src]# yum install --enablerepo=rpmforge -y mplayer
~~略~~
だめですか。
あーもーわからん。
まんどくさい、ソース拾ってきてコンパイルしよ・・・・
CentOSでホームサーバー エンコード編』この辺を参考に

[root@NAS src]# wget ftp://ftp.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
--2012-09-30 17:41:52-- ftp://ftp.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2
=> “mplayer-export-snapshot.tar.bz2”
Resolving ftp.mplayerhq.hu... 192.190.173.45, 193.225.187.203, 212.27.60.27, ...
Connecting to ftp.mplayerhq.hu|192.190.173.45|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /MPlayer/releases ... done.
==> SIZE mplayer-export-snapshot.tar.bz2 ... 6143920
==> PASV ... done. ==> RETR mplayer-export-snapshot.tar.bz2 ... done.
Length: 6143920 (5.9M) (unauthoritative)

100%[======================================>] 6,143,920 639K/s in 15s

2012-09-30 17:42:13 (397 KB/s) - “mplayer-export-snapshot.tar.bz2” saved [6143920]

[root@NAS src]# tar xjvf mplayer-export-snapshot.tar.bz2
mplayer-export-2012-09-30/
mplayer-export-2012-09-30/etc/
mplayer-export-2012-09-30/etc/menu.conf
~~めっちゃ多いんで略~~
mplayer-export-2012-09-30/libdvdnav/navigation.c
mplayer-export-2012-09-30/libdvdnav/dvdnav.c
[root@NAS src]# cd mplayer-export-2012-09-30
[root@NAS mplayer-export-2012-09-30]# ./configure
No FFmpeg checkout, press enter to download one with git or CTRL+C to abort

Initialized empty Git repository in /usr/local/src/mplayer-export-2012-09-30/ffmpeg/.git/
remote: Counting objects: 13365, done.
remote: Compressing objects: 100% (8547/8547), done.
remote: Total 13365 (delta 9360), reused 7266 (delta 4589)
Receiving objects: 100% (13365/13365), 13.66 MiB | 332 KiB/s, done.
Resolving deltas: 100% (9360/9360), done.
Checking for cc version ... 4.4.6
~~略~~
Checking for ebx availability ... yes
Checking for yasm ...
Error: yasm not found, use --yasm='' if you really want to compile without

Check "config.log" if you do not understand why it failed.
yasmってのがないって言われた。yasmってなにもの?
Yasm Downloads and Releases』よくわからんけどいれるか。
FFmpeg を CentOS で使う』を参考に
また/usr/local/srcに移って

[root@NAS mplayer-export-2012-09-30]# cd /usr/local/src
[root@NAS src]# wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
--2012-09-30 17:49:38-- http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
Resolving www.tortall.net... 69.55.238.110
Connecting to www.tortall.net|69.55.238.110|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1436502 (1.4M) [application/x-gzip]
Saving to: “yasm-1.2.0.tar.gz”

100%[======================================>] 1,436,502 347K/s in 4.0s

2012-09-30 17:49:43 (347 KB/s) - “yasm-1.2.0.tar.gz” saved [1436502/1436502]

[root@NAS src]# tar xzf yasm-1.2.0.tar.gz
[root@NAS src]# cd yasm-1.2.0
[root@NAS yasm-1.2.0]# ./configure
~~略~~
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libyasm-stdint.h commands
config.status: creating libyasm-stdint.h : _YASM_LIBYASM_STDINT_H
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
[root@NAS yasm-1.2.0]# make
~~略~~
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -MT vsyasm.o -MD -MP -MF .deps/vsyasm.Tpo -c -o vsyasm.o `test -f 'frontends/vsyasm/vsyasm.c' || echo './'`frontends/vsyasm/vsyasm.c
mv -f .deps/vsyasm.Tpo .deps/vsyasm.Po
gcc -std=gnu99 -g -O2 -o vsyasm vsyasm.o yasm-options.o libyasm.a
make[2]: Leaving directory `/usr/local/src/yasm-1.2.0'
make[1]: Leaving directory `/usr/local/src/yasm-1.2.0'
[root@NAS yasm-1.2.0]# make install
make install-recursive
make[1]: Entering directory `/usr/local/src/yasm-1.2.0'
Making install in po
make[2]: Entering directory `/usr/local/src/yasm-1.2.0/po'
/bin/mkdir -p /usr/local/share
~~略~~
make[3]: Leaving directory `/usr/local/src/yasm-1.2.0'
make[2]: Leaving directory `/usr/local/src/yasm-1.2.0'
make[1]: Leaving directory `/usr/local/src/yasm-1.2.0'
[root@NAS yasm-1.2.0]# cd /usr/local/src/mplayer-export-2012-09-30
[root@NAS mplayer-export-2012-09-30]# ./configure
Current branch master is up to date.
Checking for cc version ... 4.4.6
Checking for working compiler ... yes
Detected operating system: Linux
Detected host architecture: x86_64
Checking for cross compilation ... no
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (6:54:1)
Checking for CPU type ... Intel(R) Atom(TM) CPU N2800 @ 1.86GHz
~~略~~
NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.

[root@NAS mplayer-export-2012-09-30]# make
help/help_create.sh help/help_mp-en.h UTF-8
~~めちゃめちゃ長いので略~~
[root@NAS mplayer-export-2012-09-30]# make install
install -d /usr/local/bin /usr/local/etc/mplayer /usr/local/lib
install -m 755 -s mencoder /usr/local/bin
install -d /usr/local/share/man/man1
install -m 644 DOCS/man/en/mplayer.1 /usr/local/share/man/man1/
cd /usr/local/share/man/man1 && ln -sf mplayer.1 mencoder.1
install -m 755 -s mplayer /usr/local/bin
いけたみたいだ
[root@NAS mplayer-export-2012-09-30]# cd
[root@NAS ~]# yum --enablerepo=rpmforge install mencoder
~~略~~
Error: Package: mencoder-1.0-0.47.svn20100703.el5.rf.x86_64 (rpmforge)
Requires: libfribidi.so.0()(64bit)
Error: Package: mpg123-1.14.4-1.el5.rf.x86_64 (rpmforge)
Requires: libltdl.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
だめかー。ログみてみるー。あれ、mplayerと一緒に入ってるのか?
[root@NAS ~]# find / -name mencoder
/usr/local/src/mplayer-export-2012-09-30/mencoder
/usr/local/bin/mencoder
なんだあるや。
[root@NAS ~]# cd /usr/local/src
よっしゃ、とうとう本体入れるかー
[root@NAS src]# wget http://ps3mediaserver.googlecode.com/files/pms-generic-linux-unix-1.70.0.tgz
--2012-09-30 18:32:33-- http://ps3mediaserver.googlecode.com/files/pms-generic-linux-unix-1.70.0.tgz
Resolving ps3mediaserver.googlecode.com... 74.125.31.82
Connecting to ps3mediaserver.googlecode.com|74.125.31.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12648701 (12M) [application/x-gzip]
Saving to: “pms-generic-linux-unix-1.70.0.tgz”

100%[======================================>] 12,648,701 852K/s in 16s

2012-09-30 18:32:49 (764 KB/s) - “pms-generic-linux-unix-1.70.0.tgz” saved [12648701/12648701]

[root@NAS src]# tar zxvf pms-generic-linux-unix-1.70.0.tgz
pms-1.70.0/LICENSE.txt
pms-1.70.0/CHANGELOG
pms-1.70.0/README.md
pms-1.70.0/plugins/
pms-1.70.0/documentation/
pms-1.70.0/documentation/css/
pms-1.70.0/documentation/images/
pms-1.70.0/logback.xml
~~長い~~
pms-1.70.0/pms.jar
pms-1.70.0/tsMuxeR
pms-1.70.0/PMS.sh
[root@NAS src]# mkdir /opt/pms
[root@NAS src]# cp -r ./pms-1.70.0/* /opt/pms/
[root@NAS src]# cd /opt/pms/
ぱーみっしょん。
[root@NAS pms]# chmod 755 PMS.sh
[root@NAS pms]# chmod 755 pms.jar
[root@NAS pms]# chmod 755 tsMuxeR
本体はダウンロードして解凍するだけかー。
とりあえず立ち上げてみっかー

[root@NAS pms]# ./PMS.sh
18:57:07.456 [main] DEBUG o.a.c.c.PropertiesConfiguration - FileName set to PMS.conf
18:57:07.480 [main] DEBUG o.a.c.c.PropertiesConfiguration - Base path set to /root/.config/PMS
18:57:08,774 |-ERROR in ch.qos.logback.core.util.ContextUtil@487096f3 - Failed to get local hostname java.net.UnknownHostException: NAS.localdomain: NAS.localdomain
~~略~~
WARN 2012-09-30 18:57:10.096 [main] Error loading libzen: Unable to load library 'zen': libzen.so: cannot open shared object file: No such file or directory
^C
libzenがないって言われた気がするー
検索しマース。『PS3でPC内の動画を再生したい! 〜破〜』なんか同じような人がいるなー
でもバージョンも違うし64bitやし。
で、検索して出てきたのがソースフォージのここ『ZenLib』とここ『Zenlib-devel

[root@NAS pms]#
[root@NAS pms]# cd /usr/local/src
だうんろーどのぱすはどこや?
[root@NAS src]# wget http://sourceforge.jp/projects/sfnet_zenlib/downloads/ZenLib/0.4.24/libzen-devel-0.4.24-1.x86_64.CentOS_6.rpm/
--2012-09-30 19:18:27-- http://sourceforge.jp/projects/sfnet_zenlib/downloads/ZenLib/0.4.24/libzen-devel-0.4.24-1.x86_64.CentOS_6.rpm/
Resolving sourceforge.jp... 202.221.179.21
Connecting to sourceforge.jp|202.221.179.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “index.html”

[ <=> ] 20,105 --.-K/s in 0.1s

2012-09-30 19:18:28 (193 KB/s) - “index.html” saved [20105]
あら、だみだ。
[root@NAS src]# rm ./index.html
rm: remove regular file `./index.html'? y
わからんからwinで落としてサンバで渡すか
[root@NAS src]# mv /home/share/libzen0-0.4.24-1.x86_64.CentOS_6.rpm /usr/local/src
[root@NAS src]# mv /home/share/libzen-devel-0.4.24-1.x86_64.CentOS_6.rpm /usr/local/src
[root@NAS src]# rpm -ivh libzen0-0.4.24-1.x86_64.CentOS_6.rpm
warning: libzen0-0.4.24-1.x86_64.CentOS_6.rpm: Header V3 DSA/SHA1 Signature, key ID 0c9a6ded: NOKEY
Preparing... ########################################### [100%]
1:libzen0 ########################################### [100%]
[root@NAS src]# rpm -ivh libzen-devel-0.4.24-1.x86_64.CentOS_6.rpm
warning: libzen-devel-0.4.24-1.x86_64.CentOS_6.rpm: Header V3 DSA/SHA1 Signature, key ID 0c9a6ded: NOKEY
Preparing... ########################################### [100%]
1:libzen-devel ########################################### [100%]
[root@NAS src]# cd /opt/pms/
[root@NAS pms]# ./PMS.sh
19:33:14.743 [main] DEBUG o.a.c.c.ConfigurationUtils - ConfigurationUtils.locate(): base is null, name is /root/.config/PMS/PMS.conf
~~略~~
19:33:15,929 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
19:33:15,938 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2222537a - Registering current configuration as safe fallback point

なんかこれで立ち上がってるの?らしい。
^C 終わるときはctrl + cか。
[root@NAS pms]#


portが5001番らしい
firewallね。
PMSが動くとこまでは行ったけどー。
woooからはファイルが参照できるけどー。minidlnaで見れてたファイルすら再生できんしー。
win7のwmpで見たらファイルすら見れないしー。

というわけで、ここまで来て放置・・・・・・・・
スポンサーサイト

PageTop

コメント

 ※
 ※
管理者にだけ表示を許可する
  ※ 必須項目です

上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。