Tech News
← Back to articles

Movycat – A terminal movie player written in Zig

read original related products more articles

movycat

movycat plays videos directly in your terminal — in full RGB color. It renders frames as ANSI half block characters, using the movy rendering engine, with synced audio playback powered by SDL2.

It supports all formats that FFmpeg can decode — including .mp4 , .h264 , .avi , .mkv , .webm , and more.

Usage: movycat -f|-file [-w|-width ] [-h |-height ] [-a] movycat -help Options: -f ............ File to play -w, -h ........ Optional: dimensions of video output in pixels. The resulting output size always preserves the aspect ratio, and is truncated to the terminal size. -a ............ Optional: show video on alternate screen. This preserves your current terminal state. -help ......... Help. Show this help along with the movycat logo.

Press ESC to quit.

Press SPACE to pause.

Press CURSOR RIGHT to skip forward 5 seconds.

Press CURSOR LEFT to skip backwards 5 seconds.

Of course you can use vim keys instead of the cursor keys!

l to skip forwards, and h to skip backwards 5 seconds.

... continue reading