1
2
3KATEENC(1) libkate KATEENC(1)
4
5
6
8 kateenc - create Kate streams from text input
9
10
12 kateenc [-hVrM] [-o outfile] [-l language] [-c category] [-s serial]
13 [-C tag=value] [-R threshold] [-K threshold] -t filetype [ infile ]
14
15
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
24 -h Show command line help.
25
26 -V Show version information.
27
28 -r Write raw Kate streams (experimental) rather than Kate-in-Ogg.
29
30 -M Allow simple HTML-like markup in SRT files. If this parameter is
31 used, strings such as "<i>" will be interpreted to mean italics,
32 rather than appear as such. Note that various players interpret
33 a slightly different set of HTML tags, and some do not.
34
35 -o outfile
36 Write the output Kate stream to the given file name (writes to
37 stdout if not specified).
38
39 -l language
40 Sets the language for the stream (default is the language speci‐
41 fied in the input, or none).
42
43 -c category
44 Sets the category for the stream (default is the category speci‐
45 fied in the input, or none).
46
47 -s serial
48 Sets the serial number for the output Kate stream (does not
49 apply to raw streams).
50
51 -C tag=value
52 Adds a comment to encode into the output Kate stream. The com‐
53 ment must be of the form tag=value, and comply with the Vorbis
54 comment rules (eg, tag is composed of a particular subset of
55 ASCII characters, and value is valid UTF-8). Note that you might
56 have to escape or quote the comment for it to be seen as a sin‐
57 gle command line parameter.
58
59 -t filetype
60 Specifies the type of the input (srt, lrc, kate)
61
62 -R threshold
63 Use repeat packets, with the given threshold (in seconds). Data
64 packets will be repeated at intervals of roughly threshold sec‐
65 onds, while active.
66
67 -K threshold
68 Use keepalive packets, with the given threshold (in seconds).
69 Keepalive packets will be emitted when no other packet has been
70 emitted for roughly threshold seconds.
71
72
74 Create a Kate stream for Welsh subtitles from a SubRip file:
75
76 kateenc -t srt -l cy -c SUB -o output.ogg input.srt
77
78
80 katedec(1), katalyzer(1)
81
82
83
84
85libkate 0.3.7 14 november 2009 KATEENC(1)