Terminal video viewer. Use a program like tiv (Terminal image viewer) to show a video in a terminal.
I thanks a lot Stefan Haustein for his programm : https://github.com/stefanhaustein/TerminalImageViewer.
- cv2
- argparse
pip install --user cv2
pip install --user argparse
- tiv
Follow this tutorial: https://github.com/stefanhaustein/TerminalImageViewer
usage: tiv-video [-h] [--tiv TIV] [--tmp TMP] [--sys-mode] vid
Read and show a video in a terminal, default args in config.py
required arguments:
vid video file
optional arguments:
--tiv TIV tiv programm, default: /usr/local/bin/tiv
--tmp TMP tmp file, default: /tmp/__tivid__.jpg
--sys-mode if it is not working try with this mode
- Press space to play/pause
- Press q or esc to quit
- Experimental:
- Press right arrow to speed up x2
- Press left arrow to put the normal speed
- Add more features
- Change speed in Runtime
- Backward
- Play sound :p