update readme and added binary

pull/5/head
TheRealOrange 2022-02-22 13:34:07 +08:00
rodzic b639bad125
commit 8ab2db2335
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: E155025E350A1A4B
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -4,12 +4,18 @@ This is a cursed terminal video player. This improves on some previous designs b
Mileage may vary depending on how fast your terminal is. In my testing, I've found that [alacritty](https://github.com/alacritty/alacritty) works rather well.
```
```sh
.\tvp filename [threshold]
```
The threshold has to be an integer from 0 to 255, and defaults to 10. The threshold affects how much the colour of a certain pixel has to change before it will be redrawn. A lower threshold results in more redraws in most cases, and leads to choppy video.
Built on Manjaro with this command:
```sh
g++ src/main.cpp -O3 -o ./tvp `pkg-config --cflags --libs opencv4`
```
Below is a preview of how it looks:
![video playing in terminal](imgs/video.gif)

BIN
tvp 100755

Plik binarny nie jest wyświetlany.