Play any video file as colored ASCII art directly in your editor.
- ffmpeg and ffprobe must be installed and available on PATH.
git clone
cd voncode
pnpm install
pnpm run compileThen press F5 to launch Extension Development Host, or package as .vsix:
pnpm install -g @vscode/vsce
vsce packageInstall the resulting .vsix via Extensions: Install from VSIX... in the command palette.
- Open any file (used as viewport reference).
Ctrl+Shift+P→ Play Video as ASCII Art- Select a video file (
mp4,mkv,webm,avi,mov, etc.). - Watch colored characters dance in your editor at 5(?) fps
Ctrl+Shift+P→ Stop Video Playback to stop.
- ffprobe probes the video dimensions.
- A temporary text file is created as a "canvas", sized to your editor's visible area.
- ffmpeg decodes the video into raw RGB frames.
- Each pixel is mapped to a character (by brightness) and colored (by hue) using VS Code's
TextEditorDecorationType.
Pixel RGB → brightness -> char
Pixel RGB → hue -> color
pnpm run compile # check types + lint + bundle
pnpm run watch # watch mode for developmentMIT
