Code Monkey home page Code Monkey logo

docker-mirakurun-chinachu-encoder's People

Contributors

amaya382 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-mirakurun-chinachu-encoder's Issues

⬇️ 録画後処理の拡充

エンコードだけでなくCMカット機能なども取り入れられるようにする

提案: chinachu のベースを dind に変更して, 録画後処理用コンテナを別に設ける

⬆ Failed to `renice`

mirakurun    | 0|mirakuru |     at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:53:21)
mirakurun    | 0|mirakuru |     at Module._compile (module.js:570:32)
mirakurun    | 0|mirakuru | Error: Command failed: renice -n -10 -p 189
mirakurun    | 0|mirakuru | renice: setpriority: Permission denied
mirakurun    | 0|mirakuru |
mirakurun    | 0|mirakuru |     at checkExecSyncError (child_process.js:483:13)
mirakurun    | 0|mirakuru |     at Object.execSync (child_process.js:523:13)
mirakurun    | 0|mirakuru |     at Object.<anonymous> (/usr/lib/node_modules/mirakurun/lib/server.ts:51:5)
mirakurun    | 0|mirakuru |     at Module._compile (module.js:570:32)
mirakurun    | 0|mirakuru |     at Object.Module._extensions..js (module.js:579:10)
mirakurun    | 0|mirakuru |     at Module.load (module.js:487:32)
mirakurun    | 0|mirakuru |     at tryModuleLoad (module.js:446:12)
mirakurun    | 0|mirakuru |     at Function.Module._load (module.js:438:3)
mirakurun    | 0|mirakuru |     at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:53:21)
mirakurun    | 0|mirakuru |     at Module._compile (module.js:570:32)

⬆ エンコード/トランスコードの設定

  • VA-APIブロックノイズつらい
    • 現状のハードではオプションを弄っても速度・圧縮率・画質の両立ができないのでとりあえず放置. vp8_vaapi は本家のmerge待ち (Chinachu/Chinachu@2312b3b)
  • デフォルトのエンコード設定の改善
    • ストリーミング時にはトランスコードが不要になるようにエンコードしておく
  • シークが死んでる
    • mp4だと本家で行っているようなbyteレベルでの切り出しができないので単純に流用できない. 大掛かりな改修が見込まれるので別issueへ (?)
  • 不要なPATH設定を削除

⏫ エンコード後のファイルパス

Why

現状 recordedFormat によるパスを利用しているが, エンコードされたことがわかりにくく, 内部的に適切な拡張子に書き換えるべき. ただし, 単純に書き換えてしまうと, recorded.json を追従させても chinachu-wuiからの見え方がおかしくなる (オンメモリで保持している情報にうまく反映させられていない?). また, chinachuのストリーミング再生に影響が出ないように注意する.

Todo

chinachuの再起動なしにWUIが追従するように拡張子を書き換える

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.