kopia lustrzana https://github.com/TheRealOrange/terminalvideoplayer
update readme and added binary
rodzic
b639bad125
commit
8ab2db2335
|
@ -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)
|
Plik binarny nie jest wyświetlany.
Ładowanie…
Reference in New Issue