まず、Mirakurunというには
Mirakurun は ↓から「LAN 内でチューナーを共有するためのシステム」だそうです
詳細には↓のような機能があるそうです…
- RESTful API (Open API / Swagger 2.0 に準拠)
- Unix Sockets / TCP / 名前付きパイプ (Windows)
- 高信頼なチューナー制御 / 優先度管理 / マルチストリーム
- MPEG-2 TS パーサー, フィルター
- リアルタイム EPG パーサー, インメモリ EPG ストア
- recpt1 / DVB コマンド制御対応
しろうとにはイマイチよくわかりません…
Mirakurunは地デジ・BS/CSチューナをLAN内で共有できるそうです
どうやっているのかよくわかりませんが、
チューナがLANで共有化されることで
複数のクライアントで仕様ができるようになったとのこと
LAN経由だったり、Chinachu以外からチューナを使うこともしないので
必要ないかもなんですが、
Chinachu γにはMirakurun必要みたいなのでインストールします
↓のサイトを参考にインストールしました
Mirakurunのインストール手順(Ubuntu・Debian・CentOS)
Node.jsのインストール
公式サイトのReadMeでは6.5であればOKのようです
# curl -sL https://rpm.nodesource.com/setup_6.x | bash –
# yum update
# yum -y install nodejs
以下のコマンドで確認します
Mirakurunのインストール
# npm install pm2 -g
# npm install mirakurun -g –unsafe –production
# npm install rivarun -g
# npm install arib-b25-stream-test -g –unsafe
以下のコマンドで、動作確認ができます
statusがonlineになっていればOK
Mirakurunの設定
サーバ設定
以下のコマンドでサーバの機能を設定できます
とくに変えることはなかったです
あえていうならPortを変えるくらいでしょうか
チューナ設定
以下のコマンドでチューナを設定します
- name: PT3-S1 types: - BS - CS command: recpt1 --device /dev/pt3video0 --lnb 15 <channel> - - decoder: arib-b25-stream-test isDisabled: true - name: PT3-S2 types: - BS - CS command: recpt1 --device /dev/pt3video1 --lnb 15 <channel> - - decoder: arib-b25-stream-test isDisabled: true - name: PT3-S3 types: - BS - CS command: recpt1 --device /dev/pt3video4 --lnb 15 <channel> - - decoder: arib-b25-stream-test isDisabled: true - name: PT3-S4 types: - BS - CS command: recpt1 --device /dev/pt3video5 --lnb 15 <channel> - - decoder: arib-b25-stream-test isDisabled: true - name: PT3-T1 types: - GR command: recpt1 --device /dev/pt3video2 <channel> - - decoder: arib-b25-stream-test isDisabled: true - name: PT3-T2 types: - GR command: recpt1 --device /dev/pt3video3 <channel> - - decoder: arib-b25-stream-test isDisabled: true - name: PT3-T3 types: - GR command: recpt1 --device /dev/pt3video6 <channel> - - decoder: arib-b25-stream-test isDisabled: true - name: PT3-T4 types: - GR command: recpt1 --device /dev/pt3video7 <channel> - - decoder: arib-b25-stream-test isDisabled: true
2枚差ししているので全部で8つの設定を行っています
isDisabledをONにしているので、Offにしてお使いください
チャンネルの設定
以下のコマンドでチャンネルを設定します
うちは東海地方民なので、東海地方の設定を以下に
- name: 東海テレビ type: GR channel: '21' - name: NHK Eテレ type: GR channel: '13' - name: NHK総合 type: GR channel: '20' - name: 中京テレビ type: GR channel: '19' - name: CBC type: GR channel: '18' - name: 名古屋テレビ type: GR channel: '22' - name: テレビ愛知 type: GR channel: '23' - name: NHK BS1 type: BS channel: BS15_0 serviceId: 101 - name: NHK BS1 (サブ) type: BS channel: BS15_0 serviceId: 102 - name: NHK BSプレミアム type: BS channel: BS15_1 serviceId: 103 - name: NHK BSプレミアム (サブ) type: BS channel: BS15_1 serviceId: 104 - name: BS日テレ type: BS channel: BS13_0 serviceId: 141 - name: BS日テレ (サブ) type: BS channel: BS13_0 serviceId: 142 - name: BS朝日 type: BS channel: BS01_0 serviceId: 151 - name: BS朝日 (サブ) type: BS channel: BS01_0 serviceId: 152 - name: BS-TBS type: BS channel: BS01_1 serviceId: 161 - name: BSジャパン type: BS channel: BS03_1 serviceId: 171 - name: BSフジ type: BS channel: BS13_1 serviceId: 181 - name: WOWOWプライム type: BS channel: BS03_0 serviceId: 191 isDisabled: true - name: WOWOWライブ type: BS channel: BS05_0 serviceId: 192 isDisabled: true - name: WOWOWシネマ type: BS channel: BS05_1 serviceId: 193 isDisabled: true - name: スター・チャンネル1 type: BS channel: BS09_1 serviceId: 200 isDisabled: true - name: スター・チャンネル2 type: BS channel: BS07_0 serviceId: 201 isDisabled: true - name: スター・チャンネル3 type: BS channel: BS07_0 serviceId: 202 isDisabled: true - name: BS11 type: BS channel: BS09_0 serviceId: 211 - name: TwellV type: BS channel: BS09_2 serviceId: 222 - name: グリーンチャンネル type: BS channel: BS19_0 serviceId: 234 isDisabled: true - name: BSアニマックス type: BS channel: BS07_1 serviceId: 236 isDisabled: true - name: FOXスポーツ&エンターテイメント type: BS channel: BS11_0 serviceId: 238 isDisabled: true - name: BSスカパー! type: BS channel: BS11_1 serviceId: 241 isDisabled: true - name: J SPORTS 1 type: BS channel: BS19_1 serviceId: 242 isDisabled: true - name: J SPORTS 2 type: BS channel: BS19_2 serviceId: 243 isDisabled: true - name: J SPORTS 3 type: BS channel: BS21_1 serviceId: 244 isDisabled: true - name: J SPORTS 4 type: BS channel: BS21_2 serviceId: 245 isDisabled: true - name: イマジカBS・映画 type: BS channel: BS21_0 serviceId: 252 isDisabled: true - name: 日本映画専門チャンネル type: BS channel: BS23_1 serviceId: 255 isDisabled: true - name: ディズニー・チャンネル type: BS channel: BS07_2 serviceId: 256 isDisabled: true - name: D-Life type: BS channel: BS23_2 serviceId: 258 isDisabled: true - name: スカパー!プロモ type: CS channel: CS4 serviceId: 100 - name: 東映チャンネル type: CS channel: CS8 serviceId: 218 isDisabled: true - name: 衛星劇場 type: CS channel: CS8 serviceId: 219 isDisabled: true - name: チャンネルNECO type: CS channel: CS4 serviceId: 223 isDisabled: true - name: ザ・シネマ type: CS channel: CS4 serviceId: 227 isDisabled: true - name: ムービープラスHD type: CS channel: CS18 serviceId: 240 isDisabled: true - name: sky・Aスポーツ+ type: CS channel: CS4 serviceId: 250 isDisabled: true - name: GAORA type: CS channel: CS12 serviceId: 254 isDisabled: true - name: 日テレG+ HD type: CS channel: CS24 serviceId: 257 isDisabled: true - name: SKY STAGE type: CS channel: CS16 serviceId: 290 isDisabled: true - name: 時代劇専門chHD type: CS channel: CS14 serviceId: 292 isDisabled: true - name: ファミリー劇場HD type: CS channel: CS14 serviceId: 293 isDisabled: true - name: ホームドラマCH type: CS channel: CS6 serviceId: 294 isDisabled: true - name: TBSチャンネル1 type: CS channel: CS2 serviceId: 296 isDisabled: true - name: TBSチャンネル2 type: CS channel: CS22 serviceId: 297 isDisabled: true - name: テレ朝チャンネル1 type: CS channel: CS2 serviceId: 298 isDisabled: true - name: テレ朝チャンネル2 type: CS channel: CS2 serviceId: 299 isDisabled: true - name: 日テレプラス type: CS channel: CS24 serviceId: 300 isDisabled: true - name: チャンネル銀河 type: CS channel: CS16 serviceId: 305 isDisabled: true - name: フジテレビONE type: CS channel: CS20 serviceId: 307 isDisabled: true - name: フジテレビTWO type: CS channel: CS20 serviceId: 308 isDisabled: true - name: フジテレビNEXT type: CS channel: CS20 serviceId: 309 isDisabled: true - name: スーパー!ドラマHD type: CS channel: CS14 serviceId: 310 isDisabled: true - name: AXN type: CS channel: CS16 serviceId: 311 isDisabled: true - name: FOX type: CS channel: CS22 serviceId: 312 isDisabled: true - name: AXNミステリー type: CS channel: CS24 serviceId: 316 isDisabled: true - name: スペシャプラス type: CS channel: CS24 serviceId: 321 isDisabled: true - name: スペースシャワーTV type: CS channel: CS22 serviceId: 322 isDisabled: true - name: MTV HD type: CS channel: CS6 serviceId: 323 isDisabled: true - name: エムオン!HD type: CS channel: CS12 serviceId: 325 isDisabled: true - name: ミュージック・エア type: CS channel: CS8 serviceId: 326 isDisabled: true - name: 歌謡ポップス type: CS channel: CS6 serviceId: 329 isDisabled: true - name: キッズステーション type: CS channel: CS12 serviceId: 330 isDisabled: true - name: カートゥーン type: CS channel: CS22 serviceId: 331 isDisabled: true - name: AT-X type: CS channel: CS16 serviceId: 333 isDisabled: true - name: ディズニージュニア type: CS channel: CS8 serviceId: 339 isDisabled: true - name: ディスカバリー type: CS channel: CS6 serviceId: 340 isDisabled: true - name: アニマルプラネット type: CS channel: CS6 serviceId: 341 isDisabled: true - name: ヒストリーチャンネル type: CS channel: CS4 serviceId: 342 isDisabled: true - name: ナショジオチャンネル type: CS channel: CS16 serviceId: 343 isDisabled: true - name: MONDO TV type: CS channel: CS24 serviceId: 295 isDisabled: true - name: スカチャン0 type: CS channel: CS10 serviceId: 800 isDisabled: true - name: スカチャン1 type: CS channel: CS10 serviceId: 801 isDisabled: true - name: スカチャン2 type: CS channel: CS10 serviceId: 802 isDisabled: true - name: スカチャン3 type: CS channel: CS10 serviceId: 805 isDisabled: true
isDisabledをONにしているので、Offにしてお使いください
チャンネルスキャンします
けっこう時間かかりますよ~
Mirakurunを再起動します
次のコマンドを実行しましょう
動作確認
設定した情報で局の情報が受信できているか確認
次のコマンドを実行しましょう
チャンネル名がずらずら~って出たらOK
以下のコマンドで録画確認をしましょう
NHK総合が15秒間録画されます
こんなところでしょうか