r/commandline 13d ago

Terminals Terminal video renderer (1280x720)

https://reddit.com/link/1tjzoa3/video/gz4209x2ek2h1/player

https://reddit.com/link/1tjzoa3/video/sg9sv793ek2h1/player

https://reddit.com/link/1tjzoa3/video/82050gg3ek2h1/player

I made a Python script that renders videos directly in a terminal at runtime, with no preprocessing.
It uses 640×360 Unicode quadrant characters, where each character represents a 2×2 pixel block, so the video resolution is technically 1280×720.

The terminal is Alacritty with a specific config to be able to have this much characters.

The geometry dash video (Tidal wave) and the shader video are split across 4 terminal windows.
The Sparxie video is running on a single terminal window.

This is rendered with ANSI escape sequences only (no Kitty etc)

4 Upvotes

4 comments sorted by

2

u/[deleted] 13d ago edited 4d ago

[deleted]

2

u/UwU__Dark__ 13d ago

About 2 to 4 mb of data per frame

1

u/AutoModerator 13d ago

Every new subreddit post is automatically copied into a comment for preservation.

User: UwUDark, Flair: Terminals, Title: Terminal video renderer (1280x720)

![video](gz4209x2ek2h1)

![video](sg9sv793ek2h1)

![video](82050gg3ek2h1)

I made a Python script that renders videos directly in a terminal at runtime, with no preprocessing.
It uses 640×360 Unicode quadrant characters, where each character represents a 2×2 pixel block, so the video resolution is technically 1280×720.

The terminal is Alacritty with a specific config to be able to have this much characters.

The geometry dash video (Tidal wave) and the shader video are split across 4 terminal windows.
The Sparxie video is running on a single terminal window.

This is rendered with ANSI escape sequences only (no Kitty etc)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/l00sed 13d ago

Link?

2

u/UwU__Dark__ 12d ago edited 12d ago

https://github.com/DarkOnGithub/TerminalRenderer

(requires an nvidia gpu to run)