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

Olivier Marty 5c8e9a9d9b Correction on the skipped subtitles 9 years ago
LICENSE 5583893e74 Initial commit 10 years ago
Makefile ee39b59768 fix email 9 years ago
README.md 2d0f552e2a Add some parameters 9 years ago
main.c 5c8e9a9d9b Correction on the skipped subtitles 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 d291b37086 more attributes 9 years ago
time.c 5c8e9a9d9b Correction on the skipped subtitles 9 years ago
time.h 5c8e9a9d9b Correction on the skipped subtitles 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

Usage

To show file.srt, run in the installation directory :

./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.