Add 480p, 720p, and 1080p resolution presets

Added `--res` argument to both `stream_server.py` and `ascii_video_player2.py`
to easily set higher quality/density ASCII and pixel rendering.
The `res` argument maps `480p`, `720p`, and `1080p` presets
to appropriate column sizes (854, 1280, and 1920).
Updated `README.md` to document the new `--res` flag.
This commit is contained in:
taisrisk 2026-06-15 15:13:03 +00:00
parent 88b261eae9
commit 720dccb149
6 changed files with 83 additions and 12 deletions

19
stream_server.log Normal file
View file

@ -0,0 +1,19 @@

_ ____ ____ ___ _ ___ _ _ _____
/ \ / ___| / ___|_ _| | |_ _| \ | | ____|
/ _ \ \___ \| | | || | | || \| | _|
/ ___ \ ___) | |___ | || |___ | || |\ | |___
/_/ \_\____/ \____|___|_____|___|_| \_|_____|

═══════════════════════════════════════════════════════
▶ Queue : 1 video(s)
▶ Loop : OFF
▶ Resolution: 200x(auto)
▶ Default : mode=1 | pixel=OFF | vol=1
───────────────────────────────────────────────────────
1. video.mp4 (mode=1 vol=1)
═══════════════════════════════════════════════════════
🚀 Server live → http://localhost:8000
Type /help for available commands.