| 1 |
libkate |
| 2 |
======= |
| 3 |
|
| 4 |
a library for encoding and decoding Kate streams |
| 5 |
|
| 6 |
This is libkate, the reference implementation of a codec for the Kate |
| 7 |
bitstream format. |
| 8 |
|
| 9 |
Kate is a karaoke and text codec meant for encapsulation in an Ogg |
| 10 |
container. It can carry Unicode text, images, and animate them. |
| 11 |
Arbitrary timed metadata can be included as well. |
| 12 |
|
| 13 |
Kate is meant to be used for karaoke alongside audio/video streams |
| 14 |
(typically Vorbis and Theora), movie subtitles, song lyrics, and |
| 15 |
anything that needs text data at arbitrary time intervals. |
| 16 |
|
| 17 |
The latest version of libkate can be found at: |
| 18 |
|
| 19 |
https://gitlab.xiph.org/xiph/kate/ |
| 20 |
|
| 21 |
More information can be found at the xiph wiki: |
| 22 |
|
| 23 |
https://wiki.xiph.org/index.php/OggKate |
| 24 |
|
| 25 |
A Git repository can be found at: |
| 26 |
|
| 27 |
https://gitlab.xiph.org/xiph/kate/ |
| 28 |
|
| 29 |
libtiger, a rendering library for Kate streams using Pango and Cairo, |
| 30 |
is at: |
| 31 |
|
| 32 |
https://code.google.com/archive/p/libtiger/downloads |
| 33 |
|
| 34 |
For build instructions, see INSTALL. |
| 35 |
|
| 36 |
A sample encoder and decoder are included in this distribution, in the |
| 37 |
tools directory. |
| 38 |
|
| 39 |
To encode a Kate stream from a kate text file: |
| 40 |
|
| 41 |
$ kateenc -t kate -o output.kate.ogg input.kate |
| 42 |
|
| 43 |
|
| 44 |
To encode a Kate stream from a SubRip (.srt) format file: |
| 45 |
|
| 46 |
$ katedec -t srt -o output.kate.ogg input.srt |
| 47 |
|
| 48 |
To decode a Kate stream: |
| 49 |
|
| 50 |
$ katedec -o output.kate input.kate.ogg |
| 51 |
|
| 52 |
In addition, two more tools are available: |
| 53 |
|
| 54 |
* katalyzer displays various information about Kate streams. |
| 55 |
|
| 56 |
* KateDJ is a GUI remixing program for Kate streams in Ogg. It uses |
| 57 |
wxPython, a set of Python bindings for wxWidgets, which might not |
| 58 |
be universally available. KateDJ also depends on the oggz tools, |
| 59 |
available from www.annodex.net. |
| 60 |
|
| 61 |
For more info on those tools, see the man pages in the doc/man |
| 62 |
directory. |
| 63 |
|
| 64 |
VLC 1.0 can decode and display basic text and SPU based Kate streams, |
| 65 |
and can display any Kate stream if compiled with libtiger. I have |
| 66 |
preliminary support for Kate streams for MPlayer, xine, and GStreamer |
| 67 |
(and thus all players that rely on them for decoding), which will be |
| 68 |
contributed to those projects once the Kate bitstream format is |
| 69 |
stable. The current diffs for those can be found in the diffs |
| 70 |
directory. See the README in the diffs directory for more information |
| 71 |
on those patches. NOTE: the diffs tree is not shipped in the tarballs |
| 72 |
anymore, it is now only available in the git tree. |
| 73 |
|
| 74 |
|
| 75 |
This distribution is Copyright (C) 2008 Vincent Penquerc'h. |
| 76 |
|
| 77 |
Use, distribution and reproduction of this library is governed |
| 78 |
by a BSD style source license included with this source in the |
| 79 |
file 'COPYING'. Please read these terms before distributing. |
| 80 |
|