Debian Codegraph @

doc/man/kateenc.1

raw
1 .\" Copyright (C) 2008, 2009 Vincent Penquerc'h.
2 .\" This file is part of the Kate codec library.
3 .\" Written by Vincent Penquerc'h.
4 .\"
5 .\" Use, distribution and reproduction of this library is governed
6 .\" by a BSD style source license included with this source in the
7 .\" file 'COPYING'. Please read these terms before distributing. */
8
9
10 .TH "KATEENC" 1 "13 october 2010" "libkate 0.4.3 "libkate documentation"
11
12 .SH NAME
13 kateenc \- create Kate streams from text input
14
15 .SH SYNOPSIS
16 .B kateenc
17 .B "[\-hVM]"
18 .BI "[\-o " outfile ]
19 .BI "[\-l " language ]
20 .BI "[\-c " category ]
21 .BI "[\-s " serial ]
22 .BI "[\-C " tag=value ]
23 .BI "[\-R " threshold ]
24 .BI "[\-K " threshold ]
25 .BI "\-t " filetype
26 [ infile ]
27
28 .SH DESCRIPTION
29 .B kateenc
30 creates Kate streams from input files (SubRip SRT subtitles, LRC lyrics, and libkate's custom description language).
31 When saved to an Ogg stream (the default behavior), a Kate stream may then be merged with other Ogg streams (eg, a
32 Theora video) using the oggz tools.
33
34 .SH OPTIONS
35 .TP
36 \fB\-h\fR
37 Show command line help.
38 .TP
39 \fB\-V\fR
40 Show version information.
41 .TP
42 \fB\-M\fR
43 Allow simple HTML-like markup in SRT files. If this parameter is used, strings such as "<i>"
44 will be interpreted to mean italics, rather than appear as such. Note that various players
45 interpret a slightly different set of HTML tags, and some do not.
46 .TP
47 \fB\-o\fR outfile
48 Write the output Kate stream to the given file name (writes to stdout if not specified).
49 .TP
50 \fB\-l\fR language
51 Sets the language for the stream (default is the language specified in the input, or none).
52 .TP
53 \fB\-c\fR category
54 Sets the category for the stream (default is the category specified in the input, or none).
55 .TP
56 \fB\-s\fR serial
57 Sets the serial number for the output Kate stream (does not apply to raw streams).
58 .TP
59 \fB\-C\fR tag=value
60 Adds a comment to encode into the output Kate stream. The comment must be of the form
61 tag=value, and comply with the Vorbis comment rules (eg, tag is composed of a particular
62 subset of ASCII characters, and value is valid UTF-8). Note that you might have to escape
63 or quote the comment for it to be seen as a single command line parameter.
64 .TP
65 \fB\-t\fR filetype
66 Specifies the type of the input (srt, lrc, kate)
67 .TP
68 \fB\-R\fR threshold
69 Use repeat packets, with the given threshold (in seconds).
70 Data packets will be repeated at intervals of roughly threshold seconds, while active.
71 .TP
72 \fB\-K\fR threshold
73 Use keepalive packets, with the given threshold (in seconds).
74 Keepalive packets will be emitted when no other packet has been emitted for roughly
75 threshold seconds.
76
77 .SH EXAMPLES
78
79 Create a Kate stream for Welsh subtitles from a SubRip file:
80
81 kateenc \-t srt \-l cy \-c SUB \-o output.ogg input.srt
82
83 .SH SEE ALSO
84 .PP
85 \fBkatedec\fR(1), \fBkatalyzer\fR(1)
86