- 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.
First, build the program with
cargo build --release
then run the program with
cargo run <video file>
Key | Action |
---|---|
Q |
Quit |
L |
Slow down by 2x |
J |
Speed up by 2x |
Space |
Pause |
demo1.mp4
Kurian Jojo |
Made with ❤ by GDSC-VIT