#ascii #opencv #video-stream #cli

bin+lib asciiframe

Convert any video to a stream of ASCII frames

4 releases (2 stable)

2.0.0 Dec 28, 2023
1.2.0 Feb 12, 2022
0.1.4 Jan 12, 2022
0.1.3 Jan 12, 2022

#1411 in Command line utilities

MIT license

10KB
186 lines

ASCIIFRAME

Convert any video to a stream of ASCII frames

crates.io version CICD MIT license

Demo

How To Use

Usage

$ asc [OPTIONS] --file <FILE>

Options

File

-f, --file <INPUT FILE>

Specify the input video file to be convertered

Output

-o, --output <OUTPUT FILE>

Optional filename for asciiframe to write rendered output to, which can be run later to display the video

Installation

Ensure opencv and pkg-config is installed!

cargo install asciiframe

Make sure ~/.cargo/bin is in your path

MacOS:

  • brew install pkg-config opencv
  • If you get dyld: Library not loaded: @rpath/libclang.dylib then run export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/usr/lib/" first

Contributing

About

Authors and Contributors

TODO

  • prebuilt binaries
  • examples

License

MIT License

Dependencies

~2–13MB
~120K SLoC