#video-player #video #player #unicode #libcaca

bin+lib blockish-caca

play videos in the terminal with unicode chars

5 releases

0.0.6 Oct 16, 2023
0.0.4 Oct 16, 2023
0.0.3 Oct 16, 2023
0.0.2 Feb 12, 2020
0.0.1 Feb 12, 2020

#2241 in Command line utilities


Used in youtube-subscriptions

MIT license

4.5MB
143 lines

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

Dependencies

~11–21MB
~263K SLoC