EPGStation で録画した TV 録画の TS ファイルを CM カットして、MP4 に変換し、必要に応じてファイル名を変更するプログラムです。個人利用目的にのみ使用しています。
git clone https://github.com/book000/cmcutter.gitcd cmcutter- Download dependencies packages:
yarn - Create a new file:
config/default.yml, and edit the configuration - Compile & Run:
yarn build
File: config/default.yml
tsFilesDirPath: EPGStation が録画した TS ファイルがあるディレクトリoutputDirPath: 出力先ディレクトリencodedDataFile: 処理済みファイルの一覧を保持するための JSON ファイルへのパスdiscordChannelId: 処理が完了したことを通知する先の Discord チャンネル IDdiscordToken: Discord への通知に使うトークン
tsFilesDirPath: /path/to/recorded-dir/
outputDirPath: /path/to/output-dir/
encodedDataFile: /path/to/encoded.json
discordChannelId: '000000000000000000'
discordToken: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx