mariiaan / cmdplay-pp

Next generation CmdPlay; Realtime CLI for Colour ASCII playback
MIT License
47 stars 5 forks source link
art ascii ffmpeg libavcodec libavformat libavutil libswresample miniaudio

cmdplay-pp

What is this?

This is the next, improved version of CmdPlay (https://github.com/mariiaan/CmdPlay). It's an improved version of the original project.

Features

Plays videos back in command line in ascii-art.

Screenshots

Demonstration of standard resolution; grayscale; dithering: Screenshot (Video: Bad Apple!)

Demonstration of high resolution; colours; dithering: Screenshot (Video: [Alexandros] - Dracula La)

Demonstration of true-colour; full-pixel: Screenshot (Video: haruka-chan e.1)

What got better (in comparison to the original project)

Usage

Run cmdplay, enter the file path (most terminal emulators also support drag and drop) and press enter! You can also pass the file name of the video as the first parameter, it will play the video automatically.

Performance tips

Using windows terminal with colours disabled should allow you to use pretty high resolutions!

Controls

SPACE - play/pause

C - toggle colours

D - toggle colour dithering

T - toggle text / grayscale dithering

Q - quit

A - accurate colours (true-colour)

B - full pixel

Libraries, this project depends on

License

The code of this project (cmdplaypp/src) is licensed under the MIT license. TLDR: You can do whatever you want with the code as long as you include the license and the original copyright message. (LICENSE file) The project also uses FFmpeg (https://ffmpeg.org/) which is licensed under LGPL 2.1+.

Pull-requests will be reviewed and accepted, please keep your code simple, short and understandable! thank you for all your support