summaryrefslogtreecommitdiff
path: root/README.md
blob: c6736e4801336546880a8059c976e2fac4bc415b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
srt2vtt
=======

Convert SRT formatted subtitles to WebVTT format for use with the
HTML5 `<track>` tag.

Usage
-----

```
$ srt2vtt --help
Usage: srt2vtt [OPTIONS]
Convert SubRip formatted subtitles to WebVTT format.

  -h, --help             display this help and exit
  -v, --version          display version and exit
  -i, --input=FILE-NAME  read input from FILE-NAME
  -o, --output=FILE-NAME write output to FILE-NAME
```

If `--input` or `--output` is ommitted, read from stdin or stdout,
respectively.

Installation
------------

```
./bootstrap
./configure
make
make install
```

Alternatively, just copy `srt2vtt` yourself to wherever you would like
it.  Or, call it from your own git checkout.

Requirements
------------

* GNU Guile >= 2.0.5

License
-------

GNU GPLv3+