Skip to main content

ASCII Video player.

Project description

https://raw.githubusercontent.com/jenca-adam/ascvid/main/asc.png

ascvid is an ASCII video player with quite exact results. It is mostly advised to be used under Linux, but it might work on other OS too. Here is a little showcase of what it can do:

https://raw.githubusercontent.com/jenca-adam/ascvid/main/rick.gif

It requires a Truecolor terminal to work like this. If you are on a stupider terminal, the results will look less realistic.The produced graphics aren’t blinking as in other ASCII video players, however, the videos might lag a bit if your terminal is zoomed out. ascvid also supports audio! It’s a true video player.

Installation

python3 -m pip install ascvid

Then you can just run ascvid and you’re good to go.

CLI Options

NOTE :: –no-truecolor option lags like my brain, so if you are on a stupid terminal, you are better off using –no-color in ASCII mode. .. code-block:: console

Usage: python -m ascvid [OPTIONS] FILE

Options:
-H, --hide-cursor

Hide the cursor while playing the video

-A, --no-audio

Don’t play audio stream

-f, --fps TEXT

Number of FPS the video’s supposed to run at. If None, it’s determined from the video. If “max”, ascvid will try its best to keep the video from lagging

-c, --char TEXT

Character to be used while rendering the video frames

-C, --no-color

Don’t color output

-a, --ascii

Use multiple ASCII characters. Best to be used with –no-truecolor

-T, --no-truecolor

Reduces color palette. Use this flag on more stupid terminals (windows).

-F, --fast

Toggles off resizing each frame individually, rather resizes the entire video. Use this if the video is lagging too much.

--help

Show this message and exit.

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

ascvid-1.1.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

ascvid-1.1.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file ascvid-1.1.0.tar.gz.

File metadata

  • Download URL: ascvid-1.1.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for ascvid-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c2cdc6cbd91049ad897ab5785e516378d0e027a6615580549ff560ac4b0a7f9f
MD5 05ba7fae4a3c238766a36ba01966fa0c
BLAKE2b-256 60c91a8148587d6ff5c48b428c40822b3cbf03d6b68ba65f598b9383406d5bc9

See more details on using hashes here.

File details

Details for the file ascvid-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ascvid-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for ascvid-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abe07e95fb6b2b4e371f2568c5e7818b7d72eca18893708692b46d21992bb17a
MD5 ace441a873bd98445f33d43d4e34dc75
BLAKE2b-256 49a8100d0b5125424ddd6d51c318fa210805dbfaf3e98924259f8be42f20b59e

See more details on using hashes here.

Supported by

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