| 1 |
.\" Copyright (C) 2008 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 "KATEDEC" 1 "01 september 2008" "libkate @VERSION@ "libkate documentation" |
| 11 |
|
| 12 |
.SH NAME |
| 13 |
katedec \- decodes Kate streams to a textual description |
| 14 |
|
| 15 |
.SH SYNOPSIS |
| 16 |
.B katedec |
| 17 |
.B "[\-hVv]" |
| 18 |
.BI "[\-o " outfile ] |
| 19 |
.BI "[\-t " type ] |
| 20 |
[ infile ] |
| 21 |
|
| 22 |
.SH DESCRIPTION |
| 23 |
.B katedec |
| 24 |
decodes Kate streams to libkate's custom description language. |
| 25 |
|
| 26 |
.SH OPTIONS |
| 27 |
.TP |
| 28 |
\fB\-h\fR |
| 29 |
Show command line help. |
| 30 |
.TP |
| 31 |
\fB\-V\fR |
| 32 |
Show version information. |
| 33 |
.TP |
| 34 |
\fB\-v\fR |
| 35 |
Increase verbosity. |
| 36 |
.TP |
| 37 |
\fB\-o\fR outfile |
| 38 |
Write the output description file to the given file name (writes to stdout if not specified). |
| 39 |
It is possible to write to multiple files (eg, if the input contains several Kate streams) |
| 40 |
by passing printf style formatting tags in the filename. Formatting tags are strings starting |
| 41 |
with a '%' character, followed by the tag itself. Known tags are: |
| 42 |
% replaced by a verbatim % character |
| 43 |
l replaced by the stream language |
| 44 |
c replaced by the stream category |
| 45 |
s replaced by the stream serial number, in hexadecimal format |
| 46 |
i replaced by the index of the stream in the input file, starting from 0 |
| 47 |
|
| 48 |
.TP |
| 49 |
\fB\-t\fR type |
| 50 |
Set the output format type: |
| 51 |
kate: Kate description format |
| 52 |
srt: SubRip format (non text information will be lost) |
| 53 |
|
| 54 |
.SH EXAMPLES |
| 55 |
|
| 56 |
Decodes a Kate stream to a textual description: |
| 57 |
|
| 58 |
katedec \-o output.kate input.ogg |
| 59 |
|
| 60 |
Decodes several multiplexed Kate streams to SubRip files: |
| 61 |
|
| 62 |
katedec \-t srt \-o output.%l.kate input.ogg |
| 63 |
|
| 64 |
.SH SEE ALSO |
| 65 |
.PP |
| 66 |
\fBkateenc\fR(1), \fBkatalyzer\fR(1) |
| 67 |
|