KATEENC(1)
π KATEENC(1) π
okay bestie, welcome to the kateenc page, straight outta libkate β yes that's the manual name, we're keeping it, it's iconic π
β¨ NAME β¨
kateenc β create Kate streams from text input π
πΈ SYNOPSIS πΈ
kateenc [-hVM] [-o outfile] [-l language] [-c category] [-s serial] [-C
tag=value] [-R threshold] [-K threshold] -t filetype [ infile ]
π¦ DESCRIPTION π¦
so basically, kateenc makes Kate streams out of input files β we're talking SubRip SRT subtitles, LRC lyrics, and libkate's own custom description language. it's giving multilingual text-to-stream pipeline β¨
and when you save it to an Ogg stream (which is the default behavior, no cap), your Kate stream can then be merged with other Ogg streams (like, say, a Theora video, bestie) using the oggz tools. periodt π
π OPTIONS π
-hβ shows the command line help. you know, for when you're lost. π«Ά-Vβ shows version information. slay, know thyself. β-Mβ allows simple HTML-like markup in SRT files. if you use this, strings like"<i>"get interpreted as italics instead of justβ¦ appearing as the literal text<i>. lowkey important caveat though: various players interpret a slightly different set of HTML tags, and some don't interpret them at all. so vibe check your player first π-ooutfile β writes the output Kate stream to the given file name. if you don't specify it, it writes tostdout. classic. π-llanguage β sets the language for the stream. the default is whatever language was specified in the input, or none. β¨-ccategory β sets the category for the stream. default is the category specified in the input, or none. π-sserial β sets the serial number for the output Kate stream. note: this does not apply to raw streams, bestie π-Ctag=value β adds a comment to encode into the output Kate stream. it has to be of the formtag=valueand comply with the Vorbis comment rules (like,tagis composed of a particular subset of ASCII characters, andvalueis valid UTF-8). heads up: you might have to escape or quote the comment so it's seen as a single command line parameter π-tfiletype β specifies the type of the input (srt,lrc,kate) π-Rthreshold β use repeat packets, with the given threshold (in seconds). data packets get repeated at intervals of roughly threshold seconds, while active. π₯-Kthreshold β use keepalive packets, with the given threshold (in seconds). keepalive packets get emitted when no other packet has been emitted for roughly threshold seconds. π§
π EXAMPLES π
create a Kate stream for Welsh subtitles from a SubRip file:
kateenc -t srt -l cy -c SUB -o output.ogg input.srt
that's it. that's the whole vibe. ate π
π SEE ALSO π
okay that's the whole page bestie, mwah π«Ά this was libkate 0.4.3, dated 13 october 2010 β iconic era, no notes πβ¨π
π¦ where this page comes from
- arch rolling: libkate 0.4.3-4 Β· BSD-3-Clause
- debian trixie: libkate-tools 0.4.3-1 Β· BSD-3-Clause
- nixos 26.05: libkate 0.4.3
- nixpkgs unstable: libkate 0.4.3
- ubuntu stonking: libkate-tools 0.4.3-2 Β· BSD-3-Clause
- Copyright (C) 2008, 2009 Vincent Penquerc'h
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms