Feature request: keepFrames option on renderMedia (frames get deleted when the stitch fails)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
Start by locating renderMedia and reading how it creates and removes its temporary frames directory, then follow its call to stitchFramesToVideo. The issue suggests either configurable retention and a frames directory or the smaller behavior of retaining frames only when stitching fails. Done means failed stitching leaves the frames available and reports their path, while the default behavior remains as requested.
索引モデルが issue の本文から書いたものです。
説明
renderMedia renders the frames into a temp directory and deletes it in a finally:
} finally {
// Cleanup temp frames
fs.rmSync(tmpDir, { recursive: true, force: true });
}
So when stitchFramesToVideo throws (an FFmpeg error, a bad audio source, a full disk), all the rendered frames are deleted too, and the whole render has to be repeated. For long videos the frame render is by far the slowest part. We lost a ~1,600-frame 1080p render this way to the duration=Infinity error from #4.
Could renderMedia get a keepFrames option (default false), and maybe a framesDir option to choose where the frames go? If stitching then fails, the frames stay put, and it would help if the error message included the frames path, so you can retry stitchFramesToVideo() directly.
A smaller version would also help a lot: only keep the frames when the stitch fails, and print where they are.
- 主要言語
- TypeScript
- スター
- 159
- フォーク
- 32
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
thecodacus/rendiv のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
thecodacus/rendiv#17 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
thecodacus/rendiv#16 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
thecodacus/rendiv#15 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
thecodacus/rendiv#23 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
thecodacus/rendiv#22 ·
thecodacus/rendiv の issue をすべて見る
似ている issue
-
Recording drops clicks on links, filters and checkboxes that share a form with a search field対応中かも @columbia11 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Tencent/BrowserSkill#657 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信
-
Choosing a folder while continuing an Antigravity session submits a history fork the runtime rejectsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
-
ai-handle
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nextlevelbuilder/dewee-web-v2#138 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NEARBuilders/citynode.app#512 ·
メンテナーはふだん 1 日以内に返信