Skip to content

GDGVIT/ascii-flix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDSC VIT

AsciiFlix

AsciiFlix

Play videos in the terminal


Join Us Discord Chat

DOCS UI

Description

  • This video player uses opencv to convert frames of a video to text in real time.
  • There are two threads, one to encode each frame into text, and another to display each frame at the right fps.
  • It uses a std::mpsc::sync_channel to communicate between the threads.

Running

First, build the program with

cargo build --release

then run the program with

cargo run <video file>

Controls

Key Action
Q Quit
Left_arrow_key Slow down by 2x
Right_arrow_key Speed up by 2x
Space Pause

Demo

demo1.mp4

Contributors

Kurian Jojo

Kurian Jojo

GitHub LinkedIn

Made with ❤ by GDSC-VIT