Print subtitles above a X-screen, independently of the video player.
Olivier Marty 697358c0e6 fix a warning | 8 éve | |
---|---|---|
LICENSE | 10 éve | |
Makefile | 9 éve | |
README.md | 9 éve | |
events.c | 8 éve | |
events.h | 9 éve | |
main.c | 9 éve | |
parser.c | 10 éve | |
parser.h | 10 éve | |
printer.c | 9 éve | |
printer.h | 9 éve | |
rich_text.c | 8 éve | |
rich_text.h | 9 éve | |
time.c | 8 éve | |
time.h | 9 éve |
Print subtitles above a X-screen, independently of the video player.
This program uses X11 to show subtitles.
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
To have transparency between subtitles, try to launch xcompmgr before subtitlesPrinter.
Run in a terminal
git clone https://github.com/OlivierMarty/SubtitlesPrinter.git
make
sudo make install
To show file.srt, run in a terminal :
subtitlesPrinter file.srt
To quit, press CTRL+C in the terminal. To pause and resume, press space anywhere (this does not work with all windows). To shift the clock, press left and right arrows.
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.