1
2
3KATEENC(1)                          libkate                         KATEENC(1)
4
5
6

NAME

8       kateenc - create Kate streams from text input
9
10

SYNOPSIS

12       kateenc [-hVM] [-o outfile] [-l language] [-c category] [-s serial] [-C
13       tag=value] [-R threshold] [-K threshold] -t filetype [ infile ]
14
15

DESCRIPTION

17       kateenc creates Kate streams from input files  (SubRip  SRT  subtitles,
18       LRC  lyrics, and libkate's custom description language).  When saved to
19       an Ogg stream (the default behavior), a Kate stream may then be  merged
20       with other Ogg streams (eg, a Theora video) using the oggz tools.
21
22

OPTIONS

24       -h     Show command line help.
25
26       -V     Show version information.
27
28       -M     Allow simple HTML-like markup in SRT files. If this parameter is
29              used, strings such as "<i>" will be interpreted to mean italics,
30              rather  than appear as such. Note that various players interpret
31              a slightly different set of HTML tags, and some do not.
32
33       -o outfile
34              Write the output Kate stream to the given file name  (writes  to
35              stdout if not specified).
36
37       -l language
38              Sets the language for the stream (default is the language speci‐
39              fied in the input, or none).
40
41       -c category
42              Sets the category for the stream (default is the category speci‐
43              fied in the input, or none).
44
45       -s serial
46              Sets  the  serial  number  for  the output Kate stream (does not
47              apply to raw streams).
48
49       -C tag=value
50              Adds a comment to encode into the output Kate stream.  The  com‐
51              ment  must  be of the form tag=value, and comply with the Vorbis
52              comment rules (eg, tag is composed of  a  particular  subset  of
53              ASCII characters, and value is valid UTF-8). Note that you might
54              have to escape or quote the comment for it to be seen as a  sin‐
55              gle command line parameter.
56
57       -t filetype
58              Specifies the type of the input (srt, lrc, kate)
59
60       -R threshold
61              Use repeat packets, with the given threshold (in seconds).  Data
62              packets will be repeated at intervals of roughly threshold  sec‐
63              onds, while active.
64
65       -K threshold
66              Use  keepalive  packets,  with the given threshold (in seconds).
67              Keepalive packets will be emitted when no other packet has  been
68              emitted for roughly threshold seconds.
69
70

EXAMPLES

72       Create a Kate stream for Welsh subtitles from a SubRip file:
73
74           kateenc -t srt -l cy -c SUB -o output.ogg input.srt
75
76

SEE ALSO

78       katedec(1), katalyzer(1)
79
80
81
82
83libkate 0.4.1                   13 october 2010                     KATEENC(1)
Impressum