blockish-caca

Crates.ioblockish-caca
lib.rsblockish-caca
version0.0.6
sourcesrc
created_at2020-02-12 07:11:13.053559
updated_at2023-10-16 18:58:37.413199
descriptionplay videos in the terminal with unicode chars
homepagehttps://github.com/yazgoo/blockish-caca
repositoryhttps://github.com/yazgoo/blockish-caca
max_upload_size
id207563
size4,540,691
Olivier Abdesselam (yazgoo)

documentation

README

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
Commit count: 28

cargo fmt