Video export bug; output does not match what was recorded

オープン
#1,787 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
macos
領域
desktop

調査の方向性

macOS で Studio Mode による録画を行い、その録画を MP4 にエクスポートして問題を再現し、最初にちらつく、または停止する frame の周辺でプレビューとエクスポートした動画を比較します。ズームを含む録画でも同じ不具合が発生するか確認し、停止する frame なしでエクスポート結果がプレビューと一致することを検証します。この issue では、開始点となる source file や test は指定されていません。

索引モデルが issue の本文から書いたものです。

説明

bug
Description

Occasionally, when exporting video from Cap after recording in Studio Mode, the exported video will be rendered incorrectly, with flickering and/or stuck frames. This seems to occur most often in videos that have one or more zooms but has been observed in all types of recordings. When a stuck frame occurs, cursor and zoom effects will still play correctly, but the frame will not update properly for some time.

Forcing FFmpeg decoder reduces the occurrence of flickering frames but does not fix stuck frames on affected recordings. The same frame will always stick at the same point when exporting.

Reproduction
  1. Record video of any duration.
  2. Check playback in preview mode.
  3. Export video to MP4 with any combination of settings.
  4. Compare exported video to preview.
Additional Context
  • Cap version: 0.4.84
  • Operating system, version: macOS Sequoia 15.7.5
  • Device: MacBook Air M2

Edit: Issue also occurs when exporting the same recording bundle on an M5 MacBook Pro with Tahoe 26.4.1.
Edit 2: Issue does NOT occur when exporting the same recording bundle on Windows 10 (LTSC).

Video as shown in Cap's preview (captured by macOS screen recording).

https://github.com/user-attachments/assets/533cc234-5aa1-4ff0-b89f-c0997f90b695

Same section of exported video. Note that the second click event does not correctly show the overlay closing.

https://github.com/user-attachments/assets/0c090bb9-016a-46fd-b395-43f140771d3c

主要言語
Rust
スター
25k
フォーク
2.4k
平均マージ
1日 8時間
マージ済み PR(30日)
676

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CapSoftware/Cap のほかの issue

CapSoftware/Cap の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。