Skip to main content

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:

  1. Download the "release essentials" build from https://www.gyan.dev/ffmpeg/builds/
  2. Extract it somewhere permanent, e.g. C:\ffmpeg
  3. Add C:\ffmpeg\bin to your PATH (Win key → "Environment Variables" → Edit the system environment variablesEnvironment Variables → select PathEditNew → paste C:\ffmpeg\bin)
  4. 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 conhost cmd window.
  • If playback is choppy, lower --width or 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

ytascii_player-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ytascii_player-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for ytascii_player-0.1.0.tar.gz
Algorithm Hash digest
SHA256 44b36bafee2a7167c760ad4213cf881c32fd789ed12fa46cc2885ce7b8adb381
MD5 3cb4f797422a848d44ca43e1ee3aa7e8
BLAKE2b-256 9966820de4fe203edce7c0246d87ac1458dfc0505a35383d02939e66e57f87d2

See more details on using hashes here.

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

Hashes for ytascii_player-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2954972888bdbcf2ac46892b18e45e726eb927fa0455f2e56f55718026242b5a
MD5 b10bd9c582889da71e7e554e1e75c2d7
BLAKE2b-256 d76ae9df91435506465d8b0b32f3390c4f9b8b65dc83f4cbfcdad95c3432d249

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page