検索エンジンから来た方へ: 申し訳ないですが、日記なので日々積み重なっています。 目的の情報にたどり着くには、右の検索窓から日記内を再検索してください。
北陸エリア内(もしくはエリア外でも)で転職先を探しています。 (マジです。ネタではありません。ホントですって...) 詳細履歴書をご希望の方はメールでご連絡下さいませ。(kinneko at gmail.com)
chromeで見ると、死ぬほど出るGoogleの広告がブロックできないので、 firefoxでABPを入れるとすっきり見られます。
2012-01-31
■ launchpadにアカウント作成
https://launchpad.net/~kinneko
Ubuntu-tvのMLに参加するため。
最初、Confirmation codeが全然おくってこなくて、どうしようかと思ったが、パスワード忘れた再申請したらすぐに来た。
パスワードの更新も画面遷移がなく、更新できたかよくわからないようなUI。
■[utv][UbuntuTV] Linaro 12.01のUbuntu-TV化
マウスポインタの残像はアップグレード後も残っている。
一旦ログアウトして、Unity2Dに切り替える。
2Dにすると、マウスポインタの残像は出なくなる。
dviで認識したからか、解像度は1280x1024になっている。
起動パラメータで渡さないと、スクエアディスプレイを認識しないのは直ったのだろうか?
スリープの抑制対処。
普通のUnityでは、ダッシュボードの定規とペンのアイコンは、アプリケーションのようだ。
書類アイコンがFilesだが、これはTVにはないな。
OMAP関係で、この時点でインストール済みのもの。
linaro@linaro-ubuntu-desktop:~$ dpkg -l | grep omap ii libegl1-sgx-omap4 1.7.10.0.1.8-1linaro1 PowerVR SGX540 EGL libraries for OMAP4 ii libgles1-sgx-omap4 1.7.10.0.1.8-1linaro1 PowerVR SGX540 OpenGL|ES 1.x libraries for OMAP4 ii libgles2-sgx-omap4 1.7.10.0.1.8-1linaro1 PowerVR SGX540 OpenGL|ES 2.x libraries for OMAP4 ii libopenvg1-sgx-omap4 1.7.10.0.1.8-1linaro1 PowerVR SGX540 OVG libraries for OMAP4 ii linux-headers-3.1.1-8-linaro-lt-omap 3.1.1-8.8~lt~ci~20120118001257+025756 Linux kernel headers for version 3.1.1 on TI OMAP[34]-based systems ii linux-headers-linaro-lt-omap 3.1.1.8.6 Linux kernel headers for the OMAP architecture. ii linux-image-3.1.1-8-linaro-lt-omap 3.1.1-8.8~lt~ci~20120118001257+025756 Linux kernel image for version 3.1.1 on TI OMAP[34]-based systems ii linux-image-linaro-lt-omap 3.1.1.8.6 Linux kernel image for the OMAP architecture. ii powervr-omap4-dkms 1.7.10.0.1.1-1linaro1 PowerVR SGX540 kernel module source code - dkms version ii pvr-omap4 1.7.10.0.1.8-1linaro1 PowerVR SGX540 libraries for OMAP4, remaining libs and binaries ii pvr-omap4-data 1.7.10.0.1.8-1linaro1 PowerVR SGX540 libraries for OMAP4, data files ii pvr-omap4-dkms 1:1.7.10.0.1.1-1linaro1 transitional package ii pvr-omap4-utils 1.7.10.0.1.8-1linaro1 PowerVR SGX540 utilities for OMAP4 ii tiomap4-syslink-ipc-ducati-firmware 2.6.1+git20111110+f289b98f-0ubuntu1 Texas Instruments Ducati IPC Samples Firmware ii tiomap4-syslink-ipc-tesla-firmware 2.6.1+git20111110+f289b98f-0ubuntu1 Texas Instruments Tesla IPC Samples Firmware ii tiomap4-syslink-mm-ducati-firmware-dce 1.50.21.1+dce2+3 Texas Instruments DCE Ducati Multimedia Firmware ii ubuntu-omap4-extras-config 1.30 This is the TI OMAP4 configuration package ii ubuntu-omap4-extras-graphics 1.0 Metapackage for TI OMAP4 Graphics drivers
gstreamer関係で、この時点でインストール済みのもの。
linaro@linaro-ubuntu-desktop:~$ dpkg -l | grep gstreamer ii bluez-gstreamer 4.96-0ubuntu4linaro2 Bluetooth GStreamer support ii gir1.2-gstreamer-0.10 0.10.35-1+ti1.5.1.1+1 Description: GObject introspection data for the GStreamer library ii gstreamer0.10-alsa 0.10.35-1+ti1.5.1.1+1linaro1 GStreamer plugin for ALSA ii gstreamer0.10-ffmpeg 0.10.12-1ubuntu1+ti2 FFmpeg plugin for GStreamer ii gstreamer0.10-gconf 0.10.30-1ubuntu7+ti1.5.1.1+2 GStreamer plugin for getting the sink/source information from GConf ii gstreamer0.10-nice 0.1.0-2ubuntu1 ICE library (GStreamer plugin) ii gstreamer0.10-plugins-base 0.10.35-1+ti1.5.1.1+1linaro1 GStreamer plugins from the "base" set ii gstreamer0.10-plugins-base-apps 0.10.35-1+ti1.5.1.1+1linaro1 GStreamer helper programs from the "base" set ii gstreamer0.10-plugins-good 0.10.30-1ubuntu7+ti1.5.1.1+2 GStreamer plugins from the "good" set ii gstreamer0.10-pulseaudio 0.10.30-1ubuntu7+ti1.5.1.1+2 GStreamer plugin for PulseAudio ii gstreamer0.10-tools 0.10.35-1+ti1.5.1.1+1 Tools for use with GStreamer ii gstreamer0.10-x 0.10.35-1+ti1.5.1.1+1linaro1 GStreamer plugins for X11 and Pango ii libgstreamer-plugins-base0.10-0 0.10.35-1+ti1.5.1.1+1linaro1 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.35-1+ti1.5.1.1+1 Core GStreamer libraries and elements
ubuntu-omap4-extras-multimediaを追加すると、インストールされるもの。
libfam0 (2.7.0-17 Ubuntu:11.10/oneiric [armel]) libgnomevfs2-common (1:2.24.4-1ubuntu2linaro1 Linaro Overlay PPA:11.10/oneiric [all]) libgnomevfs2-0 (1:2.24.4-1ubuntu2linaro1 Linaro Overlay PPA:11.10/oneiric [armel]) libsoundtouch0 (1.6.0-2 Ubuntu:11.10/oneiric [armel]) libfaac0 (1.28-0ubuntu1 Ubuntu:11.10/oneiric [armel]) faac (1.28-0ubuntu1 Ubuntu:11.10/oneiric [armel]) freepats (20060219-1 Ubuntu:11.10/oneiric [all]) gir1.2-gst-plugins-base-0.10 (0.10.35-1+ti1.5.1.1+1linaro1 Linaro Overlay PPA:11.10/oneiric [armel]) gst-auto-launch (0.3.21-2 Linaro Overlay PPA:11.10/oneiric [armel]) gstreamer-tools (0.10.35-1+ti1.5.1.1+1 Linaro Overlay PPA:11.10/oneiric [armel]) gstreamer0.10-gnomevfs (0.10.35-1+ti1.5.1.1+1linaro1 Linaro Overlay PPA:11.10/oneiric [armel]) libenca0 (1.13-4 Ubuntu:11.10/oneiric [armel]) libass4 (0.9.13-1 Ubuntu:11.10/oneiric [armel]) libcdaudio1 (0.99.12p2-10 Ubuntu:11.10/oneiric [armel]) libcelt0-0 (0.7.1-1 Ubuntu:11.10/oneiric [armel]) libdc1394-22 (2.1.3-4 Ubuntu:11.10/oneiric [armel]) libdca0 (0.0.5-4 Ubuntu:11.10/oneiric [armel]) libdirac-encoder0 (1.0.2-4 Ubuntu:11.10/oneiric [armel]) tsconf (1.0-9 Ubuntu:11.10/oneiric [all]) libts-0.0-0 (1.0-9 Ubuntu:11.10/oneiric [armel]) libdirectfb-1.2-9 (1.2.10.0-4ubuntu3 Ubuntu:11.10/oneiric [armel]) libdvdread4 (4.1.3-10ubuntu4.1 Ubuntu:11.10/oneiric-updates [armel]) libdvdnav4 (4.1.3-7 Ubuntu:11.10/oneiric [armel]) libfaad2 (2.7-6ubuntu1 Ubuntu:11.10/oneiric [armel]) libflite1 (1.4-release-2 Ubuntu:11.10/oneiric [armel]) libgme0 (0.5.5-2 Ubuntu:11.10/oneiric [armel]) libgsm1 (1.0.13-3 Ubuntu:11.10/oneiric [armel]) libkate1 (0.3.8-1 Ubuntu:11.10/oneiric [armel]) libmimic0 (1.0.4-2.1 Ubuntu:11.10/oneiric [armel]) libmms0 (0.6.2-2 Ubuntu:11.10/oneiric [armel]) libmodplug1 (1:0.8.8.2-3ubuntu1.1 Ubuntu:11.10/oneiric-security [armel]) libmpcdec6 (2:0.1~r459-1ubuntu1 Ubuntu:11.10/oneiric [armel]) libmusicbrainz4c2a (2.1.5-6 Ubuntu:11.10/oneiric [armel]) libfftw3-3 (3.2.2-1ubuntu2 Ubuntu:11.10/oneiric [armel]) libofa0 (0.9.3-3.1 Ubuntu:11.10/oneiric [armel]) libschroedinger-1.0-0 (1.0.10-2.1 Ubuntu:11.10/oneiric [armel]) libyajl1 (1.0.12-0ubuntu2 Ubuntu:11.10/oneiric [armel]) libraptor2-0 (2.0.4-1 Ubuntu:11.10/oneiric [armel]) libmhash2 (0.9.9.9-1 Ubuntu:11.10/oneiric [armel]) librasqal3 (0.9.26-1 Ubuntu:11.10/oneiric [armel]) librdf0 (1.0.13-3 Ubuntu:11.10/oneiric [armel]) libslv2-9 (0.6.6-9 Ubuntu:11.10/oneiric [armel]) libwildmidi1 (0.2.3.4-1 Ubuntu:11.10/oneiric [armel]) libzbar0 (0.10+doc-7 Ubuntu:11.10/oneiric [armel]) gstreamer0.10-plugins-bad (0.10.22-2ubuntu4+ti1.5.1.5+3 Linaro Overlay PPA:11.10/oneiric [armel]) libdce0 (1.5.3.1-1 Linaro Overlay PPA:11.10/oneiric [armel]) gstreamer0.10-plugin-ducati (1.5.3.13+git20120124+8152900-1linaro1 Linaro Overlay PPA:11.10/oneiric [armel]) liba52-0.7.4 (0.7.4-16 Ubuntu:11.10/oneiric [armel]) libid3tag0 (0.15.1b-10build2 Ubuntu:11.10/oneiric [armel]) libmad0 (0.15.1b-5ubuntu1 Ubuntu:11.10/oneiric [armel]) libmp3lame0 (3.98.4-0ubuntu1 Ubuntu:11.10/oneiric [armel]) libmpeg2-4 (0.4.1-3 Ubuntu:11.10/oneiric [armel]) libopencore-amrnb0 (0.1.2-1 Ubuntu:11.10/oneiric [armel]) libopencore-amrwb0 (0.1.2-1 Ubuntu:11.10/oneiric [armel]) libsidplay1 (1.36.59-5 Ubuntu:11.10/oneiric [armel]) libtwolame0 (0.3.13-1 Ubuntu:11.10/oneiric [armel]) libx264-116 (2:0.116.2042+git178455c-1ubuntu1 Ubuntu:11.10/oneiric [armel]) gstreamer0.10-plugins-ugly (0.10.18-3ubuntu1 Ubuntu:11.10/oneiric [armel]) libgnomevfs2-extra (1:2.24.4-1ubuntu2linaro1 Linaro Overlay PPA:11.10/oneiric [armel]) gstreamer0.10-faac (0.10.22-2ubuntu4+ti1.5.1.5+3 Linaro Overlay PPA:11.10/oneiric [armel]) gstreamer0.10-sdl (0.10.22-2ubuntu4+ti1.5.1.5+3 Linaro Overlay PPA:11.10/oneiric [armel]) ubuntu-omap4-extras-multimedia (1.1 Linaro Overlay PPA:11.10/oneiric [all])
前と違って、faacが普通に提供されている。
入れる。
linaro@linaro-ubuntu-desktop:~$ sudo apt-get install ubuntu-omap4-extras-multimedia
unity-lens-videoパッケージを追加。
linaro@linaro-ubuntu-desktop:~$ sudo apt-get install unity-lens-video (snip) Setting up unity-lens-video (0.5+51+201201160324~oneiric1) ...
これは変わってないみたい。
ビルド環境の用意。
依存関係でlibegl1-sgx-omap4とlibgles2-sgx-omap4が消されないように、libegl1-sgx-omap4-dev libgles2-sgx-omap4-devパッケージを追加して抑制。
linaro@linaro-ubuntu-desktop:~$ sudo apt-get install libegl1-sgx-omap4-dev libgles2-sgx-omap4-dev
入ったもの。
libegl1-sgx-omap4-dev armel 1.7.10.0.1.8-1linaro1 [18.9 kB] libpthread-stubs0 armel 0.3-2.1 [3292 B] libpthread-stubs0-dev armel 0.3-2.1 [2426 B] xorg-sgml-doctools armel 1:1.8-2 [10.9 kB] libgles2-sgx-omap4-dev armel 1.7.10.0.1.8-1linaro1 [22.7 kB] x11proto-core-dev armel 7.0.22-1 [299 kB] libxau-dev armel 1:1.0.6-3 [9350 B] libxdmcp-dev armel 1:1.1.0-3 [42.7 kB] x11proto-input-dev armel 2.0.2-2ubuntu1 [69.0 kB] x11proto-kb-dev armel 1.0.5-2 [27.6 kB] xtrans-dev armel 1.2.6-2 [82.9 kB] libxcb1-dev armel 1.7-3 [70.6 kB] libx11-dev armel 2:1.4.4-2ubuntu1 [3155 kB]
ビルドに必要なパッケージのインストール。
linaro@linaro-ubuntu-desktop:~$ sudo apt-get build-dep unity-2d
その他、必要なファイルのインストール。
linaro@linaro-ubuntu-desktop:~$ sudo apt-get install bzr dconf-tools ffmpeg gnome-common libdeclarative-multimedia
ソースコードのダウンロード。
linaro@linaro-ubuntu-desktop:~$ bzr branch lp:~s-team/ubuntutv/trunk ubuntu-tv Branched 959 revision(s).
リビジョンに変化なし。
ビルド。
linaro@linaro-ubuntu-desktop:~$ cd ubuntu-tv linaro@linaro-ubuntu-desktop:~/ubuntu-tv$ cmake linaro@linaro-ubuntu-desktop:~/ubuntu-tv$ make cd .. linaro@linaro-ubuntu-desktop:~/ubuntu-tv$ cd ..
起動テスト。
linaro@linaro-ubuntu-desktop:~$ vi start.sh linaro@linaro-ubuntu-desktop:~$ chmod +x start.sh
#!/bin/bash
GSETTINGS_SCHEMA_DIR=ubuntu-tv/data gsettings set com.canonical.Unity2d form-factor tv
killall unity-2d-{panel,places,launcher,spread}
sleep 1
killall unity-2d-{panel,places,launcher,spread}
sleep 1
killall unity-2d-{panel,places,launcher,spread}
metacity --replace &
cd ubuntu-tv
./shell/app/unity-2d-shell -opengl
起動。
linaro@linaro-ubuntu-desktop:~$ ./start.sh
問題なく起動した。
■[utv][UbuntuTV] Linaro 12.01のUbuntu-TV化 続き
予想通り、12.01にしたからといって、特に変化はないようだ。
再起動したら、1024x768の設定が有効になった。なんなのだ?
Unity2Dにて、解像度を変更しようとしたら、マウスポインタが消えた(^^;。
再生用ディレクトリを作成。
linaro@linaro-ubuntu-desktop:~$ mkdir -p ~/Videos/unity/local/featured ~/Videos/unity/local/rented ~/Videos/unity/local/purchased ~/Videos/unity/local/recorded
適当な名前のディレクトリを追加しても、表示は追加されない。
featuredにサンプル動画を入れる。
サンプル動画の入手。
http://www.h264info.com/clips.html から。
linaro@linaro-ubuntu-desktop:~$ cd Videos/unity/local/featured/ linaro@linaro-ubuntu-desktop:~/Videos/unity/local/featured$ wget http://downloads.dvdloc8.com/trailers/divxdigest/the_hobbit_an_unexpected_journey-trailer.zip linaro@linaro-ubuntu-desktop:~/Videos/unity/local/featured$ unzip the_hobbit_an_unexpected_journey-trailer.zip Archive: the_hobbit_an_unexpected_journey-trailer.zip inflating: poster.jpg inflating: readme.txt inflating: The Hobbit - An Unexpected Journey - Trailer.mp4
早送りに使うサムネイルを生成する。
linaro@linaro-ubuntu-desktop:~/Videos/unity/local/featured$ /usr/lib/unity-lens-video/create_tmb.sh "The Hobbit - An Unexpected Journey - Trailer.mp4" Creating thumbnails for The Hobbit - An Unexpected Journey - Trailer.mp4...
サムネイル生成スクリプトは、1ファイルにつき10個のサムネイル固定だそうだ。
映画なんかの中身検索用としては、あんまり役に立たないな。
それならそれで、gzに固めておくとかしたらいいのに、ベタ置きだし。
カバーアートデータは、拡張子を.tbnにして動画ファイルと同じ場所に置く。
フォーマットは何がいいんだろう。
落としたアーカイブに付属していたのはjpegだった。
linaro@linaro-ubuntu-desktop:~/Videos/unity/local/featured$ file poster.jpg poster.jpg: JPEG image data, JFIF standard 1.01, comment: "CREATOR: gd-jpeg v1.0 (using IJ" linaro@linaro-ubuntu-desktop:~/Videos/unity/local/featured$ mv poster.jpg "The Hobbit - An Unexpected Journey - Trailer.tbn"
以下同様に。
http://downloads.dvdloc8.com/trailers/divxdigest/the_hobbit_an_unexpected_journey-trailer.zip
Title: The Hobbit: An Unexpected Journey - H.264 HD 1080p Theatrical Trailer
File Size: 137 MB
Video Format: H.264
Video Resolution: 1910x800
Audio Format: AAC
Audio Details: 48 kHz, VBR
http://download2.dvdloc8.com/trailers/divxdigest/prometheus-trailer.zip
Title: Prometheus - H.264 HD 1080p Theatrical Trailer
File Size: 58 MB
Video Format: H.264
Video Resolution: 1920x816
Audio Format: AAC
Audio Details: 48 kHz, VBR
http://download2.dvdloc8.com/trailers/divxdigest/the_avengers-trailer.zip
Title: The Avengers (2012) - H.264 HD 1080p Theatrical Trailer
File Size: 104 MB
Video Format: H.264
Video Resolution: 1920x1056
Audio Format: AAC
Audio Details: 48 kHz, VBR
http://downloads.dvdloc8.com/trailers/divxdigest/captain_america_first_avenger-trailer2.zip
Title: Captain America: The First Avenger - H.264 HD 1080p Theatrical Trailer #2
File Size: 121 MB
Video Format: H.264
Video Resolution: 1920x800
Audio Format: AAC
Audio Details: 48 kHz, VBR
ホビットの再生は、以前よりだいぶいい。明るく速いところでは、ポリゴンが出てしまう。
ソフトウエアだけでは、このスピードは出ないと思われるので、ハードウエアデコードはやっている模様。
動作したまま放置しても出てこない。
Search Movies & TVを押しても出てこない。
ビデオの管理プロセスを殺してみる。
linaro@linaro-ubuntu-desktop:~/Videos/unity/local/featured$ killall unity-video-daemon
フィルムアイコンを選択しても、自動で上がってこない。
HUPかなんかにしてとけばよかったか。
Search Movies & TVを選んでキーインすると、だいぶ遅延してから上がってきた。
プロセスを終わらなくても、同様の方法が使えるようだ。
動画サンブルは、BigBuckBunnyを使ったものが、linaroから提供されている。
これも入れてみる。
http://samplemedia.linaro.org/
H264,MP4/1080pはきついが、720pくらいだと結構いろんなフォーマットで行けそう。
MP4/720p,480pはノイズだらけでダメ。
MP2/420pはまともに表示できない。1080pは止まってしまう。
VP8, VC1はどのサイズも結構快適に見られる。
qtmobilityは入っている?
インストール済みパッケージリストには、そのものの名前のものは入ってない!
PPAでは提供されないのかもしれない。
QtとQtmobilityモジュールは対応のものが必要って言ってるな。
パッケージ検索だと、qtmobility-l10n (1.1.0-0ubuntu4)しか出てこない。
これは、linaro版ではない。
PPAにある、qtmobility 1.1.0-0ubuntu4linaro1はどこにあるのだろう?
あと、たぶん、これも。
qt4-x11 4:4.7.4-0ubuntu8.1linaro1
precise(12.04)にしないとダメ?
dscを見る。
そのものの名前のパッケージはないのか?
バージョンで調べてみると、現在は、
- libdeclarative-multimedia
- libqtmultimediakit1
について、1.1.0-0ubuntu4linaro1版が入っている。
てーことは、再生でポリゴンが出るのは、このせいじゃないってことか...
■ オープンソースのオンラインストレージソフトウェア「ownCloud 3」リリース、オンラインエディタや機能拡張などをサポート
http://sourceforge.jp/magazine/12/01/31/0753239
PHPじゃなければなぁ...
■ 2inch ペーパーディスプレイ・モジュール
アイオイ・システムの『スマートタグ』は、これを使っているのかな?
http://doubletrading.com/e-paper2-inchmonochromedisplay.aspx
結構いろんな種類がある。
http://www.pervasivedisplay.com/products/panels
デモキットを買えるけど、値段がない。
http://www.pervasivedisplay.com/try-buy/home
dev kitは2インチだけ。
会社は台南か。
これは、安くないのだろうか。
http://auo.com/?sn=307&lang=ja-JP&c=178
今ある一通りのものが解説されている。