Skip to content

Use this to show a video in the terminal (Unicode art)

License

Notifications You must be signed in to change notification settings

donno2048/mp42uni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mp4-to-unicode

Use this to show a video in the terminal (Unicode art)

This doesn't use dithering, to see something similar but with dithering, see my demo and it's source code

install

(on Linux you may need to run sudo apt-get install ffmpeg libsm6 libxext6 -y to use opencv)

From PyPi

pip3 install mp42uni

From GitHub

pip3 install git+https://github.com/donno2048/mp42uni

Usage

Run mp42uni <video.mp4> with the terminal maximized to display <video.mp4> as ascii art.

You can simply use mp42uni to use a prompt to choose a video file.

If you get _curses.error: addwstr() returned ERR try decreasing the font size.

If you get ModuleNotFoundError: No module named '_curses' on Windows try: pip3 install windows-curses==2.2.0