Debian Codegraph @

examples/README

raw
1 This is a list of the examples in this directory.
2
3 Type `make kate-streams' to build them to Ogg/Kate streams.
4
5 Type `make streams' to build them to Ogg/Kate streams interleaved with
6 video. This needs a Theora stream named video.theora.ogg in the base
7 directory (symlink any Theora stream to it, 640x480 size should be fine,
8 a dark background is suggested). This also needs either oggz_tools, or
9 a patch oggmerge (from ogg-tools). Both of these packages can be found
10 at the Xiph website: http://www.xiph.org/.
11
12 Built streams are placed in the built-streams directory.
13
14 Several players can play the resulting streams, though most will need
15 patching. Out of the box, only VLC can play Kate streams, though only
16 simple text and SPU based streams are supported by VLC. For full
17 featured playback, either the Tiger GStreamer element or liboggplay
18 are recommended, though none are committed upstream yet. Another option
19 is to patch xine. The patch for xine is also in the diffs directory.
20
21 The katedec Kate decoder (found in the tools subdirectory) can decode
22 a stream back to a form that may be used again as input to the encoder
23 (though information like macros, etc, will be lost - it is a bit like
24 getting preprocessed C code - you get the raw code).
25
26
27 minimal.kate
28 very simple text only stream, no styles, only timing information
29
30 karaoke.kate
31 bare bones karaoke-like example, a marker moves above the text,
32 and text color change with time.
33
34 unicode.kate
35 texts in various scripts - needs fonts with characters from several
36 planes in unicode space
37
38 demo.kate
39 shows various effects that one can achieve using kate features
40
41 path.kate
42 shows how to use text paths
43
44 bom.kate
45 a simple example using a BOM (byte order mark)
46
47 markup.kate
48 text includes simple in band markup
49
50 font.kate
51 shows how to use bitmaps as a custom font
52
53 empty.kate
54 nothing in it, should build as an empty stream
55
56 utf8test.kate
57 test utf-8 read/write routines with code points around interesting places
58
59 kate.kate
60 demonstrates the draw motion semantics
61
62 z.kate
63 changes the depth of two texts so they change draw priority
64
65 metadata.kate
66 demonstrates attaching metadata to various objects
67