■
Linux(CentOS 4(レッドハット・クローン))を久しぶりにいれてみた。FireFoxのブラウザ、おちゅ〜しゃの2ちゃんブラウザは快適に動く。だが、cannnaというIMEは、低機能でちょっといじると動かなくなった。的確なわかりやすい解説サイトも見つからない。ディスリが多すぎて、それぞれ微妙にちがうので難しい。geditというエディタも低機能で使いにくい。だが、とりあえず、日本語で書けるという最低限の機能ははたしている。実用レベルにはなっている。
○ストリーミングなどの動画を見るのは、難しいようだ。RPMをいれているうちに、Aをいれようとすれば、Bを要求されてストップし、BをいれようとすればAを要求されて終わるという変なことになり、途中で投げ出した。あとで気づいたがこれが解決法になるかも。
フェドーラ プロジェクトでは、ライセンス上の問題から、これらマルチメディア関連のソフトウェアが最初から含まれていません。公式なリポジトリー(fedora.redhat.com や fedora.us)では、追加パッケージとしても提供されません。このため、他のリポジトリーも追加したいと考える方もあるでしょう。しかしながら、勝手に他のリポジトリーを追加すると、リポジトリー混用の問題が発生し、パッケージ同士のクラッシュが起こる可能性が出てきます。http://linux2ch.bbzone.net/index.php?FAQ%2FDistribution%2FFedora#content_1_32
この問題を回避するために、http://rpm.livna.org/ と http://jpackage.org/ の両サイトにおいて、追加用のパッケージが用意されています。
-
- -
さらに、後で気づいたが、これが簡単そう。
MPlayer関係をまとめてインストール:
http://www.a.phys.nagoya-u.ac.jp/~taka/linux/co4note.html#mplayer
# yum install mplayer*
○ハードディスクをマウントし忘れていたら見えないままになっていた。「マウントしますか?」とか聞くくらいの親切設計がほしいところ。あとでfstabを編集すればマウントできる。
-
-
-
-
-
-
- -
-
-
-
-
-
●動画を見るために
MPlayer - Fedora Guide を見て CentOS 4 (Fedora 3 と互換らしいので))Linux にインストールしてみる。
http://www.mjmwired.net/resources/mplayer-fedora.shtml
◯ Divx は、MPlayerには、必要ないらしい。(一応はめた)。書いてあるコマンドをコンソールにコピペして実行するだけ。
◯2.2. Lame 音
http://sourceforge.net/project/showfiles.php?group_id=290
ものすごい時間がかかる(10分とか)がはいった。
◯Xvidは、はいった。
◯2.5. LIVE.COM Streaming Support
エラーがでたけど無視。
MPEG1or2Demux.cpp:164: 警告: 異なるサイズの整数からポインタにキャストされました
MPEG1or2Demux.cpp: In member function `void MPEGProgramStreamParser::parsePackHeader()':
MPEG1or2Demux.cpp:460: 警告: 異なるサイズの整数からポインタにキャストされました
H263plusVideoRTPSink.cpp:66: 警告: 異なるサイズの整数からポインタにキャストされました
H263plusVideoRTPSink.cpp:66: 警告: 異なるサイズの整数からポインH263plusVideoRTPSink.cpp:66: 警告: 異なるサイズの整数からポインタにキャストされました
警告: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting theheader for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated.
◯3.2. Installing Additional (Win32) Codecs
はいった。
すべてのファイルが /usr/local/lib/codecs にあり、そして、/usr/lib/win32 はリンクなら次のコマンドを実行
All files are in /usr/local/lib/codecs and /usr/lib/win32 is a link:
[root@charon mm]# ln -s /usr/local/lib/codecs /usr/lib/win32
◯3.3. Setup MPlayer
Red Hat / Fedora RPM packages のほうをすでに入れていたが、アンインストして説明どおりいれてみる。しかし、アンインストールできない。システム設定のアプリケーションの削除にMplayerがでてこない。無視してインストール。
◯
The first option is required to install the GUI. The second option is to allow access to large files over 2GB. Useful to rip DVD's or record Digital Video. The third option is for menus in the OSD (On Screen Display). The last 2 options are to better match other MPlayer installations.最初のオプションはGUIのインストール。次は、2G越のファイルにアクセスできるように。3つめはメニュー。最後の2つはインストにより適合する。(other?)
#./configure --enable-gui --enable-largefiles --enable-menu --prefix=/usr --confdir=/etc/mplayer
◯ RPMs: gtk+-1.2.10, gtk+-1.2.10-devel, glib-1.2.10, glib-1.2.10-devel.がGUIのために必要。一部は、すでにはいっている。途中でCDを求められてOKを押しても先にすすめない。しかたなく、キャンセルしたが、はいったようだ。
◯ もう一度さっきの ./configure とかを実行。今度は、
Config files successfully generated by ./configure !成功したとでる。
◯3.3.3. Installing
make
警告エラーでまくり。 無視して先へすすむ。
mplayer/gtk/opts.c:1476: warning: passing arg 1 of `gfree' from incompatible pointer type
◯3.3.4. OSD / Fonts
fonts-xorg-truetype RPM if FC3
なぜか失敗。これは、やめ。
#rpm --rebuild fonts-xorg-6.8.2-1.src.rpm
- rebuild: unknown option
◯フォントは、 msttcorefonts package
のほうをいれてみる。
Install Microsoft Truetype Fonts
http://corefonts.sourceforge.net/
http://www.mjmwired.net/resources/mjm-fedora-fc3.shtml#ttf
You have to make the RPM, to speed things up I've created the RPM:
msttcorefonts-1.3-3.noarch.rpm
RPMファイルはつくってくれているのでこれを使う。
(as root)
# rpm -ivh msttcorefonts-1.3-3.noarch.rpm
# /etc/init.d/xfs restart
xfsサービスを使用してないならリスタートは必要ないけどと書いてあるが、使用しているみたいでリスタートした。
(or just log out and log back in, reboot not required)
If you are NOT running 'xfs' service then you do not need to restart it.
# ln -s /usr/share/fonts/msttcorefonts/arial.ttf ~/.mplayer/subfont.ttf
◯3.3.5. GUI
ブルーのスキンをいれる。
これは、たくさんのスキンを入れるときの話なので無視。
My preferred method is to install multiple skins and create 'default' as a soft link.
#gmplayer
でうごく。適当に手を抜きながらも、何時間もかかったよ。
動いてうれしいような、燃えつきたような。
ただ、普通の動画は見れるが、ストリーミングだけは、やっぱり見れないみたい。