Skip to main content

Command line program to mimic any image to your terminal

Project description

Ansciier

Mimic video or image to your terminal

Overview

demo

How to use it

  1. First you need python 3, I reccomend the latest version but I think it would run on older version too.
  2. Install the package with $ pip install ansciier or pip3 if pip is point to python 2 version.
  3. Run it with $ ansciier /path/to/image-or-video.mp4.
  4. Type $ ansciier -h for help.

Example usage

  • $ ansciier ~/Videos/rickroll.mp4 --aspect-ratio 20:9 --fps 24
    Command above will draw frame from rickroll.mp4 in Videos folder with aspect ratio of 20:9 and max fps at 24

  • $ ansciier ~/Video/frame{0}.png --ascii --char @ --dim 200x50 --start-frame 59
    This command will draw image with @ character, 200x50 square block dimension from frame59.png, frame60.png, until it reaches the highest frame number. It'll automatically find the last frame when --last-frame is not specified, it'll still continue if a frame is missing.

  • $ ansciier camera will use your camera

Note : Support only truecolor terminal (Because majority of terminals nowadays are truecolor I think you already have one).

Should work on Windows and Linux

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansciier-1.2.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

ansciier-1.2.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file ansciier-1.2.1.tar.gz.

File metadata

  • Download URL: ansciier-1.2.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.8

File hashes

Hashes for ansciier-1.2.1.tar.gz
Algorithm Hash digest
SHA256 834a0d568304eb1fe4a8f34fd903260d07d6851da7955f8833f0fa6cf65db950
MD5 3e0c4d71f9a47c3168a67daa30b079f7
BLAKE2b-256 547359ac1164a6dff67c0e97070a19fbacbcbccd431a864b768456e13d17fafb

See more details on using hashes here.

File details

Details for the file ansciier-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: ansciier-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.8

File hashes

Hashes for ansciier-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f5b06ca6442b2e5a2e124ea5141958b6b30465d4a58e8d3bb400dc73ca8b7d5
MD5 f38cbab385ad7d516cfc225b6d9a6905
BLAKE2b-256 53d8757952ab8cc1b61e302bae99258b1a55541f7f110de032af675b67a55a3b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page