Print subtitles above a X-screen, independently of the video player.

Thibaut Marty 87b1f3972e add installation in Makefile (and update README.md) 9 years ago
LICENSE 5583893e74 Initial commit 10 years ago
Makefile 87b1f3972e add installation in Makefile (and update README.md) 9 years ago
README.md 87b1f3972e add installation in Makefile (and update README.md) 9 years ago
main.c c486f9dd38 merge factor 9 years ago
parser.c ee39b59768 fix email 9 years ago
parser.h ee39b59768 fix email 9 years ago
printer.c d291b37086 more attributes 9 years ago
printer.h 0496f34162 remove an obsolet comment 9 years ago
time.c c486f9dd38 merge factor 9 years ago
time.h c486f9dd38 merge factor 9 years ago

README.md

SubtitlesPrinter

Print subtitles above a X-screen, independently of the video player.

Requirement

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

Installation

Run in a terminal

git clone https://github.com/OlivierMarty/SubtitlesPrinter.git
make
sudo make install

Usage

To show file.srt, run in a terminal :

subtitlesPrinter file.srt

To quit, press CTRL+C in the terminal.

Optional arguments

It is possible to skip x seconds, or to change the delay before starting. For other parameters and details see

subtitlesPrinter -h

TODO

  • Manage some evenements, like pause, shift...
  • Support more type of file (with an extern library ?)
  • Use a larger, customizable font

Every improvement is welcome !

LICENSE

This program is under GPLv2 licence, see LICENCE file for more details.