ytascii-player
Play any YouTube video as synced, true-color ASCII art in your terminal.
pip install ytascii-player
ytascii "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
That's it — no cloning a repo, no copying .py files, no python script.py syntax.
Just install once, then run ytascii on any video link.
Requirements
- Python 3.8+ (pip installs everything else Python-related automatically)
- ffmpeg installed separately and on your PATH — pip cannot install this, it's not a Python package. See below.
Installing ffmpeg (one-time, per machine)
Windows:
- Download the "release essentials" build from https://www.gyan.dev/ffmpeg/builds/
- Extract it somewhere permanent, e.g.
C:\ffmpeg - Add
C:\ffmpeg\binto your PATH (Win key → "Environment Variables" → Edit the system environment variables → Environment Variables → selectPath→ Edit → New → pasteC:\ffmpeg\bin) - Open a new terminal and confirm with
ffmpeg -version
macOS: brew install ffmpeg
Linux: sudo apt install ffmpeg (Debian/Ubuntu) or your distro's equivalent
Usage
ytascii "https://www.youtube.com/watch?v=VIDEO_ID"
ytascii "URL" --width 140
ytascii "URL" --mode grayscale
| Flag | Default | Description |
|---|---|---|
--width |
120 |
ASCII art width in characters. Higher = more detail, more CPU. |
--mode |
color |
color = true 24-bit RGB per character. grayscale = classic single-color, faster. |
Press Ctrl+C anytime to stop playback.
Tuning tips
- Maximize your terminal and shrink the font (try 8pt) before running.
- Windows Terminal renders far more smoothly than the legacy
conhostcmd window. - If playback is choppy, lower
--widthor use--mode grayscale.
Legal note
Only use this on videos you have the right to download — your own uploads, Creative Commons content, or otherwise permitted use.
For developers: installing from source
git clone <this-repo>
cd ytascii-player
pip install -e .
-e installs in "editable" mode — code changes apply instantly without reinstalling.
Publishing (maintainer notes)
pip install build twine
python -m build
twine upload dist/*
Username is literally __token__; password is your PyPI API token from
Account Settings → API tokens.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ytascii_player-0.1.0.tar.gz.
File metadata
- Download URL: ytascii_player-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44b36bafee2a7167c760ad4213cf881c32fd789ed12fa46cc2885ce7b8adb381
|
|
| MD5 |
3cb4f797422a848d44ca43e1ee3aa7e8
|
|
| BLAKE2b-256 |
9966820de4fe203edce7c0246d87ac1458dfc0505a35383d02939e66e57f87d2
|
File details
Details for the file ytascii_player-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ytascii_player-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2954972888bdbcf2ac46892b18e45e726eb927fa0455f2e56f55718026242b5a
|
|
| MD5 |
b10bd9c582889da71e7e554e1e75c2d7
|
|
| BLAKE2b-256 |
d76ae9df91435506465d8b0b32f3390c4f9b8b65dc83f4cbfcdad95c3432d249
|