Print subtitles above a X-screen, independently of the video player.
Olivier Marty af582b6e2c resize the window to fit the subtitle | 9 years ago | |
---|---|---|
LICENSE | 10 years ago | |
Makefile | 9 years ago | |
README.md | 9 years ago | |
main.c | 9 years ago | |
parser.c | 9 years ago | |
parser.h | 9 years ago | |
printer.c | 9 years ago | |
printer.h | 9 years ago | |
time.c | 9 years ago | |
time.h | 9 years ago |
Print subtitles above a X-screen, independently of the video player.
This program uses X11 to show subtitles. If you are using Windows you probably don't use X11, if you are using Linux you probably do.
Currently, this program support only .srt subtitles. Please check also there is no empty line at the beginning of the file, or some unprintable characters before the first "1". You can see the specs of this format here : http://matroska.org/technical/specs/subtitles/srt.html
Run in a terminal
git clone https://github.com/OlivierMarty/SubtitlesPrinter.git
make
To show file.srt, run in the installation directory :
./subtitlesPrinter file.srt
To quit, press CTRL+C in the terminal.
It is possible to skip x seconds, or to change the delay before starting. For other parameters and details see
./subtitlesPrinter -h
Every improvement is welcome !
This program is under GPLv2 licence, see LICENCE file for more details.