mmtsから復号化およびMPEG-2 TSへの変換を行います。
dantto4k.exe <input.mmts> <output.ts> [options]
'-' can be used instead of a file path to enable piping via stdin or stdout.
options:
--disableADTSConversion: Uses the raw LATM format without converting to ADTS.
--listSmartCardReader: Lists the available smart card readers.
--smartCardReaderName=<name>: Sets the smart card reader to use.
リアルタイムで復号化とMPEG-2 TSへの変換を行うBonDriverです。 BonDriver_dantto4k.iniで設定されたBonDriverをロードして、復号化とMPEG-2 TSへの変換を行います。 dantto4kは64bitで配布しており、BonRecTestおよびBonDriver_BDAは64bitである必要があります。
PT4Kで動作する場合、チャンネル再生まで15~20秒かかるため、mirakurunのtimeout(20秒)を超える場合があります。 mirakurunのソースコードを修正してtimeoutを30秒以上に変更する必要があります。
https://github.com/Chinachu/Mirakurun/blob/master/src/Mirakurun/Tuner.ts#L175C13-L175C55
/thirdpartyフォルダにopenssl 3, tsduckを準備します。 下記のURLからbinaryをダウンロードすることができます。
sudo apt install make g++ libssl-dev libedit-dev libedit-dev zlib1g-dev libusb-1.0-0-dev libpcsclite-dev
git clone https://github.com/tsduck/tsduck.git
cd tsduck
make
make install
git clone https://github.com/nekohkr/dantto4k.git
cd dantto4k
make
make install- ARIB STD-B32
- ARIB STD-B60
- superfashi/FFmpeg
- b61decoder