Webcam input: live ASCII mirror + camera recording#29
Closed
irobinson010 wants to merge 1 commit into
Closed
Conversation
'<videoN>' sources (ffmpeg camera syntax) stream to the terminal as live colorized ASCII until Ctrl-C, mirrored by default (--no-mirror), with the full mode/matrix/caption knob set; with an output file, --seconds records a wall-clock-bounded capture through the normal sinks (mp4 silent - no camera audio path). Frame conversion extracted into shared helpers reused by file, live, and record paths; recording has a hard frame cap against absurdly fast sources. Tested via a mocked reader covering the live loop (clear/hide-cursor, per-frame home, restore), mirroring, recording, and the CLI dispatch. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 7, 2026
irobinson010
added a commit
that referenced
this pull request
Jul 8, 2026
Webcam input: live ASCII mirror + camera recording (reopens #29)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ascii-magic video "<video0>"streams your camera to the terminal as live colorized ASCII until Ctrl-C — mirrored by default like a real mirror, with the full mode/matrix/caption knob set (--matrix= you, in the Matrix). With an output file,--seconds Nrecords a wall-clock-bounded capture through the existing GIF/mp4/frames sinks.Internals: frame conversion extracted into helpers shared by the file, live, and record paths; recordings are frame-capped against pathologically fast sources; camera mp4s are silent (no audio path from v4l2 through our mux).
Stacked on #27 (the
asciimagicrename).Test plan
🤖 Generated with Claude Code