Home

Awesome

blockish-caca

video players in the terminal with blockish (unicode blocks) over libcaca with LD_PRELOAD magic

Example

building it

$ cargo build --release

Using it as a crate

See blockish-player

using it (rust)

$ cargo run mplayer path/to/your/video
$ cargo run mpv path/to/your/video
$ cargo run cvlc path/to/your/video

using it (terminal)

$ CACA_DRIVER=raw LD_PRELOAD=target/release/libcaca_blockish.so mplayer -vo caca path/to/your/video
$ CACA_DRIVER=raw LD_PRELOAD=target/release/libcaca_blockish.so mplayer -vo caca path/to/your/video
$ DISPLAY="" CACA_DRIVER=raw LD_PRELOAD=target/release/libcaca_blockish.so:/usr/lib/x86_64-linux-gnu/libcaca.so cvlc --quiet -V caca /path/to/your/video

using it (shell script)

$ ./mplayer path/to/your/video
$ ./mpv path/to/your/video
$ ./vlc path/to/your/video