Skip to content

feat: redesign encoder progress display#8

Merged
AsPulse merged 2 commits into
mainfrom
feat/encoder-progress-display
May 24, 2026
Merged

feat: redesign encoder progress display#8
AsPulse merged 2 commits into
mainfrom
feat/encoder-progress-display

Conversation

@AsPulse
Copy link
Copy Markdown
Member

@AsPulse AsPulse commented May 24, 2026

Rework the ffmpeg encoder's progress display so each piece of live information has its own row and visual weight. Previously size and bitrate were tacked on as a prefix on the Encode line; now they sit on a dedicated third row.

  • Three rows: Render bar (rendered frames), Encode bar (ffmpeg frame=), and a text-only row with size @ bitrate from ffmpeg's total_size= / bitrate=.
  • Truecolor styling mirrors ~/dotfiles/public/claude/statusline in three tiers: label color (GREEN / ORANGE) for the label, filled bar segment, and live counters (pos, percent); default white for eta / elapsed; medium-grey MUTED for the unfilled bar, separators, the total count, and the @.
  • Bar fills the terminal width: a custom with_key key reads console::Term::stdout().size_checked() and subtracts the rest of the template plus a 2-column margin on each side. console is now a direct dep.
  • Time shown as eta > elapsed in zero-padded HH:MM:SS (remaining first).

@AsPulse AsPulse merged commit 6c356a6 into main May 24, 2026
14 checks passed
@AsPulse AsPulse deleted the feat/encoder-progress-display branch May 25, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant