PX-MLT8PEに買い換えたのでBonRecTestとMirakurunの設定を変更した(2023/04/25更新) [PC]
テレビサーバーのチューナーを変えました。
新しいチューナーカードは"PX-MLT8PE"です。"PX-Q3PE"は取り外し。
変えた理由は「なんか安く売ってたから」です。
以下、自分用にメモをまとめ直し。
・機器の比較
[旧]
PX-Q3PE
PCI-E接続
[地デジ] 4系統、[BS,CS] 4系統
[新]
PX-MLT8PE
PCI-E接続(信号は内部USB端子接続)
[地デジ,BS,CS] 8系統
Visual Studio 2022
https://visualstudio.microsoft.com/ja/vs/
git
https://git-scm.com
https://github.com/rndomhack/BonRecTest
https://github.com/epgdatacapbon/libaribb25
ビルドした"libaribb25.dll"を"BonRecTest”フォルダにコピー。
以下の非公式ドライバ(WinUSB版px4_drv)をビルドし、使用。
ハードウェアのドライバと”専用BonDriver"をセットで使う形のものらしい。
https://github.com/nns779/px4_drv
※署名がないためWindowsの起動オプションにて「ドライバー署名の強制を無効にする」にしておく
”px4_drv/winusb/pkg/inf/”を"PX-MLT-8PE"のドライバの場所として指定してインストール。
以下2つのファイルがドライバのファイルなので今後のためにテキトーなフォルダに保管しておく。
pxmlt8pe3_winusb.inf
pxmlt8pe5_winusb.inf
1-2でビルドした3つのファイルを"BonRecTest”フォルダにコピー。
BonDriver_PX4.dll ※"BonDriver_PX-MLT.dll"にリネーム
DriverHost_PX4.exe
fwtool.exe
”px4_drv/winusb/pkg/BonDriver_PX4/”内の3つのファイルを"BonRecTest”フォルダにコピー。
BonDriver_PX-MLT.ini
BonDriver_PX4-S.ChSet.txt
BonDriver_PX4-T.ChSet.txt
”px4_drv/winusb/pkg/DriverHost_PX4/”内のファイルを"BonRecTest”フォルダにコピー。
DriverHost_PX4.ini
”px4_drv/fwtool"内のファイルを"BonRecTest”フォルダにコピー。
fwinfo.tsv
公式ドライバからファームウェア(it930x-firmware.bin)を抽出。
http://plex-net.co.jp/plex/pxw3u4/pxw3u4_BDA_ver1x64.zip
PXW3U4.sysを"BonRecTest”フォルダにコピー。
"BonRecTest”フォルダにて以下のコマンドを実行。("it930x-firmware.bin"が作成されれば抽出成功)
BSのチャンネル定義を編集。
修正しないとBSが正しく受信できない。
※調べるのめんどい
コマンド実行して10秒くらいで中断して出力された"hoge.ts"を再生ソフトで確認。
地上波(NHK)
BS(NHK BSP)
https://github.com/Chinachu/Mirakurun/blob/master/doc/Platforms.md#win32
https://nodejs.org/dist/latest-v16.x/
"EPGStation"の動作環境と併せ、バージョンは16.20.0(Latest)を選択。
"Windows Build Tools"も一緒にインストールされる。
※"PX-Q3PE"の時とは異なり、"PX-MLT系"では各チューナーが3波とも受信できるため記述が変わる。
D0〜D7までまったく同じ記述とする。
BSのチャンネルは'Space 1'、CSのチャンネルは’Space 2'、にする。
"mirakurun"サービスを再起動し、設定を反映させる。
http://localhost:40772/
※"MirakTest"で動作確認するのが手っ取り早い。
https://github.com/ci7lus/MirakTest
https://github.com/l3tnun/EPGStation/
https://github.com/l3tnun/EPGStation/blob/master/doc/windows-setup.md
必要に応じてファイルを準備する
"ffmpeg.exe"、"ffprobe.exe"
https://github.com/BtbN/FFmpeg-Builds
"regexp.dll(sqlite3)"
https://github.com/l3tnun/EPGStation/blob/master/doc/sqlite3-regexp.md
必要に応じて".\config\config.yml"を編集し、"EPGStation"サービスを再起動する
http://localhost:8888/
※2022/01/21修正
記述内容修正、色付け。
※2023/04/25更新
環境移行に伴ってメモを書いてたら、あちこちに分散していたのでまとめ直し。
新しいチューナーカードは"PX-MLT8PE"です。"PX-Q3PE"は取り外し。
変えた理由は「なんか安く売ってたから」です。
以下、自分用にメモをまとめ直し。
・機器の比較
[旧]
PX-Q3PE
PCI-E接続
[地デジ] 4系統、[BS,CS] 4系統
[新]
PX-MLT8PE
PCI-E接続(信号は内部USB端子接続)
[地デジ,BS,CS] 8系統
■準備
Visual Studio 2022
https://visualstudio.microsoft.com/ja/vs/
git
https://git-scm.com
■1 BonRecTest
1-1 "BonRecTest"と"B25Decoder"のビルド(VS2022 x64でビルド)
https://github.com/rndomhack/BonRecTest
https://github.com/epgdatacapbon/libaribb25
ビルドした"libaribb25.dll"を"BonRecTest”フォルダにコピー。
1-2 "PX-MLT8PE"のドライバの準備(WinUSB)
以下の非公式ドライバ(WinUSB版px4_drv)をビルドし、使用。
ハードウェアのドライバと”専用BonDriver"をセットで使う形のものらしい。
https://github.com/nns779/px4_drv
1-3 ”PX-MLT8PE"のドライバインストール
※署名がないためWindowsの起動オプションにて「ドライバー署名の強制を無効にする」にしておく
”px4_drv/winusb/pkg/inf/”を"PX-MLT-8PE"のドライバの場所として指定してインストール。
以下2つのファイルがドライバのファイルなので今後のためにテキトーなフォルダに保管しておく。
pxmlt8pe3_winusb.inf
pxmlt8pe5_winusb.inf
1-4 ドライバファイルのコピー
1-2でビルドした3つのファイルを"BonRecTest”フォルダにコピー。
BonDriver_PX4.dll ※"BonDriver_PX-MLT.dll"にリネーム
DriverHost_PX4.exe
fwtool.exe
1-5 各種必要ファイルのコピー
”px4_drv/winusb/pkg/BonDriver_PX4/”内の3つのファイルを"BonRecTest”フォルダにコピー。
BonDriver_PX-MLT.ini
BonDriver_PX4-S.ChSet.txt
BonDriver_PX4-T.ChSet.txt
”px4_drv/winusb/pkg/DriverHost_PX4/”内のファイルを"BonRecTest”フォルダにコピー。
DriverHost_PX4.ini
”px4_drv/fwtool"内のファイルを"BonRecTest”フォルダにコピー。
fwinfo.tsv
1-6 チューナーのファームウェアの抽出
公式ドライバからファームウェア(it930x-firmware.bin)を抽出。
http://plex-net.co.jp/plex/pxw3u4/pxw3u4_BDA_ver1x64.zip
PXW3U4.sysを"BonRecTest”フォルダにコピー。
"BonRecTest”フォルダにて以下のコマンドを実行。("it930x-firmware.bin"が作成されれば抽出成功)
> ./fwtool.exe PXW3U4.sys it930x-firmware.bin
1-7 "BonDriver_PX4-S.ChSet.txt"の修正
BSのチャンネル定義を編集。
修正しないとBSが正しく受信できない。
※調べるのめんどい
1-8 動作確認(録画テスト)
コマンド実行して10秒くらいで中断して出力された"hoge.ts"を再生ソフトで確認。
地上波(NHK)
> ./BonRecTest.exe --decoder libaribb25.dll --driver BonDriver_PX-MLT.dll --output hoge.ts --space 0 --channel 1
BS(NHK BSP)
> ./BonRecTest.exe --decoder libaribb25.dll --driver BonDriver_PX-MLT.dll --output hoge.ts --space 1 --channel 4
■2 Mirakurun
https://github.com/Chinachu/Mirakurun/blob/master/doc/Platforms.md#win32
2-1 Node.jsのインストール
https://nodejs.org/dist/latest-v16.x/
"EPGStation"の動作環境と併せ、バージョンは16.20.0(Latest)を選択。
"Windows Build Tools"も一緒にインストールされる。
2-2 "winser"のインストール
※管理者モード > npm install winser@1.0.3 -g
2-3 "Mirakurun"のインストール
※管理者モード > npm install mirakurun@latest -g --foreground-scripts --production
2-4 tuners.ymlの編集
※"PX-Q3PE"の時とは異なり、"PX-MLT系"では各チューナーが3波とも受信できるため記述が変わる。
D0〜D7までまったく同じ記述とする。
- name: PXMLT8PE-D0
types:
- BS
- CS
- GR
command: "パス"/BonRecTest.exe --decoder libaribb25.dll --driver BonDriver_PX-MLT.dll --output - --space <space> --channel <channel>
decoder: ~
types:
- BS
- CS
- GR
command: "パス"/BonRecTest.exe --decoder libaribb25.dll --driver BonDriver_PX-MLT.dll --output - --space <space> --channel <channel>
decoder: ~
2-5 channels.ymlの編集
BSのチャンネルは'Space 1'、CSのチャンネルは’Space 2'、にする。
2-6 設定の反映
"mirakurun"サービスを再起動し、設定を反映させる。
2-7 動作確認
http://localhost:40772/
※"MirakTest"で動作確認するのが手っ取り早い。
https://github.com/ci7lus/MirakTest
■3 EPGStation
https://github.com/l3tnun/EPGStation/
https://github.com/l3tnun/EPGStation/blob/master/doc/windows-setup.md
3-1 EPGStationのインストール
> git clone https://github.com/l3tnun/EPGStation.git > cd EPGStation > npm run all-install > npm run build
3-2 EPGStationのサービス登録
※管理者モード > cd ******/EPGStation > npm run install-win-service
3-3 設定ファイルのコピー
> copy .\config\config.yml.template .\config\config.yml > copy .\config\operatorLogConfig.sample.yml .\config\operatorLogConfig.yml > copy .\config\epgUpdaterLogConfig.sample.yml .\config\epgUpdaterLogConfig.yml > copy .\config\serviceLogConfig.sample.yml .\config\serviceLogConfig.yml > copy .\config\enc.js.template .\config\enc.js
3-4 その他ファイルの準備
必要に応じてファイルを準備する
"ffmpeg.exe"、"ffprobe.exe"
https://github.com/BtbN/FFmpeg-Builds
"regexp.dll(sqlite3)"
https://github.com/l3tnun/EPGStation/blob/master/doc/sqlite3-regexp.md
3-5 設定ファイルの編集
必要に応じて".\config\config.yml"を編集し、"EPGStation"サービスを再起動する
port:
mirakurunPath:
dbtype:
recorded:
ffmpeg:
ffprobe:
他
mirakurunPath:
dbtype:
recorded:
ffmpeg:
ffprobe:
他
3-6 動作確認
http://localhost:8888/
※2022/01/21修正
記述内容修正、色付け。
※2023/04/25更新
環境移行に伴ってメモを書いてたら、あちこちに分散していたのでまとめ直し。
コメント 0