How aaac15/asciimov works
asciimov is a C terminal video player: the user enters a local video path or URL, the program obtains video frames and plays audio through ffmpeg, maps grayscale pixels to ASCII characters, and redraws the terminal at roughly 30 fps. URL playback downloads a temporary video with yt-dlp (configured to use Node.js), then follows the same playback path. The tree also contains an older still-image-to-ASCII implementation using stb_image. The current video stages are sampled in asciimov.c; external-tool relationships are visible there, while legacy image loading is documented by its source include.
Main entry points: asciimov.c Video Player · static0.01/asciimov.c Still Image Converter · stb_image.h Image Loader
Components 14
Video Playback
- Video Player
asciimov.c - URL Download
asciimov.c - Temporary Video
- Audio Output
- Frame Reader
asciimov.c
Terminal Rendering
- Terminal Sizing
asciimov.c - ASCII Mapping
asciimov.c - Terminal Redraw
asciimov.c
Legacy Image
- Still Image Converter
OLD/static0.01/asciimov.c - Image Loader
OLD/static0.01/stb_image.h
Other components
- User
- yt-dlp
- Node.js Runtime
- ffmpeg
Connections 15
- User → Video Player: enters path
asciimov.c - Video Player → URL Download: dispatches URLs
asciimov.c - URL Download → yt-dlp: downloads with
asciimov.c - URL Download → Node.js Runtime: configures runtime
asciimov.c - yt-dlp → Temporary Video: writes video
- Video Player → ffmpeg: starts playback
asciimov.c - ffmpeg → Audio Output: plays audio
- ffmpeg → Frame Reader: streams frames
asciimov.c - Video Player → Terminal Sizing: queries dimensions
asciimov.c - Frame Reader → ASCII Mapping: maps grayscale
asciimov.c - Terminal Sizing → ASCII Mapping: sets drawing bounds
asciimov.c - ASCII Mapping → Terminal Redraw: updates buffers
asciimov.c - Video Player → Terminal Redraw: renders frames
asciimov.c - Video Player → Temporary Video: removes temporary file
asciimov.c - Still Image Converter → Image Loader: loads image
OLD/static0.01/asciimov.c